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 wxStandardPaths
*StandardPaths_Get(){
1765 return (wxStandardPaths
*) &wxStandardPaths::Get();
1767 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1768 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1772 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1776 PyObject
* obj0
= 0 ;
1778 (char *) "index", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1782 arg1
= (int)SWIG_As_int(obj0
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 if (!wxPyCheckForApp()) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1793 wxColour
* resultptr
;
1794 resultptr
= new wxColour((wxColour
&) result
);
1795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1803 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1807 PyObject
* obj0
= 0 ;
1809 (char *) "index", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1813 arg1
= (int)SWIG_As_int(obj0
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 if (!wxPyCheckForApp()) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1825 resultptr
= new wxFont((wxFont
&) result
);
1826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1834 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "index", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1844 arg1
= (int)SWIG_As_int(obj0
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 if (!wxPyCheckForApp()) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 resultobj
= SWIG_From_int((int)result
);
1861 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "index", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1871 arg1
= (int)SWIG_As_int(obj0
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 if (!wxPyCheckForApp()) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1890 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1899 if (!wxPyCheckForApp()) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= (int)wxSystemSettings::GetScreenType();
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 resultobj
= SWIG_From_int((int)result
);
1913 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "screen", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1922 arg1
= (int)SWIG_As_int(obj0
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 if (!wxPyCheckForApp()) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1942 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1944 return Py_BuildValue((char *)"");
1946 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1947 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1952 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1957 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1959 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1966 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxSystemOptions
*result
;
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 result
= (wxSystemOptions
*)new wxSystemOptions();
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1988 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxString
*arg1
= 0 ;
1991 wxString
*arg2
= 0 ;
1992 bool temp1
= false ;
1993 bool temp2
= false ;
1994 PyObject
* obj0
= 0 ;
1995 PyObject
* obj1
= 0 ;
1997 (char *) "name",(char *) "value", NULL
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2002 arg1
= wxString_in_helper(obj0
);
2003 if (arg1
== NULL
) SWIG_fail
;
2007 arg2
= wxString_in_helper(obj1
);
2008 if (arg2
== NULL
) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxString
*arg1
= 0 ;
2045 bool temp1
= false ;
2046 PyObject
* obj0
= 0 ;
2047 PyObject
* obj1
= 0 ;
2049 (char *) "name",(char *) "value", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2054 arg1
= wxString_in_helper(obj0
);
2055 if (arg1
== NULL
) SWIG_fail
;
2058 arg2
= (int)SWIG_As_int(obj1
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 Py_INCREF(Py_None
); resultobj
= Py_None
;
2082 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxString
*arg1
= 0 ;
2086 bool temp1
= false ;
2087 PyObject
* obj0
= 0 ;
2089 (char *) "name", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2094 arg1
= wxString_in_helper(obj0
);
2095 if (arg1
== NULL
) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2126 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxString
*arg1
= 0 ;
2130 bool temp1
= false ;
2131 PyObject
* obj0
= 0 ;
2133 (char *) "name", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2138 arg1
= wxString_in_helper(obj0
);
2139 if (arg1
== NULL
) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= SWIG_From_int((int)result
);
2164 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxString
*arg1
= 0 ;
2168 bool temp1
= false ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "name", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2176 arg1
= wxString_in_helper(obj0
);
2177 if (arg1
== NULL
) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2204 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2207 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2209 return Py_BuildValue((char *)"");
2211 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2212 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2217 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2222 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2224 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2231 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2232 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2237 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2242 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2244 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2251 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2252 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2257 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2262 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2264 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2271 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 result
= (long)wxNewId();
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 resultobj
= SWIG_From_long((long)result
);
2293 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2296 PyObject
* obj0
= 0 ;
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2302 arg1
= (long)SWIG_As_long(obj0
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (long)wxGetCurrentId();
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 resultobj
= SWIG_From_long((long)result
);
2340 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2344 PyObject
* obj0
= 0 ;
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2350 arg1
= (int)SWIG_As_int(obj0
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 result
= (bool)wxIsStockID(arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2368 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2371 wxString
*arg2
= 0 ;
2373 bool temp2
= false ;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2377 (char *) "id",(char *) "label", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2381 arg1
= (int)SWIG_As_int(obj0
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 arg2
= wxString_in_helper(obj1
);
2385 if (arg2
== NULL
) SWIG_fail
;
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2412 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2416 PyObject
* obj0
= 0 ;
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2422 arg1
= (int)SWIG_As_int(obj0
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 result
= wxGetStockLabel(arg1
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2444 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2452 if (!wxPyCheckForApp()) SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2459 Py_INCREF(Py_None
); resultobj
= Py_None
;
2466 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2474 if (!wxPyCheckForApp()) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2488 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 bool arg1
= (bool) true ;
2492 PyObject
* obj0
= 0 ;
2494 (char *) "resetTimer", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2499 arg1
= (bool)SWIG_As_bool(obj0
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 result
= (long)wxGetElapsedTime(arg1
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 resultobj
= SWIG_From_long((long)result
);
2516 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 int *arg1
= (int *) 0 ;
2519 int *arg2
= (int *) 0 ;
2528 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2529 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2532 if (!wxPyCheckForApp()) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 wxGetMousePosition(arg1
,arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2541 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2542 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2543 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2550 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 result
= (bool)wxIsBusy();
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2574 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2602 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2605 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2607 bool temp1
= false ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "command", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2616 arg1
= wxString_in_helper(obj0
);
2617 if (arg1
== NULL
) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (bool)wxShell((wxString
const &)*arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2645 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 Py_INCREF(Py_None
); resultobj
= Py_None
;
2666 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 int *arg1
= (int *) 0 ;
2669 int *arg2
= (int *) 0 ;
2679 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2680 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= (int)wxGetOsVersion(arg1
,arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= SWIG_From_int((int)result
);
2690 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2691 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2692 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2693 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2700 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= wxGetOsDescription();
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2728 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (long)wxGetFreeMemory();
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 resultobj
= SWIG_From_long((long)result
);
2750 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2754 PyObject
* obj0
= 0 ;
2756 (char *) "wFlags", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2760 arg1
= (int)SWIG_As_int(obj0
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2763 if (!wxPyCheckForApp()) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2779 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2782 PyObject
* obj0
= 0 ;
2784 (char *) "secs", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2788 arg1
= (int)SWIG_As_int(obj0
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 Py_INCREF(Py_None
); resultobj
= Py_None
;
2804 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 unsigned long arg1
;
2807 PyObject
* obj0
= 0 ;
2809 (char *) "milliseconds", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2813 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2822 Py_INCREF(Py_None
); resultobj
= Py_None
;
2829 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 unsigned long arg1
;
2832 PyObject
* obj0
= 0 ;
2834 (char *) "microseconds", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2838 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 Py_INCREF(Py_None
); resultobj
= Py_None
;
2854 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
;
2857 PyObject
* obj0
= 0 ;
2859 (char *) "enable", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2863 arg1
= (bool)SWIG_As_bool(obj0
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 wxEnableTopLevelWindows(arg1
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 Py_INCREF(Py_None
); resultobj
= Py_None
;
2879 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxString
*arg1
= 0 ;
2883 bool temp1
= false ;
2884 PyObject
* obj0
= 0 ;
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2891 arg1
= wxString_in_helper(obj0
);
2892 if (arg1
== NULL
) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2923 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= wxGetEmailAddress();
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2951 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= wxGetHostName();
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2979 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= wxGetFullHostName();
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3007 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= wxGetUserId();
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3035 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 result
= wxGetUserName();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3063 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= wxGetHomeDir();
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3091 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3094 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3096 bool temp1
= false ;
3097 PyObject
* obj0
= 0 ;
3099 (char *) "user", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3105 arg1
= wxString_in_helper(obj0
);
3106 if (arg1
== NULL
) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= wxGetUserHome((wxString
const &)*arg1
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3138 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 unsigned long result
;
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (unsigned long)wxGetProcessId();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3160 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3184 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3185 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3186 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3189 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3191 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3192 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3193 int arg6
= (int) 0 ;
3194 wxWindow
*arg7
= (wxWindow
*) NULL
;
3195 int arg8
= (int) -1 ;
3196 int arg9
= (int) -1 ;
3198 bool temp1
= false ;
3199 bool temp2
= false ;
3200 bool temp3
= false ;
3201 bool temp4
= false ;
3202 bool temp5
= false ;
3203 PyObject
* obj0
= 0 ;
3204 PyObject
* obj1
= 0 ;
3205 PyObject
* obj2
= 0 ;
3206 PyObject
* obj3
= 0 ;
3207 PyObject
* obj4
= 0 ;
3208 PyObject
* obj5
= 0 ;
3209 PyObject
* obj6
= 0 ;
3210 PyObject
* obj7
= 0 ;
3211 PyObject
* obj8
= 0 ;
3213 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3219 arg1
= wxString_in_helper(obj0
);
3220 if (arg1
== NULL
) SWIG_fail
;
3226 arg2
= wxString_in_helper(obj1
);
3227 if (arg2
== NULL
) SWIG_fail
;
3233 arg3
= wxString_in_helper(obj2
);
3234 if (arg3
== NULL
) SWIG_fail
;
3240 arg4
= wxString_in_helper(obj3
);
3241 if (arg4
== NULL
) SWIG_fail
;
3247 arg5
= wxString_in_helper(obj4
);
3248 if (arg5
== NULL
) SWIG_fail
;
3253 arg6
= (int)SWIG_As_int(obj5
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3261 arg8
= (int)SWIG_As_int(obj7
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 arg9
= (int)SWIG_As_int(obj8
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 if (!wxPyCheckForApp()) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3329 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxString
*arg1
= 0 ;
3332 wxString
*arg2
= 0 ;
3333 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3334 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3335 wxWindow
*arg4
= (wxWindow
*) NULL
;
3337 bool temp1
= false ;
3338 bool temp2
= false ;
3339 bool temp3
= false ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3342 PyObject
* obj2
= 0 ;
3343 PyObject
* obj3
= 0 ;
3345 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3350 arg1
= wxString_in_helper(obj0
);
3351 if (arg1
== NULL
) SWIG_fail
;
3355 arg2
= wxString_in_helper(obj1
);
3356 if (arg2
== NULL
) SWIG_fail
;
3361 arg3
= wxString_in_helper(obj2
);
3362 if (arg3
== NULL
) SWIG_fail
;
3367 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3371 if (!wxPyCheckForApp()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3415 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxString
*arg1
= 0 ;
3418 wxString
*arg2
= 0 ;
3419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3421 wxWindow
*arg4
= (wxWindow
*) NULL
;
3423 bool temp1
= false ;
3424 bool temp2
= false ;
3425 bool temp3
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3431 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3436 arg1
= wxString_in_helper(obj0
);
3437 if (arg1
== NULL
) SWIG_fail
;
3441 arg2
= wxString_in_helper(obj1
);
3442 if (arg2
== NULL
) SWIG_fail
;
3447 arg3
= wxString_in_helper(obj2
);
3448 if (arg3
== NULL
) SWIG_fail
;
3453 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3457 if (!wxPyCheckForApp()) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3501 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3504 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3505 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3506 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3507 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3510 wxWindow
*arg5
= (wxWindow
*) NULL
;
3512 bool temp1
= false ;
3513 bool temp2
= false ;
3515 PyObject
* obj0
= 0 ;
3516 PyObject
* obj1
= 0 ;
3517 PyObject
* obj2
= 0 ;
3518 PyObject
* obj3
= 0 ;
3519 PyObject
* obj4
= 0 ;
3521 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3527 arg1
= wxString_in_helper(obj0
);
3528 if (arg1
== NULL
) SWIG_fail
;
3534 arg2
= wxString_in_helper(obj1
);
3535 if (arg2
== NULL
) SWIG_fail
;
3540 arg3
= (long)SWIG_As_long(obj2
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3550 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3554 if (!wxPyCheckForApp()) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3590 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxString
*arg1
= 0 ;
3593 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3594 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3595 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3596 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3597 wxWindow
*arg4
= (wxWindow
*) NULL
;
3598 int arg5
= (int) -1 ;
3599 int arg6
= (int) -1 ;
3600 bool arg7
= (bool) true ;
3602 bool temp1
= false ;
3603 bool temp2
= false ;
3604 bool temp3
= false ;
3605 PyObject
* obj0
= 0 ;
3606 PyObject
* obj1
= 0 ;
3607 PyObject
* obj2
= 0 ;
3608 PyObject
* obj3
= 0 ;
3609 PyObject
* obj4
= 0 ;
3610 PyObject
* obj5
= 0 ;
3611 PyObject
* obj6
= 0 ;
3613 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3618 arg1
= wxString_in_helper(obj0
);
3619 if (arg1
== NULL
) SWIG_fail
;
3624 arg2
= wxString_in_helper(obj1
);
3625 if (arg2
== NULL
) SWIG_fail
;
3631 arg3
= wxString_in_helper(obj2
);
3632 if (arg3
== NULL
) SWIG_fail
;
3637 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3641 arg5
= (int)SWIG_As_int(obj4
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3645 arg6
= (int)SWIG_As_int(obj5
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3649 arg7
= (bool)SWIG_As_bool(obj6
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3653 if (!wxPyCheckForApp()) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3697 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxString
*arg1
= 0 ;
3700 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3701 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3704 wxWindow
*arg4
= (wxWindow
*) NULL
;
3706 bool temp1
= false ;
3707 bool temp2
= false ;
3708 bool temp3
= false ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3712 PyObject
* obj3
= 0 ;
3714 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3719 arg1
= wxString_in_helper(obj0
);
3720 if (arg1
== NULL
) SWIG_fail
;
3725 arg2
= wxString_in_helper(obj1
);
3726 if (arg2
== NULL
) SWIG_fail
;
3732 arg3
= wxString_in_helper(obj2
);
3733 if (arg3
== NULL
) SWIG_fail
;
3738 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3742 if (!wxPyCheckForApp()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3786 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxString
*arg1
= 0 ;
3789 wxString
*arg2
= 0 ;
3791 wxString
*arg4
= (wxString
*) 0 ;
3792 wxWindow
*arg5
= (wxWindow
*) NULL
;
3793 int arg6
= (int) -1 ;
3794 int arg7
= (int) -1 ;
3795 bool arg8
= (bool) true ;
3796 int arg9
= (int) 150 ;
3797 int arg10
= (int) 200 ;
3799 bool temp1
= false ;
3800 bool temp2
= false ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3805 PyObject
* obj4
= 0 ;
3806 PyObject
* obj5
= 0 ;
3807 PyObject
* obj6
= 0 ;
3808 PyObject
* obj7
= 0 ;
3809 PyObject
* obj8
= 0 ;
3811 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3816 arg1
= wxString_in_helper(obj0
);
3817 if (arg1
== NULL
) SWIG_fail
;
3821 arg2
= wxString_in_helper(obj1
);
3822 if (arg2
== NULL
) SWIG_fail
;
3826 arg3
= PyList_Size(obj2
);
3827 arg4
= wxString_LIST_helper(obj2
);
3828 if (arg4
== NULL
) SWIG_fail
;
3831 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 arg6
= (int)SWIG_As_int(obj4
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3839 arg7
= (int)SWIG_As_int(obj5
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 arg8
= (bool)SWIG_As_bool(obj6
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 arg9
= (int)SWIG_As_int(obj7
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 arg10
= (int)SWIG_As_int(obj8
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3855 if (!wxPyCheckForApp()) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3878 if (arg4
) delete [] arg4
;
3891 if (arg4
) delete [] arg4
;
3897 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxString
*arg1
= 0 ;
3900 wxString
*arg2
= 0 ;
3902 wxString
*arg4
= (wxString
*) 0 ;
3903 wxWindow
*arg5
= (wxWindow
*) NULL
;
3904 int arg6
= (int) -1 ;
3905 int arg7
= (int) -1 ;
3906 bool arg8
= (bool) true ;
3907 int arg9
= (int) 150 ;
3908 int arg10
= (int) 200 ;
3910 bool temp1
= false ;
3911 bool temp2
= false ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3914 PyObject
* obj2
= 0 ;
3915 PyObject
* obj3
= 0 ;
3916 PyObject
* obj4
= 0 ;
3917 PyObject
* obj5
= 0 ;
3918 PyObject
* obj6
= 0 ;
3919 PyObject
* obj7
= 0 ;
3920 PyObject
* obj8
= 0 ;
3922 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3927 arg1
= wxString_in_helper(obj0
);
3928 if (arg1
== NULL
) SWIG_fail
;
3932 arg2
= wxString_in_helper(obj1
);
3933 if (arg2
== NULL
) SWIG_fail
;
3937 arg3
= PyList_Size(obj2
);
3938 arg4
= wxString_LIST_helper(obj2
);
3939 if (arg4
== NULL
) SWIG_fail
;
3942 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3946 arg6
= (int)SWIG_As_int(obj4
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 arg7
= (int)SWIG_As_int(obj5
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 arg8
= (bool)SWIG_As_bool(obj6
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3958 arg9
= (int)SWIG_As_int(obj7
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 arg10
= (int)SWIG_As_int(obj8
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3966 if (!wxPyCheckForApp()) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= SWIG_From_int((int)result
);
3983 if (arg4
) delete [] arg4
;
3996 if (arg4
) delete [] arg4
;
4002 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxString
*arg1
= 0 ;
4005 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4006 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4007 int arg3
= (int) wxOK
|wxCENTRE
;
4008 wxWindow
*arg4
= (wxWindow
*) NULL
;
4009 int arg5
= (int) -1 ;
4010 int arg6
= (int) -1 ;
4012 bool temp1
= false ;
4013 bool temp2
= false ;
4014 PyObject
* obj0
= 0 ;
4015 PyObject
* obj1
= 0 ;
4016 PyObject
* obj2
= 0 ;
4017 PyObject
* obj3
= 0 ;
4018 PyObject
* obj4
= 0 ;
4019 PyObject
* obj5
= 0 ;
4021 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4026 arg1
= wxString_in_helper(obj0
);
4027 if (arg1
== NULL
) SWIG_fail
;
4032 arg2
= wxString_in_helper(obj1
);
4033 if (arg2
== NULL
) SWIG_fail
;
4038 arg3
= (int)SWIG_As_int(obj2
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4046 arg5
= (int)SWIG_As_int(obj4
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 arg6
= (int)SWIG_As_int(obj5
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 if (!wxPyCheckForApp()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_From_int((int)result
);
4084 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxString
*arg1
= 0 ;
4087 wxString
*arg2
= 0 ;
4088 wxString
*arg3
= 0 ;
4090 long arg5
= (long) 0 ;
4091 long arg6
= (long) 100 ;
4092 wxWindow
*arg7
= (wxWindow
*) NULL
;
4093 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4094 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4096 bool temp1
= false ;
4097 bool temp2
= false ;
4098 bool temp3
= false ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4102 PyObject
* obj2
= 0 ;
4103 PyObject
* obj3
= 0 ;
4104 PyObject
* obj4
= 0 ;
4105 PyObject
* obj5
= 0 ;
4106 PyObject
* obj6
= 0 ;
4107 PyObject
* obj7
= 0 ;
4109 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4114 arg1
= wxString_in_helper(obj0
);
4115 if (arg1
== NULL
) SWIG_fail
;
4119 arg2
= wxString_in_helper(obj1
);
4120 if (arg2
== NULL
) SWIG_fail
;
4124 arg3
= wxString_in_helper(obj2
);
4125 if (arg3
== NULL
) SWIG_fail
;
4128 arg4
= (long)SWIG_As_long(obj3
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 arg5
= (long)SWIG_As_long(obj4
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 arg6
= (long)SWIG_As_long(obj5
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4149 if (!wxPyCheckForApp()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_From_long((long)result
);
4187 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4196 if (!wxPyCheckForApp()) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (bool)wxColourDisplay();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4212 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4221 if (!wxPyCheckForApp()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (int)wxDisplayDepth();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_From_int((int)result
);
4235 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4244 if (!wxPyCheckForApp()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (int)wxGetDisplayDepth();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_From_int((int)result
);
4258 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 int *arg1
= (int *) 0 ;
4261 int *arg2
= (int *) 0 ;
4270 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4271 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4274 if (!wxPyCheckForApp()) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 wxDisplaySize(arg1
,arg2
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 Py_INCREF(Py_None
); resultobj
= Py_None
;
4282 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4283 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4284 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4285 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4292 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4301 if (!wxPyCheckForApp()) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 result
= wxGetDisplaySize();
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4310 resultptr
= new wxSize((wxSize
&) result
);
4311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4319 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 int *arg1
= (int *) 0 ;
4322 int *arg2
= (int *) 0 ;
4331 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4332 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4335 if (!wxPyCheckForApp()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxDisplaySizeMM(arg1
,arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4344 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4345 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4346 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4353 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4362 if (!wxPyCheckForApp()) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= wxGetDisplaySizeMM();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4371 resultptr
= new wxSize((wxSize
&) result
);
4372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4380 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 int *arg1
= (int *) 0 ;
4383 int *arg2
= (int *) 0 ;
4384 int *arg3
= (int *) 0 ;
4385 int *arg4
= (int *) 0 ;
4398 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4399 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4400 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4401 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4404 if (!wxPyCheckForApp()) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4413 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4414 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4415 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4416 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4417 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4418 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4419 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4426 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4435 if (!wxPyCheckForApp()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= wxGetClientDisplayRect();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4444 resultptr
= new wxRect((wxRect
&) result
);
4445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4453 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxCursor
*arg1
= 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "cursor", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4466 PyErr_SetString(PyExc_TypeError
,"null reference");
4470 if (!wxPyCheckForApp()) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 Py_INCREF(Py_None
); resultobj
= Py_None
;
4484 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4487 PyObject
* obj0
= 0 ;
4489 (char *) "cursor", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4498 if (!wxPyCheckForApp()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 wxBeginBusyCursor(arg1
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4521 if (!wxPyCheckForApp()) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 result
= (wxWindow
*)wxGetActiveWindow();
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= wxPyMake_wxObject(result
, 0);
4537 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4542 PyObject
* obj0
= 0 ;
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4550 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4553 if (!wxPyCheckForApp()) SWIG_fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= wxPyMake_wxObject(result
, 0);
4569 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4574 PyObject
* obj0
= 0 ;
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4582 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4585 if (!wxPyCheckForApp()) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= wxPyMake_wxObject(result
, 0);
4601 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxWindow
*arg1
= (wxWindow
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "win", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4614 if (!wxPyCheckForApp()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= wxPyMake_wxObject(result
, 0);
4630 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4634 PyObject
* obj0
= 0 ;
4636 (char *) "key", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4640 arg1
= (int)SWIG_As_int(obj0
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 if (!wxPyCheckForApp()) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4667 if (!wxPyCheckForApp()) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 wxWakeUpMainThread();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 Py_INCREF(Py_None
); resultobj
= Py_None
;
4681 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4689 if (!wxPyCheckForApp()) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 Py_INCREF(Py_None
); resultobj
= Py_None
;
4703 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
;
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4711 if (!wxPyCheckForApp()) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4725 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxMutexGuiLocker
*result
;
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4734 if (!wxPyCheckForApp()) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4748 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 Py_INCREF(Py_None
); resultobj
= Py_None
;
4773 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4778 return Py_BuildValue((char *)"");
4780 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (bool)wxThread_IsMain();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxString
*arg1
= 0 ;
4808 bool temp1
= false ;
4809 PyObject
* obj0
= 0 ;
4811 (char *) "tip", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4816 arg1
= wxString_in_helper(obj0
);
4817 if (arg1
== NULL
) SWIG_fail
;
4821 if (!wxPyCheckForApp()) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= wxPyMake_wxObject(result
, 1);
4845 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4848 wxString
*arg2
= 0 ;
4849 bool temp2
= false ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4853 (char *) "self",(char *) "tip", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 arg2
= wxString_in_helper(obj1
);
4861 if (arg2
== NULL
) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 (arg1
)->SetTip((wxString
const &)*arg2
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 Py_INCREF(Py_None
); resultobj
= Py_None
;
4886 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (arg1
)->GetTip();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4918 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4924 (char *) "self", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (wxWindow
*)(arg1
)->GetWindow();
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= wxPyMake_wxObject(result
, 0);
4946 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "flag", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4955 arg1
= (bool)SWIG_As_bool(obj0
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 wxToolTip::Enable(arg1
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "milliseconds", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4980 arg1
= (long)SWIG_As_long(obj0
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxToolTip::SetDelay(arg1
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 Py_INCREF(Py_None
); resultobj
= Py_None
;
4996 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4999 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5001 return Py_BuildValue((char *)"");
5003 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxWindow
*arg1
= (wxWindow
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5012 (char *) "window",(char *) "size", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5023 if (!wxPyCheckForApp()) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5037 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxCaret
*arg1
= (wxCaret
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxCaret
*arg1
= (wxCaret
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (bool)(arg1
)->IsOk();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5090 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxCaret
*arg1
= (wxCaret
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (bool)(arg1
)->IsVisible();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5118 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxCaret
*arg1
= (wxCaret
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5124 (char *) "self", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (arg1
)->GetPosition();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5138 wxPoint
* resultptr
;
5139 resultptr
= new wxPoint((wxPoint
&) result
);
5140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5148 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxCaret
*arg1
= (wxCaret
*) 0 ;
5151 int *arg2
= (int *) 0 ;
5152 int *arg3
= (int *) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5163 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->GetPosition(arg2
,arg3
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5175 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5176 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5177 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5178 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5185 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxCaret
*arg1
= (wxCaret
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (arg1
)->GetSize();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5206 resultptr
= new wxSize((wxSize
&) result
);
5207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5215 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxCaret
*arg1
= (wxCaret
*) 0 ;
5218 int *arg2
= (int *) 0 ;
5219 int *arg3
= (int *) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5230 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 (arg1
)->GetSize(arg2
,arg3
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5243 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5244 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5245 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5252 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxCaret
*arg1
= (wxCaret
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (wxWindow
*)(arg1
)->GetWindow();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= wxPyMake_wxObject(result
, 0);
5280 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxCaret
*arg1
= (wxCaret
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5287 PyObject
* obj2
= 0 ;
5289 (char *) "self",(char *) "x",(char *) "y", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5295 arg2
= (int)SWIG_As_int(obj1
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5297 arg3
= (int)SWIG_As_int(obj2
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 (arg1
)->Move(arg2
,arg3
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 Py_INCREF(Py_None
); resultobj
= Py_None
;
5313 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxCaret
*arg1
= (wxCaret
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "pt", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->Move((wxPoint
const &)*arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 Py_INCREF(Py_None
); resultobj
= Py_None
;
5345 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxCaret
*arg1
= (wxCaret
*) 0 ;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5352 PyObject
* obj2
= 0 ;
5354 (char *) "self",(char *) "width",(char *) "height", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 arg2
= (int)SWIG_As_int(obj1
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5362 arg3
= (int)SWIG_As_int(obj2
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->SetSize(arg2
,arg3
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxCaret
*arg1
= (wxCaret
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "size", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 (arg1
)->SetSize((wxSize
const &)*arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 Py_INCREF(Py_None
); resultobj
= Py_None
;
5410 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxCaret
*arg1
= (wxCaret
*) 0 ;
5413 int arg2
= (int) true ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5417 (char *) "self",(char *) "show", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg2
= (int)SWIG_As_int(obj1
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 Py_INCREF(Py_None
); resultobj
= Py_None
;
5441 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxCaret
*arg1
= (wxCaret
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5446 (char *) "self", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5469 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5471 return Py_BuildValue((char *)"");
5473 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (int)wxCaret_GetBlinkTime();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_From_int((int)result
);
5495 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "milliseconds", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5504 arg1
= (int)SWIG_As_int(obj0
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 wxCaret_SetBlinkTime(arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5523 wxBusyCursor
*result
;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "cursor", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 if (!wxPyCheckForApp()) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5549 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5554 (char *) "self", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5577 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5579 return Py_BuildValue((char *)"");
5581 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxWindow
*arg1
= (wxWindow
*) NULL
;
5584 wxWindowDisabler
*result
;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "winToSkip", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5596 if (!wxPyCheckForApp()) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5610 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "self", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5638 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5640 return Py_BuildValue((char *)"");
5642 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxString
*arg1
= 0 ;
5646 bool temp1
= false ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "message", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5654 arg1
= wxString_in_helper(obj0
);
5655 if (arg1
== NULL
) SWIG_fail
;
5659 if (!wxPyCheckForApp()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5681 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5686 (char *) "self", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 Py_INCREF(Py_None
); resultobj
= Py_None
;
5706 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5709 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5711 return Py_BuildValue((char *)"");
5713 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxStopWatch
*result
;
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (wxStopWatch
*)new wxStopWatch();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5735 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5738 long arg2
= (long) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5742 (char *) "self",(char *) "t0", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg2
= (long)SWIG_As_long(obj1
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 (arg1
)->Start(arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 Py_INCREF(Py_None
); resultobj
= Py_None
;
5766 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5771 (char *) "self", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 Py_INCREF(Py_None
); resultobj
= Py_None
;
5791 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_From_long((long)result
);
5842 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5845 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5847 return Py_BuildValue((char *)"");
5849 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 int arg1
= (int) 9 ;
5852 int arg2
= (int) wxID_FILE1
;
5853 wxFileHistory
*result
;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5857 (char *) "maxFiles",(char *) "idBase", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5862 arg1
= (int)SWIG_As_int(obj0
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5866 arg2
= (int)SWIG_As_int(obj1
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5883 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 Py_INCREF(Py_None
); resultobj
= Py_None
;
5908 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5911 wxString
*arg2
= 0 ;
5912 bool temp2
= false ;
5913 PyObject
* obj0
= 0 ;
5914 PyObject
* obj1
= 0 ;
5916 (char *) "self",(char *) "file", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 arg2
= wxString_in_helper(obj1
);
5924 if (arg2
== NULL
) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 Py_INCREF(Py_None
); resultobj
= Py_None
;
5949 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5956 (char *) "self",(char *) "i", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 arg2
= (int)SWIG_As_int(obj1
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 (arg1
)->RemoveFileFromHistory(arg2
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_From_int((int)result
);
6004 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6007 wxMenu
*arg2
= (wxMenu
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6011 (char *) "self",(char *) "menu", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 (arg1
)->UseMenu(arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6036 wxMenu
*arg2
= (wxMenu
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6038 PyObject
* obj1
= 0 ;
6040 (char *) "self",(char *) "menu", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 (arg1
)->RemoveMenu(arg2
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 Py_INCREF(Py_None
); resultobj
= Py_None
;
6062 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6065 wxConfigBase
*arg2
= 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6069 (char *) "self",(char *) "config", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6079 PyErr_SetString(PyExc_TypeError
,"null reference");
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 (arg1
)->Load(*arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 Py_INCREF(Py_None
); resultobj
= Py_None
;
6096 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6099 wxConfigBase
*arg2
= 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6103 (char *) "self",(char *) "config", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6113 PyErr_SetString(PyExc_TypeError
,"null reference");
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->Save(*arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->AddFilesToMenu();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6158 wxMenu
*arg2
= (wxMenu
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6162 (char *) "self",(char *) "menu", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 (arg1
)->AddFilesToMenu(arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 Py_INCREF(Py_None
); resultobj
= Py_None
;
6184 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "i", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6198 arg2
= (int)SWIG_As_int(obj1
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6220 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= SWIG_From_int((int)result
);
6246 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6249 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6251 return Py_BuildValue((char *)"");
6253 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxString
*arg1
= 0 ;
6256 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6257 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6258 wxSingleInstanceChecker
*result
;
6259 bool temp1
= false ;
6260 bool temp2
= false ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "name",(char *) "path", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6269 arg1
= wxString_in_helper(obj0
);
6270 if (arg1
== NULL
) SWIG_fail
;
6275 arg2
= wxString_in_helper(obj1
);
6276 if (arg2
== NULL
) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6310 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxSingleInstanceChecker
*result
;
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6332 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 Py_INCREF(Py_None
); resultobj
= Py_None
;
6357 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6360 wxString
*arg2
= 0 ;
6361 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6362 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6364 bool temp2
= false ;
6365 bool temp3
= false ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 PyObject
* obj2
= 0 ;
6370 (char *) "self",(char *) "name",(char *) "path", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= wxString_in_helper(obj1
);
6378 if (arg2
== NULL
) SWIG_fail
;
6383 arg3
= wxString_in_helper(obj2
);
6384 if (arg3
== NULL
) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6420 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "self", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6448 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6451 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6453 return Py_BuildValue((char *)"");
6455 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxWindow
*arg1
= (wxWindow
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6464 (char *) "window",(char *) "dc",(char *) "method", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6474 PyErr_SetString(PyExc_TypeError
,"null reference");
6477 arg3
= (int)SWIG_As_int(obj2
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 Py_INCREF(Py_None
); resultobj
= Py_None
;
6493 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6498 (char *) "self", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 Py_INCREF(Py_None
); resultobj
= Py_None
;
6518 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6524 (char *) "self", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 result
= (arg1
)->GetTip();
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6550 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (size_t)(arg1
)->GetCurrentTip();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6576 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6579 wxString
*arg2
= 0 ;
6581 bool temp2
= false ;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6585 (char *) "self",(char *) "tip", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 arg2
= wxString_in_helper(obj1
);
6593 if (arg2
== NULL
) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6624 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6627 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6629 return Py_BuildValue((char *)"");
6631 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6634 wxPyTipProvider
*result
;
6635 PyObject
* obj0
= 0 ;
6637 (char *) "currentTip", NULL
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6641 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6657 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6660 PyObject
*arg2
= (PyObject
*) 0 ;
6661 PyObject
*arg3
= (PyObject
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6664 PyObject
* obj2
= 0 ;
6666 (char *) "self",(char *) "self",(char *) "_class", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 Py_INCREF(Py_None
); resultobj
= Py_None
;
6688 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6691 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6693 return Py_BuildValue((char *)"");
6695 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxWindow
*arg1
= (wxWindow
*) 0 ;
6698 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6699 bool arg3
= (bool) true ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 PyObject
* obj2
= 0 ;
6705 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6714 arg3
= (bool)SWIG_As_bool(obj2
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6718 if (!wxPyCheckForApp()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxString
*arg1
= 0 ;
6738 wxTipProvider
*result
;
6739 bool temp1
= false ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6743 (char *) "filename",(char *) "currentTip", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6748 arg1
= wxString_in_helper(obj0
);
6749 if (arg1
== NULL
) SWIG_fail
;
6752 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6777 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6780 int arg2
= (int) -1 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "owner",(char *) "id", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6794 arg2
= (int)SWIG_As_int(obj1
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6798 if (!wxPyCheckForApp()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6812 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "self", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 Py_INCREF(Py_None
); resultobj
= Py_None
;
6837 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6840 PyObject
*arg2
= (PyObject
*) 0 ;
6841 PyObject
*arg3
= (PyObject
*) 0 ;
6842 int arg4
= (int) 1 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6846 PyObject
* obj3
= 0 ;
6848 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 arg4
= (int)SWIG_As_int(obj3
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 Py_INCREF(Py_None
); resultobj
= Py_None
;
6874 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6877 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6878 int arg3
= (int) -1 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6881 PyObject
* obj2
= 0 ;
6883 (char *) "self",(char *) "owner",(char *) "id", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6892 arg3
= (int)SWIG_As_int(obj2
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 (arg1
)->SetOwner(arg2
,arg3
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 Py_INCREF(Py_None
); resultobj
= Py_None
;
6909 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6912 wxEvtHandler
*result
;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= wxPyMake_wxObject(result
, 0);
6937 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6940 int arg2
= (int) -1 ;
6941 bool arg3
= (bool) false ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6945 PyObject
* obj2
= 0 ;
6947 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6954 arg2
= (int)SWIG_As_int(obj1
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6958 arg3
= (bool)SWIG_As_bool(obj2
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6977 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6982 (char *) "self", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 Py_INCREF(Py_None
); resultobj
= Py_None
;
7002 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7030 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7036 (char *) "self", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_From_int((int)result
);
7056 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "self", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7084 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "self", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_From_int((int)result
);
7110 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7113 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7115 return Py_BuildValue((char *)"");
7117 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 int arg1
= (int) 0 ;
7120 int arg2
= (int) 0 ;
7121 wxTimerEvent
*result
;
7122 PyObject
* obj0
= 0 ;
7123 PyObject
* obj1
= 0 ;
7125 (char *) "timerid",(char *) "interval", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 arg1
= (int)SWIG_As_int(obj0
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 arg2
= (int)SWIG_As_int(obj1
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7151 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "self", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_From_int((int)result
);
7177 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7180 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7182 return Py_BuildValue((char *)"");
7184 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7185 PyObject
*resultobj
;
7187 wxTimerRunner
*result
;
7188 PyObject
* obj0
= 0 ;
7190 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7195 PyErr_SetString(PyExc_TypeError
,"null reference");
7199 if (!wxPyCheckForApp()) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7213 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7214 PyObject
*resultobj
;
7217 bool arg3
= (bool) false ;
7218 wxTimerRunner
*result
;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 PyObject
* obj2
= 0 ;
7223 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7228 PyErr_SetString(PyExc_TypeError
,"null reference");
7231 arg2
= (int)SWIG_As_int(obj1
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 arg3
= (bool)SWIG_As_bool(obj2
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 if (!wxPyCheckForApp()) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7252 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7257 argc
= PyObject_Length(args
);
7258 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7259 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7265 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7273 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7276 if ((argc
>= 2) && (argc
<= 3)) {
7280 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7288 _v
= SWIG_Check_int(argv
[1]);
7291 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7293 _v
= SWIG_Check_bool(argv
[2]);
7295 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7301 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7306 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7309 PyObject
* obj0
= 0 ;
7311 (char *) "self", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7335 bool arg3
= (bool) false ;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7338 PyObject
* obj2
= 0 ;
7340 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7346 arg2
= (int)SWIG_As_int(obj1
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 arg3
= (bool)SWIG_As_bool(obj2
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 (arg1
)->Start(arg2
,arg3
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 Py_INCREF(Py_None
); resultobj
= Py_None
;
7366 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7369 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7371 return Py_BuildValue((char *)"");
7373 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (wxLog
*)new wxLog();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7395 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (bool)wxLog::IsEnabled();
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7419 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 bool arg1
= (bool) true ;
7423 PyObject
* obj0
= 0 ;
7425 (char *) "doIt", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7430 arg1
= (bool)SWIG_As_bool(obj0
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)wxLog::EnableLogging(arg1
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7449 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7452 wxChar
*arg2
= (wxChar
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 PyObject
* obj2
= 0 ;
7458 (char *) "level",(char *) "szString",(char *) "t", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7462 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxLog
*arg1
= (wxLog
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 wxLog::FlushActive();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (wxLog
*)wxLog::GetActiveTarget();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7550 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxLog
*arg1
= (wxLog
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "pLogger", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7576 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 Py_INCREF(Py_None
); resultobj
= Py_None
;
7597 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 bool arg1
= (bool) true ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "bVerbose", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7628 arg1
= (bool)SWIG_As_bool(obj0
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 wxLog::SetVerbose(arg1
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7645 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "logLevel", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7654 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 wxLog::SetLogLevel(arg1
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 wxLog::DontCreateOnDemand();
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "ulMask", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7700 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 wxLog::SetTraceMask(arg1
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxString
*arg1
= 0 ;
7719 bool temp1
= false ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "str", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7727 arg1
= wxString_in_helper(obj0
);
7728 if (arg1
== NULL
) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxLog::AddTraceMask((wxString
const &)*arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxString
*arg1
= 0 ;
7756 bool temp1
= false ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "str", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7764 arg1
= wxString_in_helper(obj0
);
7765 if (arg1
== NULL
) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 wxLog::ClearTraceMasks();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 Py_INCREF(Py_None
); resultobj
= Py_None
;
7811 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxArrayString
*result
;
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7823 result
= (wxArrayString
*) &_result_ref
;
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= wxArrayString2PyList_helper(*result
);
7838 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxChar
*arg1
= (wxChar
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 wxLog::SetTimestamp((wxChar
const *)arg1
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (bool)wxLog::GetVerbose();
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7887 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (wxTraceMask
)wxLog::GetTraceMask();
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7909 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxChar
*arg1
= (wxChar
*) 0 ;
7913 PyObject
* obj0
= 0 ;
7915 (char *) "mask", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7937 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (wxLogLevel
)wxLog::GetLogLevel();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7959 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxChar
*)wxLog::GetTimestamp();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7981 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= Log_TimeStamp();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8009 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxLog
*arg1
= (wxLog
*) 0 ;
8012 PyObject
* obj0
= 0 ;
8014 (char *) "self", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxLog_Destroy(arg1
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8037 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8039 return Py_BuildValue((char *)"");
8041 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxLogStderr
*result
;
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (wxLogStderr
*)new wxLogStderr();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8063 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8066 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8068 return Py_BuildValue((char *)"");
8070 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8073 wxLogTextCtrl
*result
;
8074 PyObject
* obj0
= 0 ;
8076 (char *) "pTextCtrl", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8096 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8099 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8101 return Py_BuildValue((char *)"");
8103 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (wxLogGui
*)new wxLogGui();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8125 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8128 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8130 return Py_BuildValue((char *)"");
8132 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFrame
*arg1
= (wxFrame
*) 0 ;
8135 wxString
*arg2
= 0 ;
8136 bool arg3
= (bool) true ;
8137 bool arg4
= (bool) true ;
8138 wxLogWindow
*result
;
8139 bool temp2
= false ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 PyObject
* obj2
= 0 ;
8143 PyObject
* obj3
= 0 ;
8145 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 arg2
= wxString_in_helper(obj1
);
8153 if (arg2
== NULL
) SWIG_fail
;
8157 arg3
= (bool)SWIG_As_bool(obj2
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8161 arg4
= (bool)SWIG_As_bool(obj3
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8186 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8189 bool arg2
= (bool) true ;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8193 (char *) "self",(char *) "bShow", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8200 arg2
= (bool)SWIG_As_bool(obj1
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "self", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= wxPyMake_wxObject(result
, 0);
8245 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "self", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8271 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "self", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8299 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8306 (char *) "self",(char *) "bDoPass", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8312 arg2
= (bool)SWIG_As_bool(obj1
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 (arg1
)->PassMessages(arg2
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 Py_INCREF(Py_None
); resultobj
= Py_None
;
8328 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8331 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8333 return Py_BuildValue((char *)"");
8335 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxLog
*arg1
= (wxLog
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8341 (char *) "logger", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= (wxLogChain
*)new wxLogChain(arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8361 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8364 wxLog
*arg2
= (wxLog
*) 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 (char *) "self",(char *) "logger", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->SetLog(arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8397 (char *) "self",(char *) "bDoPass", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 arg2
= (bool)SWIG_As_bool(obj1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 (arg1
)->PassMessages(arg2
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 Py_INCREF(Py_None
); resultobj
= Py_None
;
8419 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8423 PyObject
* obj0
= 0 ;
8425 (char *) "self", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= (bool)(arg1
)->IsPassingMessages();
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8447 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8453 (char *) "self", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (wxLog
*)(arg1
)->GetOldLog();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8473 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8476 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8478 return Py_BuildValue((char *)"");
8480 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 unsigned long result
;
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (unsigned long)wxSysErrorCode();
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8502 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 unsigned long arg1
= (unsigned long) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "nErrCode", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8513 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= wxSysErrorMsg(arg1
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8536 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxString
*arg1
= 0 ;
8539 bool temp1
= false ;
8540 PyObject
* obj0
= 0 ;
8542 (char *) "msg", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8547 arg1
= wxString_in_helper(obj0
);
8548 if (arg1
== NULL
) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 wxLogFatalError((wxString
const &)*arg1
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxString
*arg1
= 0 ;
8576 bool temp1
= false ;
8577 PyObject
* obj0
= 0 ;
8579 (char *) "msg", NULL
8582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8584 arg1
= wxString_in_helper(obj0
);
8585 if (arg1
== NULL
) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 wxLogError((wxString
const &)*arg1
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 Py_INCREF(Py_None
); resultobj
= Py_None
;
8610 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxString
*arg1
= 0 ;
8613 bool temp1
= false ;
8614 PyObject
* obj0
= 0 ;
8616 (char *) "msg", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8621 arg1
= wxString_in_helper(obj0
);
8622 if (arg1
== NULL
) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 wxLogWarning((wxString
const &)*arg1
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8647 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxString
*arg1
= 0 ;
8650 bool temp1
= false ;
8651 PyObject
* obj0
= 0 ;
8653 (char *) "msg", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8658 arg1
= wxString_in_helper(obj0
);
8659 if (arg1
== NULL
) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxLogMessage((wxString
const &)*arg1
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 Py_INCREF(Py_None
); resultobj
= Py_None
;
8684 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxString
*arg1
= 0 ;
8687 bool temp1
= false ;
8688 PyObject
* obj0
= 0 ;
8690 (char *) "msg", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8695 arg1
= wxString_in_helper(obj0
);
8696 if (arg1
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 wxLogInfo((wxString
const &)*arg1
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxString
*arg1
= 0 ;
8724 bool temp1
= false ;
8725 PyObject
* obj0
= 0 ;
8727 (char *) "msg", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8732 arg1
= wxString_in_helper(obj0
);
8733 if (arg1
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 wxLogDebug((wxString
const &)*arg1
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8758 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxString
*arg1
= 0 ;
8761 bool temp1
= false ;
8762 PyObject
* obj0
= 0 ;
8764 (char *) "msg", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8769 arg1
= wxString_in_helper(obj0
);
8770 if (arg1
== NULL
) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 wxLogVerbose((wxString
const &)*arg1
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxString
*arg1
= 0 ;
8798 bool temp1
= false ;
8799 PyObject
* obj0
= 0 ;
8801 (char *) "msg", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8806 arg1
= wxString_in_helper(obj0
);
8807 if (arg1
== NULL
) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 wxLogStatus((wxString
const &)*arg1
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxFrame
*arg1
= (wxFrame
*) 0 ;
8835 wxString
*arg2
= 0 ;
8836 bool temp2
= false ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "pFrame",(char *) "msg", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 arg2
= wxString_in_helper(obj1
);
8848 if (arg2
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxString
*arg1
= 0 ;
8876 bool temp1
= false ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "msg", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8884 arg1
= wxString_in_helper(obj0
);
8885 if (arg1
== NULL
) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 wxLogSysError((wxString
const &)*arg1
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8911 PyObject
*resultobj
;
8912 unsigned long arg1
;
8913 wxString
*arg2
= 0 ;
8914 bool temp2
= false ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8918 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8919 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 arg2
= wxString_in_helper(obj1
);
8923 if (arg2
== NULL
) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8949 PyObject
*resultobj
;
8950 wxString
*arg1
= 0 ;
8951 wxString
*arg2
= 0 ;
8952 bool temp1
= false ;
8953 bool temp2
= false ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8957 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8959 arg1
= wxString_in_helper(obj0
);
8960 if (arg1
== NULL
) SWIG_fail
;
8964 arg2
= wxString_in_helper(obj1
);
8965 if (arg2
== NULL
) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9003 argc
= PyObject_Length(args
);
9004 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9005 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9010 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9014 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9017 return _wrap_LogTrace__SWIG_1(self
,args
);
9023 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9026 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9029 return _wrap_LogTrace__SWIG_0(self
,args
);
9034 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9039 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 unsigned long arg1
;
9042 wxString
*arg2
= 0 ;
9043 bool temp2
= false ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9047 (char *) "level",(char *) "msg", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9051 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 arg2
= wxString_in_helper(obj1
);
9055 if (arg2
== NULL
) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxString
*arg1
= 0 ;
9083 wxString
*arg2
= 0 ;
9084 bool temp1
= false ;
9085 bool temp2
= false ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9089 (char *) "title",(char *) "text", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9094 arg1
= wxString_in_helper(obj0
);
9095 if (arg1
== NULL
) SWIG_fail
;
9099 arg2
= wxString_in_helper(obj1
);
9100 if (arg2
== NULL
) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9133 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (wxLogNull
*)new wxLogNull();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9155 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 Py_INCREF(Py_None
); resultobj
= Py_None
;
9180 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9183 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9185 return Py_BuildValue((char *)"");
9187 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (wxPyLog
*)new wxPyLog();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9209 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9212 PyObject
*arg2
= (PyObject
*) 0 ;
9213 PyObject
*arg3
= (PyObject
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9216 PyObject
* obj2
= 0 ;
9218 (char *) "self",(char *) "self",(char *) "_class", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9243 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9245 return Py_BuildValue((char *)"");
9247 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9250 int arg2
= (int) wxSIGTERM
;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9255 (char *) "pid",(char *) "sig", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9259 arg1
= (int)SWIG_As_int(obj0
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 arg2
= (int)SWIG_As_int(obj1
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= SWIG_From_int((int)result
);
9279 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9283 PyObject
* obj0
= 0 ;
9285 (char *) "pid", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9289 arg1
= (int)SWIG_As_int(obj0
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)wxPyProcess::Exists(arg1
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9307 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxString
*arg1
= 0 ;
9310 int arg2
= (int) wxEXEC_ASYNC
;
9311 wxPyProcess
*result
;
9312 bool temp1
= false ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9316 (char *) "cmd",(char *) "flags", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9321 arg1
= wxString_in_helper(obj0
);
9322 if (arg1
== NULL
) SWIG_fail
;
9326 arg2
= (int)SWIG_As_int(obj1
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9351 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9354 int arg2
= (int) -1 ;
9355 wxPyProcess
*result
;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9359 (char *) "parent",(char *) "id", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9368 arg2
= (int)SWIG_As_int(obj1
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9385 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9388 PyObject
*arg2
= (PyObject
*) 0 ;
9389 PyObject
*arg3
= (PyObject
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9394 (char *) "self",(char *) "self",(char *) "_class", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 Py_INCREF(Py_None
); resultobj
= Py_None
;
9416 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9423 PyObject
* obj2
= 0 ;
9425 (char *) "self",(char *) "pid",(char *) "status", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9431 arg2
= (int)SWIG_As_int(obj1
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9433 arg3
= (int)SWIG_As_int(obj2
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 (arg1
)->base_OnTerminate(arg2
,arg3
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 Py_INCREF(Py_None
); resultobj
= Py_None
;
9449 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "self", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (bool)(arg1
)->IsRedirected();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9502 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9527 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9530 wxInputStream
*result
;
9531 PyObject
* obj0
= 0 ;
9533 (char *) "self", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9547 wxPyInputStream
* _ptr
= NULL
;
9550 _ptr
= new wxPyInputStream(result
);
9552 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9560 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9563 wxInputStream
*result
;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 wxPyInputStream
* _ptr
= NULL
;
9583 _ptr
= new wxPyInputStream(result
);
9585 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9593 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9596 wxOutputStream
*result
;
9597 PyObject
* obj0
= 0 ;
9599 (char *) "self", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9619 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 (arg1
)->CloseOutput();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9672 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9700 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9731 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9733 return Py_BuildValue((char *)"");
9735 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 int arg1
= (int) 0 ;
9738 int arg2
= (int) 0 ;
9739 int arg3
= (int) 0 ;
9740 wxProcessEvent
*result
;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9743 PyObject
* obj2
= 0 ;
9745 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9750 arg1
= (int)SWIG_As_int(obj0
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 arg2
= (int)SWIG_As_int(obj1
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9758 arg3
= (int)SWIG_As_int(obj2
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9775 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "self", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (int)(arg1
)->GetPid();
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_From_int((int)result
);
9801 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9807 (char *) "self", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (int)(arg1
)->GetExitCode();
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_From_int((int)result
);
9827 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9834 (char *) "self",(char *) "m_pid", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 arg2
= (int)SWIG_As_int(obj1
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9842 if (arg1
) (arg1
)->m_pid
= arg2
;
9844 Py_INCREF(Py_None
); resultobj
= Py_None
;
9851 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9857 (char *) "self", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 result
= (int) ((arg1
)->m_pid
);
9865 resultobj
= SWIG_From_int((int)result
);
9872 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9879 (char *) "self",(char *) "m_exitcode", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9885 arg2
= (int)SWIG_As_int(obj1
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9887 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9889 Py_INCREF(Py_None
); resultobj
= Py_None
;
9896 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 result
= (int) ((arg1
)->m_exitcode
);
9910 resultobj
= SWIG_From_int((int)result
);
9917 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9920 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9922 return Py_BuildValue((char *)"");
9924 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxString
*arg1
= 0 ;
9927 int arg2
= (int) wxEXEC_ASYNC
;
9928 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9930 bool temp1
= false ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9933 PyObject
* obj2
= 0 ;
9935 (char *) "command",(char *) "flags",(char *) "process", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9940 arg1
= wxString_in_helper(obj0
);
9941 if (arg1
== NULL
) SWIG_fail
;
9945 arg2
= (int)SWIG_As_int(obj1
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9949 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 if (!wxPyCheckForApp()) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_From_long((long)result
);
9975 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 int arg1
= (int) wxJOYSTICK1
;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "joystick", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9986 arg1
= (int)SWIG_As_int(obj0
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 if (!wxPyCheckForApp()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (wxJoystick
*)new wxJoystick(arg1
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10004 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10029 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (arg1
)->GetPosition();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 wxPoint
* resultptr
;
10050 resultptr
= new wxPoint((wxPoint
&) result
);
10051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10059 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (int)(arg1
)->GetZPosition();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_From_int((int)result
);
10085 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (int)(arg1
)->GetButtonState();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_From_int((int)result
);
10111 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (int)(arg1
)->GetPOVPosition();
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= SWIG_From_int((int)result
);
10137 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (int)(arg1
)->GetPOVCTSPosition();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_From_int((int)result
);
10163 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (int)(arg1
)->GetRudderPosition();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_From_int((int)result
);
10189 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)(arg1
)->GetUPosition();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_From_int((int)result
);
10215 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (int)(arg1
)->GetVPosition();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_From_int((int)result
);
10241 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)(arg1
)->GetMovementThreshold();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_From_int((int)result
);
10267 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self",(char *) "threshold", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 arg2
= (int)SWIG_As_int(obj1
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetMovementThreshold(arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsOk();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (int)(arg1
)->GetNumberJoysticks();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_From_int((int)result
);
10350 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (int)(arg1
)->GetManufacturerId();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_From_int((int)result
);
10376 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (int)(arg1
)->GetProductId();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= SWIG_From_int((int)result
);
10402 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (arg1
)->GetProductName();
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10434 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (int)(arg1
)->GetXMin();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= SWIG_From_int((int)result
);
10460 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10464 PyObject
* obj0
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (int)(arg1
)->GetYMin();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_From_int((int)result
);
10486 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (int)(arg1
)->GetZMin();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_From_int((int)result
);
10512 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)(arg1
)->GetXMax();
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_From_int((int)result
);
10538 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (int)(arg1
)->GetYMax();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_From_int((int)result
);
10564 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (int)(arg1
)->GetZMax();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_From_int((int)result
);
10590 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (int)(arg1
)->GetNumberButtons();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_From_int((int)result
);
10616 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (int)(arg1
)->GetNumberAxes();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_From_int((int)result
);
10642 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (int)(arg1
)->GetMaxButtons();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_From_int((int)result
);
10668 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (int)(arg1
)->GetMaxAxes();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_From_int((int)result
);
10694 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (int)(arg1
)->GetPollingMin();
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_From_int((int)result
);
10720 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (int)(arg1
)->GetPollingMax();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_From_int((int)result
);
10746 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (int)(arg1
)->GetRudderMin();
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_From_int((int)result
);
10772 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (int)(arg1
)->GetRudderMax();
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_From_int((int)result
);
10798 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (int)(arg1
)->GetUMin();
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_From_int((int)result
);
10824 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (int)(arg1
)->GetUMax();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_From_int((int)result
);
10850 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (int)(arg1
)->GetVMin();
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_From_int((int)result
);
10876 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= (int)(arg1
)->GetVMax();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_From_int((int)result
);
10902 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (bool)(arg1
)->HasRudder();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10930 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (bool)(arg1
)->HasZ();
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10962 PyObject
* obj0
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)(arg1
)->HasU();
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10986 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10990 PyObject
* obj0
= 0 ;
10991 char *kwnames
[] = {
10992 (char *) "self", NULL
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (bool)(arg1
)->HasV();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (bool)(arg1
)->HasPOV();
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)(arg1
)->HasPOV4Dir();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (bool)(arg1
)->HasPOVCTS();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11098 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11101 wxWindow
*arg2
= (wxWindow
*) 0 ;
11102 int arg3
= (int) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 PyObject
* obj1
= 0 ;
11106 PyObject
* obj2
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11117 arg3
= (int)SWIG_As_int(obj2
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (bool)(arg1
)->ReleaseCapture();
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11164 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11167 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11169 return Py_BuildValue((char *)"");
11171 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11174 wxPoint
*arg2
= (wxPoint
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self",(char *) "m_pos", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 if (arg1
) (arg1
)->m_pos
= *arg2
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11216 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "m_zPosition", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11229 arg2
= (int)SWIG_As_int(obj1
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11231 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 result
= (int) ((arg1
)->m_zPosition
);
11254 resultobj
= SWIG_From_int((int)result
);
11261 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "m_buttonChange", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11274 arg2
= (int)SWIG_As_int(obj1
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11276 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 result
= (int) ((arg1
)->m_buttonChange
);
11299 resultobj
= SWIG_From_int((int)result
);
11306 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "m_buttonState", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 arg2
= (int)SWIG_As_int(obj1
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11321 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11330 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11334 PyObject
* obj0
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 result
= (int) ((arg1
)->m_buttonState
);
11344 resultobj
= SWIG_From_int((int)result
);
11351 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "m_joyStick", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11364 arg2
= (int)SWIG_As_int(obj1
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11366 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11387 result
= (int) ((arg1
)->m_joyStick
);
11389 resultobj
= SWIG_From_int((int)result
);
11396 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11399 int arg2
= (int) 0 ;
11400 int arg3
= (int) wxJOYSTICK1
;
11401 int arg4
= (int) 0 ;
11402 wxJoystickEvent
*result
;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 PyObject
* obj2
= 0 ;
11406 PyObject
* obj3
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11413 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 arg2
= (int)SWIG_As_int(obj1
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 arg3
= (int)SWIG_As_int(obj2
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 arg4
= (int)SWIG_As_int(obj3
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11442 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11462 wxPoint
* resultptr
;
11463 resultptr
= new wxPoint((wxPoint
&) result
);
11464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11472 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_int((int)result
);
11498 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= SWIG_From_int((int)result
);
11524 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= SWIG_From_int((int)result
);
11550 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_From_int((int)result
);
11576 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "stick", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11589 arg2
= (int)SWIG_As_int(obj1
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 (arg1
)->SetJoystick(arg2
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 Py_INCREF(Py_None
); resultobj
= Py_None
;
11605 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "state", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 arg2
= (int)SWIG_As_int(obj1
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->SetButtonState(arg2
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 Py_INCREF(Py_None
); resultobj
= Py_None
;
11634 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "change", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11647 arg2
= (int)SWIG_As_int(obj1
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 (arg1
)->SetButtonChange(arg2
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 Py_INCREF(Py_None
); resultobj
= Py_None
;
11663 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11666 wxPoint
*arg2
= 0 ;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "self",(char *) "pos", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self",(char *) "zPos", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 arg2
= (int)SWIG_As_int(obj1
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 (arg1
)->SetZPosition(arg2
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 Py_INCREF(Py_None
); resultobj
= Py_None
;
11724 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11728 PyObject
* obj0
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self", NULL
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11752 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11780 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11808 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11811 int arg2
= (int) wxJOY_BUTTON_ANY
;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self",(char *) "but", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 arg2
= (int)SWIG_As_int(obj1
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11842 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11845 int arg2
= (int) wxJOY_BUTTON_ANY
;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "but", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= (int)SWIG_As_int(obj1
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11876 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11879 int arg2
= (int) wxJOY_BUTTON_ANY
;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "but", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 arg2
= (int)SWIG_As_int(obj1
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11913 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11915 return Py_BuildValue((char *)"");
11917 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11920 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11922 bool temp1
= false ;
11923 PyObject
* obj0
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "fileName", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11931 arg1
= wxString_in_helper(obj0
);
11932 if (arg1
== NULL
) SWIG_fail
;
11937 if (!wxPyCheckForApp()) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11959 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 PyObject
*arg1
= (PyObject
*) 0 ;
11963 PyObject
* obj0
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "data", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11971 if (!wxPyCheckForApp()) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (wxSound
*)new_wxSound(arg1
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11985 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxSound
*arg1
= (wxSound
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 Py_INCREF(Py_None
); resultobj
= Py_None
;
12010 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxSound
*arg1
= (wxSound
*) 0 ;
12013 wxString
*arg2
= 0 ;
12015 bool temp2
= false ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "fileName", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12026 arg2
= wxString_in_helper(obj1
);
12027 if (arg2
== NULL
) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12054 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxSound
*arg1
= (wxSound
*) 0 ;
12057 PyObject
*arg2
= (PyObject
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "data", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12085 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxSound
*arg1
= (wxSound
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (bool)(arg1
)->IsOk();
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12113 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxSound
*arg1
= (wxSound
*) 0 ;
12116 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "flags", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12128 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 if (!wxPyCheckForApp()) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12148 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxString
*arg1
= 0 ;
12151 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12153 bool temp1
= false ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "filename",(char *) "flags", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 arg1
= wxString_in_helper(obj0
);
12163 if (arg1
== NULL
) SWIG_fail
;
12167 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 if (!wxPyCheckForApp()) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 char *kwnames
[] = {
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12203 if (!wxPyCheckForApp()) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12220 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12222 return Py_BuildValue((char *)"");
12224 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxString
*arg1
= 0 ;
12227 wxString
*arg2
= 0 ;
12228 wxString
*arg3
= 0 ;
12229 wxString
*arg4
= 0 ;
12230 wxFileTypeInfo
*result
;
12231 bool temp1
= false ;
12232 bool temp2
= false ;
12233 bool temp3
= false ;
12234 bool temp4
= false ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 PyObject
* obj2
= 0 ;
12238 PyObject
* obj3
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12245 arg1
= wxString_in_helper(obj0
);
12246 if (arg1
== NULL
) SWIG_fail
;
12250 arg2
= wxString_in_helper(obj1
);
12251 if (arg2
== NULL
) SWIG_fail
;
12255 arg3
= wxString_in_helper(obj2
);
12256 if (arg3
== NULL
) SWIG_fail
;
12260 arg4
= wxString_in_helper(obj3
);
12261 if (arg4
== NULL
) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12310 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxArrayString
*arg1
= 0 ;
12313 wxFileTypeInfo
*result
;
12314 bool temp1
= false ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "sArray", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12322 if (! PySequence_Check(obj0
)) {
12323 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12326 arg1
= new wxArrayString
;
12328 int i
, len
=PySequence_Length(obj0
);
12329 for (i
=0; i
<len
; i
++) {
12330 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12332 PyObject
* str
= PyObject_Unicode(item
);
12334 PyObject
* str
= PyObject_Str(item
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12337 arg1
->Add(Py2wxString(str
));
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12351 if (temp1
) delete arg1
;
12356 if (temp1
) delete arg1
;
12362 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFileTypeInfo
*result
;
12365 char *kwnames
[] = {
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12384 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12412 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12415 wxString
*arg2
= 0 ;
12416 int arg3
= (int) 0 ;
12417 bool temp2
= false ;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 PyObject
* obj2
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12429 arg2
= wxString_in_helper(obj1
);
12430 if (arg2
== NULL
) SWIG_fail
;
12434 arg3
= (int)SWIG_As_int(obj2
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12462 wxString
*arg2
= 0 ;
12463 bool temp2
= false ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self",(char *) "shortDesc", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 arg2
= wxString_in_helper(obj1
);
12475 if (arg2
== NULL
) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12500 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12516 result
= (wxString
*) &_result_ref
;
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12526 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12535 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12551 result
= (wxString
*) &_result_ref
;
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12561 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12570 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12586 result
= (wxString
*) &_result_ref
;
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12596 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12605 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12609 PyObject
* obj0
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12621 result
= (wxString
*) &_result_ref
;
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12640 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12656 result
= (wxString
*) &_result_ref
;
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12675 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12678 wxArrayString
*result
;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12691 result
= (wxArrayString
*) &_result_ref
;
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= wxArrayString2PyList_helper(*result
);
12706 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_From_int((int)result
);
12732 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "self", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12748 result
= (wxString
*) &_result_ref
;
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12758 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12767 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= SWIG_From_int((int)result
);
12793 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12796 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12798 return Py_BuildValue((char *)"");
12800 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxFileTypeInfo
*arg1
= 0 ;
12803 wxFileType
*result
;
12804 PyObject
* obj0
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "ftInfo", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12813 if (arg1
== NULL
) {
12814 PyErr_SetString(PyExc_TypeError
,"null reference");
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12831 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxFileType
*arg1
= (wxFileType
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12856 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxFileType
*arg1
= (wxFileType
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= result
;
12882 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxFileType
*arg1
= (wxFileType
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
;
12908 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxFileType
*arg1
= (wxFileType
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
;
12934 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxFileType
*arg1
= (wxFileType
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12960 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxFileType
*arg1
= (wxFileType
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
;
12986 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxFileType
*arg1
= (wxFileType
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
;
13012 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxFileType
*arg1
= (wxFileType
*) 0 ;
13015 wxString
*arg2
= 0 ;
13016 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13017 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13019 bool temp2
= false ;
13020 bool temp3
= false ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 PyObject
* obj2
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 arg2
= wxString_in_helper(obj1
);
13033 if (arg2
== NULL
) SWIG_fail
;
13038 arg3
= wxString_in_helper(obj2
);
13039 if (arg3
== NULL
) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= result
;
13073 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxFileType
*arg1
= (wxFileType
*) 0 ;
13076 wxString
*arg2
= 0 ;
13077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13080 bool temp2
= false ;
13081 bool temp3
= false ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 PyObject
* obj2
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 arg2
= wxString_in_helper(obj1
);
13094 if (arg2
== NULL
) SWIG_fail
;
13099 arg3
= wxString_in_helper(obj2
);
13100 if (arg3
== NULL
) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
;
13134 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxFileType
*arg1
= (wxFileType
*) 0 ;
13137 wxString
*arg2
= 0 ;
13138 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13139 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13141 bool temp2
= false ;
13142 bool temp3
= false ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 arg2
= wxString_in_helper(obj1
);
13155 if (arg2
== NULL
) SWIG_fail
;
13160 arg3
= wxString_in_helper(obj2
);
13161 if (arg3
== NULL
) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= result
;
13195 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxFileType
*arg1
= (wxFileType
*) 0 ;
13198 wxString
*arg2
= 0 ;
13199 wxString
*arg3
= 0 ;
13200 bool arg4
= (bool) true ;
13202 bool temp2
= false ;
13203 bool temp3
= false ;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 PyObject
* obj2
= 0 ;
13207 PyObject
* obj3
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 arg2
= wxString_in_helper(obj1
);
13217 if (arg2
== NULL
) SWIG_fail
;
13221 arg3
= wxString_in_helper(obj2
);
13222 if (arg3
== NULL
) SWIG_fail
;
13226 arg4
= (bool)SWIG_As_bool(obj3
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13261 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxFileType
*arg1
= (wxFileType
*) 0 ;
13264 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13265 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13266 int arg3
= (int) 0 ;
13268 bool temp2
= false ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "cmd",(char *) "index", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 arg2
= wxString_in_helper(obj1
);
13282 if (arg2
== NULL
) SWIG_fail
;
13287 arg3
= (int)SWIG_As_int(obj2
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13314 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxFileType
*arg1
= (wxFileType
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (bool)(arg1
)->Unassociate();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13342 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxString
*arg1
= 0 ;
13345 wxString
*arg2
= 0 ;
13346 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13349 bool temp1
= false ;
13350 bool temp2
= false ;
13351 bool temp3
= false ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 PyObject
* obj2
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13361 arg1
= wxString_in_helper(obj0
);
13362 if (arg1
== NULL
) SWIG_fail
;
13366 arg2
= wxString_in_helper(obj1
);
13367 if (arg2
== NULL
) SWIG_fail
;
13372 arg3
= wxString_in_helper(obj2
);
13373 if (arg3
== NULL
) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13421 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13424 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13426 return Py_BuildValue((char *)"");
13428 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13429 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13434 static PyObject
*_wrap_TheMimeTypesManager_get() {
13437 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13442 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxString
*arg1
= 0 ;
13445 wxString
*arg2
= 0 ;
13447 bool temp1
= false ;
13448 bool temp2
= false ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "mimeType",(char *) "wildcard", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 arg1
= wxString_in_helper(obj0
);
13458 if (arg1
== NULL
) SWIG_fail
;
13462 arg2
= wxString_in_helper(obj1
);
13463 if (arg2
== NULL
) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxMimeTypesManager
*result
;
13501 char *kwnames
[] = {
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13520 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13523 int arg2
= (int) wxMAILCAP_ALL
;
13524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13526 bool temp3
= false ;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 PyObject
* obj2
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 arg2
= (int)SWIG_As_int(obj1
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13543 arg3
= wxString_in_helper(obj2
);
13544 if (arg3
== NULL
) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13573 PyObject
* obj0
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 (arg1
)->ClearData();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 Py_INCREF(Py_None
); resultobj
= Py_None
;
13595 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13598 wxString
*arg2
= 0 ;
13599 wxFileType
*result
;
13600 bool temp2
= false ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self",(char *) "ext", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13611 arg2
= wxString_in_helper(obj1
);
13612 if (arg2
== NULL
) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13637 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13640 wxString
*arg2
= 0 ;
13641 wxFileType
*result
;
13642 bool temp2
= false ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "mimeType", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= wxString_in_helper(obj1
);
13654 if (arg2
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13679 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13682 wxString
*arg2
= 0 ;
13683 bool arg3
= (bool) false ;
13685 bool temp2
= false ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 PyObject
* obj2
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13697 arg2
= wxString_in_helper(obj1
);
13698 if (arg2
== NULL
) SWIG_fail
;
13702 arg3
= (bool)SWIG_As_bool(obj2
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13729 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13732 wxString
*arg2
= 0 ;
13734 bool temp2
= false ;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self",(char *) "filename", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 arg2
= wxString_in_helper(obj1
);
13746 if (arg2
== NULL
) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13773 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= result
;
13799 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13802 wxFileTypeInfo
*arg2
= 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self",(char *) "ft", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13815 if (arg2
== NULL
) {
13816 PyErr_SetString(PyExc_TypeError
,"null reference");
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13836 wxFileTypeInfo
*arg2
= 0 ;
13837 wxFileType
*result
;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self",(char *) "ftInfo", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13850 if (arg2
== NULL
) {
13851 PyErr_SetString(PyExc_TypeError
,"null reference");
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13868 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13871 wxFileType
*arg2
= (wxFileType
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self",(char *) "ft", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (bool)(arg1
)->Unassociate(arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13900 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13903 PyObject
* obj0
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 Py_INCREF(Py_None
); resultobj
= Py_None
;
13925 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13928 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13930 return Py_BuildValue((char *)"");
13932 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13933 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13938 static PyObject
*_wrap_ART_TOOLBAR_get() {
13943 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13945 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13952 static int _wrap_ART_MENU_set(PyObject
*) {
13953 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13958 static PyObject
*_wrap_ART_MENU_get() {
13963 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13965 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13972 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13973 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13978 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13983 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13985 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13992 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13993 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13998 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14003 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14005 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14012 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14013 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14018 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14023 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14025 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14032 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14033 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14038 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14043 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14045 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14052 static int _wrap_ART_BUTTON_set(PyObject
*) {
14053 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14058 static PyObject
*_wrap_ART_BUTTON_get() {
14063 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14065 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14072 static int _wrap_ART_OTHER_set(PyObject
*) {
14073 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14078 static PyObject
*_wrap_ART_OTHER_get() {
14083 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14085 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14092 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14093 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14098 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14103 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14105 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14112 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14113 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14118 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14123 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14125 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14132 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14133 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14138 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14143 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14145 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14152 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14153 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14158 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14163 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14165 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14172 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14173 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14178 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14183 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14185 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14192 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14193 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14198 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14203 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14205 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14212 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14213 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14218 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14223 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14225 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14232 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14233 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14238 static PyObject
*_wrap_ART_GO_BACK_get() {
14243 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14245 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14252 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14253 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14258 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14263 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14265 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14272 static int _wrap_ART_GO_UP_set(PyObject
*) {
14273 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14278 static PyObject
*_wrap_ART_GO_UP_get() {
14283 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14285 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14292 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14293 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14298 static PyObject
*_wrap_ART_GO_DOWN_get() {
14303 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14305 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14312 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14313 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14318 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14323 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14325 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14332 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14333 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14338 static PyObject
*_wrap_ART_GO_HOME_get() {
14343 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14345 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14352 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14353 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14358 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14363 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14365 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14372 static int _wrap_ART_PRINT_set(PyObject
*) {
14373 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14378 static PyObject
*_wrap_ART_PRINT_get() {
14383 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14385 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14392 static int _wrap_ART_HELP_set(PyObject
*) {
14393 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14398 static PyObject
*_wrap_ART_HELP_get() {
14403 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14405 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14412 static int _wrap_ART_TIP_set(PyObject
*) {
14413 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14418 static PyObject
*_wrap_ART_TIP_get() {
14423 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14425 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14432 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14433 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14438 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14443 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14445 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14452 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14453 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14458 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14463 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14465 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14472 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14473 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14478 static PyObject
*_wrap_ART_NEW_DIR_get() {
14483 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14485 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14492 static int _wrap_ART_FOLDER_set(PyObject
*) {
14493 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14498 static PyObject
*_wrap_ART_FOLDER_get() {
14503 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14505 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14512 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14513 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14518 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14523 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14525 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14532 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14533 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14538 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14543 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14545 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14552 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14553 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14558 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14563 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14565 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14572 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14573 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14578 static PyObject
*_wrap_ART_TICK_MARK_get() {
14583 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14585 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14592 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14593 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14598 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14603 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14605 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14612 static int _wrap_ART_ERROR_set(PyObject
*) {
14613 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14618 static PyObject
*_wrap_ART_ERROR_get() {
14623 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14625 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14632 static int _wrap_ART_QUESTION_set(PyObject
*) {
14633 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14638 static PyObject
*_wrap_ART_QUESTION_get() {
14643 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14645 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14652 static int _wrap_ART_WARNING_set(PyObject
*) {
14653 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14658 static PyObject
*_wrap_ART_WARNING_get() {
14663 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14665 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14672 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14673 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14678 static PyObject
*_wrap_ART_INFORMATION_get() {
14683 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14685 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14692 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14693 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14698 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14703 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14705 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14712 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxPyArtProvider
*result
;
14715 char *kwnames
[] = {
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14721 if (!wxPyCheckForApp()) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14735 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14738 PyObject
*arg2
= (PyObject
*) 0 ;
14739 PyObject
*arg3
= (PyObject
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 PyObject
* obj2
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "self",(char *) "_class", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 Py_INCREF(Py_None
); resultobj
= Py_None
;
14766 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "provider", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 wxPyArtProvider::PushProvider(arg1
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14794 char *kwnames
[] = {
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)wxPyArtProvider::PopProvider();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "provider", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14843 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxString
*arg1
= 0 ;
14846 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14847 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14848 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14849 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14851 bool temp1
= false ;
14852 bool temp2
= false ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 PyObject
* obj2
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "id",(char *) "client",(char *) "size", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14863 arg1
= wxString_in_helper(obj0
);
14864 if (arg1
== NULL
) SWIG_fail
;
14869 arg2
= wxString_in_helper(obj1
);
14870 if (arg2
== NULL
) SWIG_fail
;
14877 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14881 if (!wxPyCheckForApp()) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14889 wxBitmap
* resultptr
;
14890 resultptr
= new wxBitmap((wxBitmap
&) result
);
14891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14915 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxString
*arg1
= 0 ;
14918 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14919 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14920 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14921 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14923 bool temp1
= false ;
14924 bool temp2
= false ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 PyObject
* obj2
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "id",(char *) "client",(char *) "size", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14935 arg1
= wxString_in_helper(obj0
);
14936 if (arg1
== NULL
) SWIG_fail
;
14941 arg2
= wxString_in_helper(obj1
);
14942 if (arg2
== NULL
) SWIG_fail
;
14949 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14953 if (!wxPyCheckForApp()) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 wxIcon
* resultptr
;
14962 resultptr
= new wxIcon((wxIcon
&) result
);
14963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14987 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 wxPyArtProvider_Destroy(arg1
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 Py_INCREF(Py_None
); resultobj
= Py_None
;
15012 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15015 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15017 return Py_BuildValue((char *)"");
15019 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 Py_INCREF(Py_None
); resultobj
= Py_None
;
15044 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15047 wxConfigBase
*result
;
15048 PyObject
* obj0
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "config", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15070 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 bool arg1
= (bool) true ;
15073 wxConfigBase
*result
;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "createOnDemand", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15081 arg1
= (bool)SWIG_As_bool(obj0
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15098 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxConfigBase
*result
;
15101 char *kwnames
[] = {
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (wxConfigBase
*)wxConfigBase::Create();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15120 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 char *kwnames
[] = {
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 wxConfigBase::DontCreateOnDemand();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15144 wxString
*arg2
= 0 ;
15145 bool temp2
= false ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "path", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 arg2
= wxString_in_helper(obj1
);
15157 if (arg2
== NULL
) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 (arg1
)->SetPath((wxString
const &)*arg2
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15198 result
= (wxString
*) &_result_ref
;
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15208 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15217 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= result
;
15243 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 PyObject
* obj1
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self",(char *) "index", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 arg2
= (long)SWIG_As_long(obj1
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= result
;
15273 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= result
;
15299 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "index", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 arg2
= (long)SWIG_As_long(obj1
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
;
15329 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15332 bool arg2
= (bool) false ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "recursive", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15344 arg2
= (bool)SWIG_As_bool(obj1
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15361 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15364 bool arg2
= (bool) false ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "recursive", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15376 arg2
= (bool)SWIG_As_bool(obj1
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15393 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15396 wxString
*arg2
= 0 ;
15398 bool temp2
= false ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "name", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15409 arg2
= wxString_in_helper(obj1
);
15410 if (arg2
== NULL
) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15437 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15440 wxString
*arg2
= 0 ;
15442 bool temp2
= false ;
15443 PyObject
* obj0
= 0 ;
15444 PyObject
* obj1
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "name", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 arg2
= wxString_in_helper(obj1
);
15454 if (arg2
== NULL
) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15481 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15484 wxString
*arg2
= 0 ;
15486 bool temp2
= false ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self",(char *) "name", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15497 arg2
= wxString_in_helper(obj1
);
15498 if (arg2
== NULL
) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15525 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15528 wxString
*arg2
= 0 ;
15530 bool temp2
= false ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self",(char *) "name", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15541 arg2
= wxString_in_helper(obj1
);
15542 if (arg2
== NULL
) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_From_int((int)result
);
15567 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15570 wxString
*arg2
= 0 ;
15571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15574 bool temp2
= false ;
15575 bool temp3
= false ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 PyObject
* obj2
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 arg2
= wxString_in_helper(obj1
);
15588 if (arg2
== NULL
) SWIG_fail
;
15593 arg3
= wxString_in_helper(obj2
);
15594 if (arg3
== NULL
) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15634 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15637 wxString
*arg2
= 0 ;
15638 long arg3
= (long) 0 ;
15640 bool temp2
= false ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 PyObject
* obj2
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 arg2
= wxString_in_helper(obj1
);
15653 if (arg2
== NULL
) SWIG_fail
;
15657 arg3
= (long)SWIG_As_long(obj2
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_From_long((long)result
);
15682 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15685 wxString
*arg2
= 0 ;
15686 double arg3
= (double) 0.0 ;
15688 bool temp2
= false ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 PyObject
* obj2
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15700 arg2
= wxString_in_helper(obj1
);
15701 if (arg2
== NULL
) SWIG_fail
;
15705 arg3
= (double)SWIG_As_double(obj2
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_From_double((double)result
);
15730 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15733 wxString
*arg2
= 0 ;
15734 bool arg3
= (bool) false ;
15736 bool temp2
= false ;
15737 PyObject
* obj0
= 0 ;
15738 PyObject
* obj1
= 0 ;
15739 PyObject
* obj2
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 arg2
= wxString_in_helper(obj1
);
15749 if (arg2
== NULL
) SWIG_fail
;
15753 arg3
= (bool)SWIG_As_bool(obj2
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15780 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15783 wxString
*arg2
= 0 ;
15784 wxString
*arg3
= 0 ;
15786 bool temp2
= false ;
15787 bool temp3
= false ;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 PyObject
* obj2
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "key",(char *) "value", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 arg2
= wxString_in_helper(obj1
);
15800 if (arg2
== NULL
) SWIG_fail
;
15804 arg3
= wxString_in_helper(obj2
);
15805 if (arg3
== NULL
) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15843 wxString
*arg2
= 0 ;
15846 bool temp2
= false ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 PyObject
* obj2
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "key",(char *) "value", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 arg2
= wxString_in_helper(obj1
);
15859 if (arg2
== NULL
) SWIG_fail
;
15862 arg3
= (long)SWIG_As_long(obj2
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15888 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15891 wxString
*arg2
= 0 ;
15894 bool temp2
= false ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 PyObject
* obj2
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self",(char *) "key",(char *) "value", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 arg2
= wxString_in_helper(obj1
);
15907 if (arg2
== NULL
) SWIG_fail
;
15910 arg3
= (double)SWIG_As_double(obj2
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15936 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15939 wxString
*arg2
= 0 ;
15942 bool temp2
= false ;
15943 PyObject
* obj0
= 0 ;
15944 PyObject
* obj1
= 0 ;
15945 PyObject
* obj2
= 0 ;
15946 char *kwnames
[] = {
15947 (char *) "self",(char *) "key",(char *) "value", NULL
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 arg2
= wxString_in_helper(obj1
);
15955 if (arg2
== NULL
) SWIG_fail
;
15958 arg3
= (bool)SWIG_As_bool(obj2
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15984 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15987 bool arg2
= (bool) false ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "currentOnly", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 arg2
= (bool)SWIG_As_bool(obj1
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (bool)(arg1
)->Flush(arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16018 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16021 wxString
*arg2
= 0 ;
16022 wxString
*arg3
= 0 ;
16024 bool temp2
= false ;
16025 bool temp3
= false ;
16026 PyObject
* obj0
= 0 ;
16027 PyObject
* obj1
= 0 ;
16028 PyObject
* obj2
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= wxString_in_helper(obj1
);
16038 if (arg2
== NULL
) SWIG_fail
;
16042 arg3
= wxString_in_helper(obj2
);
16043 if (arg3
== NULL
) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16078 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16081 wxString
*arg2
= 0 ;
16082 wxString
*arg3
= 0 ;
16084 bool temp2
= false ;
16085 bool temp3
= false ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 PyObject
* obj2
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 arg2
= wxString_in_helper(obj1
);
16098 if (arg2
== NULL
) SWIG_fail
;
16102 arg3
= wxString_in_helper(obj2
);
16103 if (arg3
== NULL
) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16138 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16141 wxString
*arg2
= 0 ;
16142 bool arg3
= (bool) true ;
16144 bool temp2
= false ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 PyObject
* obj2
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 arg2
= wxString_in_helper(obj1
);
16157 if (arg2
== NULL
) SWIG_fail
;
16161 arg3
= (bool)SWIG_As_bool(obj2
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16188 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16191 wxString
*arg2
= 0 ;
16193 bool temp2
= false ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self",(char *) "key", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16204 arg2
= wxString_in_helper(obj1
);
16205 if (arg2
== NULL
) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16232 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (bool)(arg1
)->DeleteAll();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16260 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16263 bool arg2
= (bool) true ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self",(char *) "doIt", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16274 arg2
= (bool)SWIG_As_bool(obj1
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 (arg1
)->SetExpandEnvVars(arg2
);
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 Py_INCREF(Py_None
); resultobj
= Py_None
;
16291 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16319 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16322 bool arg2
= (bool) true ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self",(char *) "doIt", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16333 arg2
= (bool)SWIG_As_bool(obj1
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->SetRecordDefaults(arg2
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16350 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16378 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16381 wxString
*arg2
= 0 ;
16383 bool temp2
= false ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "str", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 arg2
= wxString_in_helper(obj1
);
16395 if (arg2
== NULL
) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16426 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16458 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16490 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16493 wxString
*arg2
= 0 ;
16494 bool temp2
= false ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "appName", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 arg2
= wxString_in_helper(obj1
);
16506 if (arg2
== NULL
) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->SetAppName((wxString
const &)*arg2
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 Py_INCREF(Py_None
); resultobj
= Py_None
;
16531 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16534 wxString
*arg2
= 0 ;
16535 bool temp2
= false ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self",(char *) "vendorName", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= wxString_in_helper(obj1
);
16547 if (arg2
== NULL
) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 Py_INCREF(Py_None
); resultobj
= Py_None
;
16572 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "style", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16585 arg2
= (long)SWIG_As_long(obj1
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 (arg1
)->SetStyle(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16601 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= SWIG_From_long((long)result
);
16627 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16630 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16632 return Py_BuildValue((char *)"");
16634 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16637 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16638 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16639 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16640 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16641 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16644 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16646 bool temp1
= false ;
16647 bool temp2
= false ;
16648 bool temp3
= false ;
16649 bool temp4
= false ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 PyObject
* obj2
= 0 ;
16653 PyObject
* obj3
= 0 ;
16654 PyObject
* obj4
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16662 arg1
= wxString_in_helper(obj0
);
16663 if (arg1
== NULL
) SWIG_fail
;
16669 arg2
= wxString_in_helper(obj1
);
16670 if (arg2
== NULL
) SWIG_fail
;
16676 arg3
= wxString_in_helper(obj2
);
16677 if (arg3
== NULL
) SWIG_fail
;
16683 arg4
= wxString_in_helper(obj3
);
16684 if (arg4
== NULL
) SWIG_fail
;
16689 arg5
= (long)SWIG_As_long(obj4
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16738 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxConfig
*arg1
= (wxConfig
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 Py_INCREF(Py_None
); resultobj
= Py_None
;
16763 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16766 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16768 return Py_BuildValue((char *)"");
16770 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16773 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16774 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16775 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16776 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16777 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16778 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16780 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16781 wxFileConfig
*result
;
16782 bool temp1
= false ;
16783 bool temp2
= false ;
16784 bool temp3
= false ;
16785 bool temp4
= false ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 PyObject
* obj2
= 0 ;
16789 PyObject
* obj3
= 0 ;
16790 PyObject
* obj4
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16798 arg1
= wxString_in_helper(obj0
);
16799 if (arg1
== NULL
) SWIG_fail
;
16805 arg2
= wxString_in_helper(obj1
);
16806 if (arg2
== NULL
) SWIG_fail
;
16812 arg3
= wxString_in_helper(obj2
);
16813 if (arg3
== NULL
) SWIG_fail
;
16819 arg4
= wxString_in_helper(obj3
);
16820 if (arg4
== NULL
) SWIG_fail
;
16825 arg5
= (long)SWIG_As_long(obj4
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16874 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16899 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16902 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16904 return Py_BuildValue((char *)"");
16906 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16909 wxString
*arg2
= 0 ;
16910 wxConfigPathChanger
*result
;
16911 bool temp2
= false ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "config",(char *) "entry", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16922 arg2
= wxString_in_helper(obj1
);
16923 if (arg2
== NULL
) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16948 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16951 PyObject
* obj0
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 Py_INCREF(Py_None
); resultobj
= Py_None
;
16973 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16989 result
= (wxString
*) &_result_ref
;
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17008 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17011 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17013 return Py_BuildValue((char *)"");
17015 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxString
*arg1
= 0 ;
17019 bool temp1
= false ;
17020 PyObject
* obj0
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "sz", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17027 arg1
= wxString_in_helper(obj0
);
17028 if (arg1
== NULL
) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17059 static int _wrap_DateFormatStr_set(PyObject
*) {
17060 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17065 static PyObject
*_wrap_DateFormatStr_get() {
17070 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17072 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17079 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17080 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17085 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17090 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17092 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17099 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17102 PyObject
* obj0
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "country", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17108 arg1
= (int)SWIG_As_int(obj0
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 Py_INCREF(Py_None
); resultobj
= Py_None
;
17124 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17127 char *kwnames
[] = {
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (int)wxDateTime::GetCountry();
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= SWIG_From_int((int)result
);
17146 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 int arg1
= (int) wxDateTime::Country_Default
;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "country", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17157 arg1
= (int)SWIG_As_int(obj0
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17176 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 int arg1
= (int) wxDateTime::Gregorian
;
17180 PyObject
* obj0
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "cal", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17187 arg1
= (int)SWIG_As_int(obj0
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= SWIG_From_int((int)result
);
17204 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17208 PyObject
* obj0
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "year", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17214 arg1
= (int)SWIG_As_int(obj0
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= SWIG_From_int((int)result
);
17230 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 int arg1
= (int) wxDateTime::Gregorian
;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "cal", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17241 arg1
= (int)SWIG_As_int(obj0
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= SWIG_From_int((int)result
);
17258 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 int arg1
= (int) wxDateTime::Inv_Year
;
17261 int arg2
= (int) wxDateTime::Gregorian
;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "year",(char *) "cal", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17271 arg1
= (int)SWIG_As_int(obj0
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17275 arg2
= (int)SWIG_As_int(obj1
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17294 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 int arg1
= (int) wxDateTime::Inv_Year
;
17298 PyObject
* obj0
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "year", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17305 arg1
= (int)SWIG_As_int(obj0
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (int)wxDateTime::GetCentury(arg1
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_From_int((int)result
);
17322 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17325 int arg2
= (int) wxDateTime::Gregorian
;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "year",(char *) "cal", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 arg1
= (int)SWIG_As_int(obj0
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 arg2
= (int)SWIG_As_int(obj1
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_From_int((int)result
);
17354 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17357 int arg2
= (int) wxDateTime::Inv_Year
;
17358 int arg3
= (int) wxDateTime::Gregorian
;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 PyObject
* obj2
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "month",(char *) "year",(char *) "cal", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17368 arg1
= (int)SWIG_As_int(obj0
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 arg2
= (int)SWIG_As_int(obj1
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 arg3
= (int)SWIG_As_int(obj2
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_From_int((int)result
);
17392 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17395 int arg2
= (int) wxDateTime::Name_Full
;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "month",(char *) "flags", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17404 arg1
= (int)SWIG_As_int(obj0
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 arg2
= (int)SWIG_As_int(obj1
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17430 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17433 int arg2
= (int) wxDateTime::Name_Full
;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "weekday",(char *) "flags", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17442 arg1
= (int)SWIG_As_int(obj0
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 arg2
= (int)SWIG_As_int(obj1
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17468 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxString
*arg1
= (wxString
*) 0 ;
17471 wxString
*arg2
= (wxString
*) 0 ;
17472 bool temp1
= false ;
17473 bool temp2
= false ;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17482 arg1
= wxString_in_helper(obj0
);
17483 if (arg1
== NULL
) SWIG_fail
;
17487 arg2
= wxString_in_helper(obj1
);
17488 if (arg2
== NULL
) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 Py_INCREF(Py_None
); resultobj
= Py_None
;
17521 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 int arg1
= (int) wxDateTime::Inv_Year
;
17524 int arg2
= (int) wxDateTime::Country_Default
;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "year",(char *) "country", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17534 arg1
= (int)SWIG_As_int(obj0
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 arg2
= (int)SWIG_As_int(obj1
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17557 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 int arg1
= (int) wxDateTime::Inv_Year
;
17560 int arg2
= (int) wxDateTime::Country_Default
;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "year",(char *) "country", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17570 arg1
= (int)SWIG_As_int(obj0
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17574 arg2
= (int)SWIG_As_int(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 wxDateTime
* resultptr
;
17586 resultptr
= new wxDateTime((wxDateTime
&) result
);
17587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17595 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 int arg1
= (int) wxDateTime::Inv_Year
;
17598 int arg2
= (int) wxDateTime::Country_Default
;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "year",(char *) "country", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17608 arg1
= (int)SWIG_As_int(obj0
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 arg2
= (int)SWIG_As_int(obj1
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 wxDateTime
* resultptr
;
17624 resultptr
= new wxDateTime((wxDateTime
&) result
);
17625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17633 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17636 char *kwnames
[] = {
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= wxDateTime::Now();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 wxDateTime
* resultptr
;
17650 resultptr
= new wxDateTime((wxDateTime
&) result
);
17651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17659 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17662 char *kwnames
[] = {
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= wxDateTime::UNow();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 wxDateTime
* resultptr
;
17676 resultptr
= new wxDateTime((wxDateTime
&) result
);
17677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17685 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17688 char *kwnames
[] = {
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= wxDateTime::Today();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 wxDateTime
* resultptr
;
17702 resultptr
= new wxDateTime((wxDateTime
&) result
);
17703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17711 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxDateTime
*result
;
17714 char *kwnames
[] = {
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (wxDateTime
*)new wxDateTime();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17733 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17736 wxDateTime
*result
;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "timet", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17743 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (wxDateTime
*)new wxDateTime(arg1
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17759 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17762 wxDateTime
*result
;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "jdn", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17769 arg1
= (double)SWIG_As_double(obj0
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (wxDateTime
*)new wxDateTime(arg1
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17785 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17788 int arg2
= (int) 0 ;
17789 int arg3
= (int) 0 ;
17790 int arg4
= (int) 0 ;
17791 wxDateTime
*result
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 PyObject
* obj2
= 0 ;
17795 PyObject
* obj3
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17801 arg1
= (int)SWIG_As_int(obj0
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 arg2
= (int)SWIG_As_int(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 arg3
= (int)SWIG_As_int(obj2
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 arg4
= (int)SWIG_As_int(obj3
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17829 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17832 int arg2
= (int) wxDateTime::Inv_Month
;
17833 int arg3
= (int) wxDateTime::Inv_Year
;
17834 int arg4
= (int) 0 ;
17835 int arg5
= (int) 0 ;
17836 int arg6
= (int) 0 ;
17837 int arg7
= (int) 0 ;
17838 wxDateTime
*result
;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 PyObject
* obj2
= 0 ;
17842 PyObject
* obj3
= 0 ;
17843 PyObject
* obj4
= 0 ;
17844 PyObject
* obj5
= 0 ;
17845 PyObject
* obj6
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17851 arg1
= (int)SWIG_As_int(obj0
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 arg2
= (int)SWIG_As_int(obj1
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 arg3
= (int)SWIG_As_int(obj2
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 arg4
= (int)SWIG_As_int(obj3
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 arg5
= (int)SWIG_As_int(obj4
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 arg6
= (int)SWIG_As_int(obj5
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 arg7
= (int)SWIG_As_int(obj6
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17891 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 Py_INCREF(Py_None
); resultobj
= Py_None
;
17916 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17919 wxDateTime
*result
;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17932 result
= (wxDateTime
*) &_result_ref
;
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17945 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17949 wxDateTime
*result
;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self",(char *) "timet", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17959 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17965 result
= (wxDateTime
*) &_result_ref
;
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17978 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17982 wxDateTime
*result
;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "jdn", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 arg2
= (double)SWIG_As_double(obj1
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17998 result
= (wxDateTime
*) &_result_ref
;
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18011 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18015 int arg3
= (int) 0 ;
18016 int arg4
= (int) 0 ;
18017 int arg5
= (int) 0 ;
18018 wxDateTime
*result
;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 PyObject
* obj2
= 0 ;
18022 PyObject
* obj3
= 0 ;
18023 PyObject
* obj4
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 arg2
= (int)SWIG_As_int(obj1
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 arg3
= (int)SWIG_As_int(obj2
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 arg4
= (int)SWIG_As_int(obj3
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 arg5
= (int)SWIG_As_int(obj4
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18049 result
= (wxDateTime
*) &_result_ref
;
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18062 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18066 int arg3
= (int) wxDateTime::Inv_Month
;
18067 int arg4
= (int) wxDateTime::Inv_Year
;
18068 int arg5
= (int) 0 ;
18069 int arg6
= (int) 0 ;
18070 int arg7
= (int) 0 ;
18071 int arg8
= (int) 0 ;
18072 wxDateTime
*result
;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 PyObject
* obj2
= 0 ;
18076 PyObject
* obj3
= 0 ;
18077 PyObject
* obj4
= 0 ;
18078 PyObject
* obj5
= 0 ;
18079 PyObject
* obj6
= 0 ;
18080 PyObject
* obj7
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18088 arg2
= (int)SWIG_As_int(obj1
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 arg3
= (int)SWIG_As_int(obj2
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18095 arg4
= (int)SWIG_As_int(obj3
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18099 arg5
= (int)SWIG_As_int(obj4
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 arg6
= (int)SWIG_As_int(obj5
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 arg7
= (int)SWIG_As_int(obj6
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 arg8
= (int)SWIG_As_int(obj7
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18118 result
= (wxDateTime
*) &_result_ref
;
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18131 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18134 wxDateTime
*result
;
18135 PyObject
* obj0
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18147 result
= (wxDateTime
*) &_result_ref
;
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18160 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18164 wxDateTime
*result
;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "year", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 arg2
= (int)SWIG_As_int(obj1
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18180 result
= (wxDateTime
*) &_result_ref
;
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18193 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18197 wxDateTime
*result
;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "month", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 arg2
= (int)SWIG_As_int(obj1
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18213 result
= (wxDateTime
*) &_result_ref
;
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18226 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18230 wxDateTime
*result
;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self",(char *) "day", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 arg2
= (int)SWIG_As_int(obj1
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18246 result
= (wxDateTime
*) &_result_ref
;
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18259 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18263 wxDateTime
*result
;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "hour", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 arg2
= (int)SWIG_As_int(obj1
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18279 result
= (wxDateTime
*) &_result_ref
;
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18292 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18296 wxDateTime
*result
;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self",(char *) "minute", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 arg2
= (int)SWIG_As_int(obj1
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18312 result
= (wxDateTime
*) &_result_ref
;
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18325 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18329 wxDateTime
*result
;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self",(char *) "second", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 arg2
= (int)SWIG_As_int(obj1
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18345 result
= (wxDateTime
*) &_result_ref
;
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18358 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18362 wxDateTime
*result
;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "millisecond", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 arg2
= (int)SWIG_As_int(obj1
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18378 result
= (wxDateTime
*) &_result_ref
;
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18391 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18395 int arg3
= (int) wxDateTime::Monday_First
;
18396 wxDateTime
*result
;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 PyObject
* obj2
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int)SWIG_As_int(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 arg3
= (int)SWIG_As_int(obj2
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18417 result
= (wxDateTime
*) &_result_ref
;
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18430 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18434 int arg3
= (int) wxDateTime::Monday_First
;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 PyObject
* obj2
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 arg2
= (int)SWIG_As_int(obj1
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 arg3
= (int)SWIG_As_int(obj2
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 wxDateTime
* resultptr
;
18461 resultptr
= new wxDateTime((wxDateTime
&) result
);
18462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18470 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18474 wxDateTime
*result
;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self",(char *) "weekday", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18484 arg2
= (int)SWIG_As_int(obj1
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18490 result
= (wxDateTime
*) &_result_ref
;
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18503 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "weekday", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 arg2
= (int)SWIG_As_int(obj1
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18527 wxDateTime
* resultptr
;
18528 resultptr
= new wxDateTime((wxDateTime
&) result
);
18529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18537 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18541 wxDateTime
*result
;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "weekday", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18551 arg2
= (int)SWIG_As_int(obj1
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18557 result
= (wxDateTime
*) &_result_ref
;
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18570 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "weekday", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 arg2
= (int)SWIG_As_int(obj1
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 wxDateTime
* resultptr
;
18595 resultptr
= new wxDateTime((wxDateTime
&) result
);
18596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18604 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18608 int arg3
= (int) 1 ;
18609 int arg4
= (int) wxDateTime::Inv_Month
;
18610 int arg5
= (int) wxDateTime::Inv_Year
;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 PyObject
* obj3
= 0 ;
18616 PyObject
* obj4
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 arg2
= (int)SWIG_As_int(obj1
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 arg3
= (int)SWIG_As_int(obj2
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18631 arg4
= (int)SWIG_As_int(obj3
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18635 arg5
= (int)SWIG_As_int(obj4
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18654 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18658 int arg3
= (int) wxDateTime::Inv_Month
;
18659 int arg4
= (int) wxDateTime::Inv_Year
;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 PyObject
* obj2
= 0 ;
18664 PyObject
* obj3
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 arg2
= (int)SWIG_As_int(obj1
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 arg3
= (int)SWIG_As_int(obj2
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18679 arg4
= (int)SWIG_As_int(obj3
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18698 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18702 int arg3
= (int) wxDateTime::Inv_Month
;
18703 int arg4
= (int) wxDateTime::Inv_Year
;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 PyObject
* obj2
= 0 ;
18708 PyObject
* obj3
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 arg2
= (int)SWIG_As_int(obj1
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 arg3
= (int)SWIG_As_int(obj2
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 arg4
= (int)SWIG_As_int(obj3
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 wxDateTime
* resultptr
;
18735 resultptr
= new wxDateTime((wxDateTime
&) result
);
18736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18744 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18748 int arg3
= (int) wxDateTime::Mon
;
18749 int arg4
= (int) wxDateTime::Monday_First
;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 PyObject
* obj2
= 0 ;
18754 PyObject
* obj3
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 arg2
= (int)SWIG_As_int(obj1
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 arg3
= (int)SWIG_As_int(obj2
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18769 arg4
= (int)SWIG_As_int(obj3
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18788 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18792 int arg3
= (int) wxDateTime::Mon
;
18793 int arg4
= (int) wxDateTime::Monday_First
;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 PyObject
* obj3
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 arg2
= (int)SWIG_As_int(obj1
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 arg3
= (int)SWIG_As_int(obj2
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 arg4
= (int)SWIG_As_int(obj3
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 wxDateTime
* resultptr
;
18825 resultptr
= new wxDateTime((wxDateTime
&) result
);
18826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18834 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18838 int arg3
= (int) wxDateTime::Mon
;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 PyObject
* obj2
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18848 arg1
= (int)SWIG_As_int(obj0
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18850 arg2
= (int)SWIG_As_int(obj1
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 arg3
= (int)SWIG_As_int(obj2
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 wxDateTime
* resultptr
;
18865 resultptr
= new wxDateTime((wxDateTime
&) result
);
18866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18874 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18877 int arg2
= (int) wxDateTime::Inv_Month
;
18878 int arg3
= (int) wxDateTime::Inv_Year
;
18879 wxDateTime
*result
;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 PyObject
* obj2
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "month",(char *) "year", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 arg2
= (int)SWIG_As_int(obj1
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18895 arg3
= (int)SWIG_As_int(obj2
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18902 result
= (wxDateTime
*) &_result_ref
;
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18915 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18918 int arg2
= (int) wxDateTime::Inv_Month
;
18919 int arg3
= (int) wxDateTime::Inv_Year
;
18921 PyObject
* obj0
= 0 ;
18922 PyObject
* obj1
= 0 ;
18923 PyObject
* obj2
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self",(char *) "month",(char *) "year", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 arg2
= (int)SWIG_As_int(obj1
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 arg3
= (int)SWIG_As_int(obj2
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 wxDateTime
* resultptr
;
18948 resultptr
= new wxDateTime((wxDateTime
&) result
);
18949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18957 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18961 wxDateTime
*result
;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "yday", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= (int)SWIG_As_int(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18977 result
= (wxDateTime
*) &_result_ref
;
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18990 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self",(char *) "yday", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 arg2
= (int)SWIG_As_int(obj1
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (arg1
)->GetYearDay(arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 wxDateTime
* resultptr
;
19015 resultptr
= new wxDateTime((wxDateTime
&) result
);
19016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19024 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (double)(arg1
)->GetJulianDayNumber();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_From_double((double)result
);
19050 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (double)(arg1
)->GetJDN();
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= SWIG_From_double((double)result
);
19076 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_From_double((double)result
);
19102 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (double)(arg1
)->GetMJD();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_From_double((double)result
);
19128 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (double)(arg1
)->GetRataDie();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= SWIG_From_double((double)result
);
19154 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19157 wxDateTime::TimeZone
*arg2
= 0 ;
19158 bool arg3
= (bool) false ;
19160 bool temp2
= false ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19176 arg3
= (bool)SWIG_As_bool(obj2
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19187 wxDateTime
* resultptr
;
19188 resultptr
= new wxDateTime((wxDateTime
&) result
);
19189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19192 if (temp2
) delete arg2
;
19197 if (temp2
) delete arg2
;
19203 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19206 wxDateTime::TimeZone
*arg2
= 0 ;
19207 bool arg3
= (bool) false ;
19208 wxDateTime
*result
;
19209 bool temp2
= false ;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 PyObject
* obj2
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19225 arg3
= (bool)SWIG_As_bool(obj2
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19232 result
= (wxDateTime
*) &_result_ref
;
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19240 if (temp2
) delete arg2
;
19245 if (temp2
) delete arg2
;
19251 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
;
19253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19254 bool arg2
= (bool) false ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self",(char *) "noDST", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 arg2
= (bool)SWIG_As_bool(obj1
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (arg1
)->ToGMT(arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 wxDateTime
* resultptr
;
19278 resultptr
= new wxDateTime((wxDateTime
&) result
);
19279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19287 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19290 bool arg2
= (bool) false ;
19291 wxDateTime
*result
;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "noDST", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 arg2
= (bool)SWIG_As_bool(obj1
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19309 result
= (wxDateTime
*) &_result_ref
;
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19322 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19325 int arg2
= (int) wxDateTime::Country_Default
;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "country", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 arg2
= (int)SWIG_As_int(obj1
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= SWIG_From_int((int)result
);
19354 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19382 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19408 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19411 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19412 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19414 bool temp2
= false ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "tz", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= SWIG_From_int((int)result
);
19439 if (temp2
) delete arg2
;
19444 if (temp2
) delete arg2
;
19450 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19453 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19454 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19456 bool temp2
= false ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 char *kwnames
[] = {
19460 (char *) "self",(char *) "tz", NULL
19463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= SWIG_From_int((int)result
);
19481 if (temp2
) delete arg2
;
19486 if (temp2
) delete arg2
;
19492 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19495 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19496 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19498 bool temp2
= false ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "tz", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19510 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= SWIG_From_int((int)result
);
19523 if (temp2
) delete arg2
;
19528 if (temp2
) delete arg2
;
19534 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19537 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19538 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19540 bool temp2
= false ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self",(char *) "tz", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_From_int((int)result
);
19565 if (temp2
) delete arg2
;
19570 if (temp2
) delete arg2
;
19576 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19579 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19580 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19582 bool temp2
= false ;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self",(char *) "tz", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19594 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_From_int((int)result
);
19607 if (temp2
) delete arg2
;
19612 if (temp2
) delete arg2
;
19618 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19621 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19622 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19624 bool temp2
= false ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "tz", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19636 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_From_int((int)result
);
19649 if (temp2
) delete arg2
;
19654 if (temp2
) delete arg2
;
19660 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19663 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19664 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19666 bool temp2
= false ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "tz", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= SWIG_From_int((int)result
);
19691 if (temp2
) delete arg2
;
19696 if (temp2
) delete arg2
;
19702 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19705 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19706 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19708 bool temp2
= false ;
19709 PyObject
* obj0
= 0 ;
19710 PyObject
* obj1
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self",(char *) "tz", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_From_int((int)result
);
19733 if (temp2
) delete arg2
;
19738 if (temp2
) delete arg2
;
19744 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19747 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19748 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19750 bool temp2
= false ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self",(char *) "tz", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_From_int((int)result
);
19775 if (temp2
) delete arg2
;
19780 if (temp2
) delete arg2
;
19786 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
;
19788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19789 int arg2
= (int) wxDateTime::Monday_First
;
19790 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19791 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19793 bool temp3
= false ;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 PyObject
* obj2
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "flags",(char *) "tz", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 arg2
= (int)SWIG_As_int(obj1
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19810 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_From_int((int)result
);
19823 if (temp3
) delete arg3
;
19828 if (temp3
) delete arg3
;
19834 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19837 int arg2
= (int) wxDateTime::Monday_First
;
19838 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19839 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19841 bool temp3
= false ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 PyObject
* obj2
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self",(char *) "flags",(char *) "tz", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19853 arg2
= (int)SWIG_As_int(obj1
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19858 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_From_int((int)result
);
19871 if (temp3
) delete arg3
;
19876 if (temp3
) delete arg3
;
19882 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19885 int arg2
= (int) wxDateTime::Country_Default
;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self",(char *) "country", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 arg2
= (int)SWIG_As_int(obj1
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19916 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19919 wxDateTime
*arg2
= 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self",(char *) "datetime", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19933 if (arg2
== NULL
) {
19934 PyErr_SetString(PyExc_TypeError
,"null reference");
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19953 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19956 wxDateTime
*arg2
= 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self",(char *) "datetime", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19970 if (arg2
== NULL
) {
19971 PyErr_SetString(PyExc_TypeError
,"null reference");
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19990 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19993 wxDateTime
*arg2
= 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "datetime", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20007 if (arg2
== NULL
) {
20008 PyErr_SetString(PyExc_TypeError
,"null reference");
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20030 wxDateTime
*arg2
= 0 ;
20031 wxDateTime
*arg3
= 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 PyObject
* obj2
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "t1",(char *) "t2", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20046 if (arg2
== NULL
) {
20047 PyErr_SetString(PyExc_TypeError
,"null reference");
20050 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20053 if (arg3
== NULL
) {
20054 PyErr_SetString(PyExc_TypeError
,"null reference");
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20073 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20076 wxDateTime
*arg2
= 0 ;
20077 wxDateTime
*arg3
= 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 PyObject
* obj2
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self",(char *) "t1",(char *) "t2", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20092 if (arg2
== NULL
) {
20093 PyErr_SetString(PyExc_TypeError
,"null reference");
20096 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20099 if (arg3
== NULL
) {
20100 PyErr_SetString(PyExc_TypeError
,"null reference");
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20119 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20122 wxDateTime
*arg2
= 0 ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "dt", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20136 if (arg2
== NULL
) {
20137 PyErr_SetString(PyExc_TypeError
,"null reference");
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20156 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20159 wxDateTime
*arg2
= 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "dt", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20173 if (arg2
== NULL
) {
20174 PyErr_SetString(PyExc_TypeError
,"null reference");
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20193 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20196 wxDateTime
*arg2
= 0 ;
20197 wxTimeSpan
*arg3
= 0 ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 PyObject
* obj2
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "dt",(char *) "ts", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20212 if (arg2
== NULL
) {
20213 PyErr_SetString(PyExc_TypeError
,"null reference");
20216 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20219 if (arg3
== NULL
) {
20220 PyErr_SetString(PyExc_TypeError
,"null reference");
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20239 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20242 wxTimeSpan
*arg2
= 0 ;
20243 wxDateTime
*result
;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self",(char *) "diff", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20256 if (arg2
== NULL
) {
20257 PyErr_SetString(PyExc_TypeError
,"null reference");
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20264 result
= (wxDateTime
*) &_result_ref
;
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20277 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20280 wxDateSpan
*arg2
= 0 ;
20281 wxDateTime
*result
;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "diff", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20294 if (arg2
== NULL
) {
20295 PyErr_SetString(PyExc_TypeError
,"null reference");
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20302 result
= (wxDateTime
*) &_result_ref
;
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20315 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20318 wxTimeSpan
*arg2
= 0 ;
20319 wxDateTime
*result
;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self",(char *) "diff", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20332 if (arg2
== NULL
) {
20333 PyErr_SetString(PyExc_TypeError
,"null reference");
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20340 result
= (wxDateTime
*) &_result_ref
;
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20353 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20356 wxDateSpan
*arg2
= 0 ;
20357 wxDateTime
*result
;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self",(char *) "diff", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20370 if (arg2
== NULL
) {
20371 PyErr_SetString(PyExc_TypeError
,"null reference");
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20378 result
= (wxDateTime
*) &_result_ref
;
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20391 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20394 wxDateTime
*arg2
= 0 ;
20396 PyObject
* obj0
= 0 ;
20397 PyObject
* obj1
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self",(char *) "dt", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20408 if (arg2
== NULL
) {
20409 PyErr_SetString(PyExc_TypeError
,"null reference");
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 wxTimeSpan
* resultptr
;
20421 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20430 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20431 PyObject
*resultobj
;
20432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20433 wxTimeSpan
*arg2
= 0 ;
20434 wxDateTime
*result
;
20435 PyObject
* obj0
= 0 ;
20436 PyObject
* obj1
= 0 ;
20438 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20440 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20444 if (arg2
== NULL
) {
20445 PyErr_SetString(PyExc_TypeError
,"null reference");
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20452 result
= (wxDateTime
*) &_result_ref
;
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20465 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20466 PyObject
*resultobj
;
20467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20468 wxDateSpan
*arg2
= 0 ;
20469 wxDateTime
*result
;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20473 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20475 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20479 if (arg2
== NULL
) {
20480 PyErr_SetString(PyExc_TypeError
,"null reference");
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20487 result
= (wxDateTime
*) &_result_ref
;
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20500 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20505 argc
= PyObject_Length(args
);
20506 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20507 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20513 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20523 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20531 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20539 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20549 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20557 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20562 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20567 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20568 PyObject
*resultobj
;
20569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20570 wxTimeSpan
*arg2
= 0 ;
20571 wxDateTime
*result
;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20575 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20577 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20581 if (arg2
== NULL
) {
20582 PyErr_SetString(PyExc_TypeError
,"null reference");
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20589 result
= (wxDateTime
*) &_result_ref
;
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20602 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20603 PyObject
*resultobj
;
20604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20605 wxDateSpan
*arg2
= 0 ;
20606 wxDateTime
*result
;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20610 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20612 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20616 if (arg2
== NULL
) {
20617 PyErr_SetString(PyExc_TypeError
,"null reference");
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20624 result
= (wxDateTime
*) &_result_ref
;
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20637 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20642 argc
= PyObject_Length(args
);
20643 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20644 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20650 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20660 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20668 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20676 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20686 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20694 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20699 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20704 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20705 PyObject
*resultobj
;
20706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20707 wxTimeSpan
*arg2
= 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20712 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20718 if (arg2
== NULL
) {
20719 PyErr_SetString(PyExc_TypeError
,"null reference");
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 wxDateTime
* resultptr
;
20731 resultptr
= new wxDateTime((wxDateTime
&) result
);
20732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20740 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20741 PyObject
*resultobj
;
20742 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20743 wxDateSpan
*arg2
= 0 ;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20748 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20754 if (arg2
== NULL
) {
20755 PyErr_SetString(PyExc_TypeError
,"null reference");
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 wxDateTime
* resultptr
;
20767 resultptr
= new wxDateTime((wxDateTime
&) result
);
20768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20776 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20781 argc
= PyObject_Length(args
);
20782 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20783 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20789 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20799 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20807 return _wrap_DateTime___add____SWIG_0(self
,args
);
20815 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20825 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20833 return _wrap_DateTime___add____SWIG_1(self
,args
);
20838 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20843 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20844 PyObject
*resultobj
;
20845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20846 wxDateTime
*arg2
= 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20851 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20857 if (arg2
== NULL
) {
20858 PyErr_SetString(PyExc_TypeError
,"null reference");
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20869 wxTimeSpan
* resultptr
;
20870 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20879 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20880 PyObject
*resultobj
;
20881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20882 wxTimeSpan
*arg2
= 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20887 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20893 if (arg2
== NULL
) {
20894 PyErr_SetString(PyExc_TypeError
,"null reference");
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 wxDateTime
* resultptr
;
20906 resultptr
= new wxDateTime((wxDateTime
&) result
);
20907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20915 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20916 PyObject
*resultobj
;
20917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20918 wxDateSpan
*arg2
= 0 ;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20923 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20929 if (arg2
== NULL
) {
20930 PyErr_SetString(PyExc_TypeError
,"null reference");
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 wxDateTime
* resultptr
;
20942 resultptr
= new wxDateTime((wxDateTime
&) result
);
20943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20951 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20956 argc
= PyObject_Length(args
);
20957 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20974 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20982 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21008 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21026 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21034 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21039 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21044 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21045 PyObject
*resultobj
;
21046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21047 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21052 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21073 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21074 PyObject
*resultobj
;
21075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21076 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21081 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21103 PyObject
*resultobj
;
21104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21105 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21110 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21131 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21132 PyObject
*resultobj
;
21133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21134 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21139 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21160 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21161 PyObject
*resultobj
;
21162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21163 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21168 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21189 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21190 PyObject
*resultobj
;
21191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21192 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21197 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21218 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21221 wxString
*arg2
= 0 ;
21223 bool temp2
= false ;
21224 PyObject
* obj0
= 0 ;
21225 PyObject
* obj1
= 0 ;
21226 char *kwnames
[] = {
21227 (char *) "self",(char *) "date", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21234 arg2
= wxString_in_helper(obj1
);
21235 if (arg2
== NULL
) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_From_int((int)result
);
21260 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21263 wxString
*arg2
= 0 ;
21264 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21266 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21267 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21269 bool temp2
= false ;
21270 bool temp3
= false ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 PyObject
* obj2
= 0 ;
21274 PyObject
* obj3
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21283 arg2
= wxString_in_helper(obj1
);
21284 if (arg2
== NULL
) SWIG_fail
;
21289 arg3
= wxString_in_helper(obj2
);
21290 if (arg3
== NULL
) SWIG_fail
;
21295 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21298 if (arg4
== NULL
) {
21299 PyErr_SetString(PyExc_TypeError
,"null reference");
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_From_int((int)result
);
21333 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21336 wxString
*arg2
= 0 ;
21338 bool temp2
= false ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "datetime", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 arg2
= wxString_in_helper(obj1
);
21350 if (arg2
== NULL
) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_From_int((int)result
);
21375 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21378 wxString
*arg2
= 0 ;
21380 bool temp2
= false ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "date", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21391 arg2
= wxString_in_helper(obj1
);
21392 if (arg2
== NULL
) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_From_int((int)result
);
21417 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21420 wxString
*arg2
= 0 ;
21422 bool temp2
= false ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "time", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 arg2
= wxString_in_helper(obj1
);
21434 if (arg2
== NULL
) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_From_int((int)result
);
21459 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21462 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21463 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21464 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21465 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21467 bool temp2
= false ;
21468 bool temp3
= false ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 PyObject
* obj2
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "self",(char *) "format",(char *) "tz", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 arg2
= wxString_in_helper(obj1
);
21482 if (arg2
== NULL
) SWIG_fail
;
21488 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21511 if (temp3
) delete arg3
;
21520 if (temp3
) delete arg3
;
21526 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21558 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21590 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21622 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21654 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21657 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21659 return Py_BuildValue((char *)"");
21661 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21665 PyObject
* obj0
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "sec", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21671 arg1
= (long)SWIG_As_long(obj0
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= wxTimeSpan::Seconds(arg1
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 wxTimeSpan
* resultptr
;
21682 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21691 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21694 char *kwnames
[] = {
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= wxTimeSpan::Second();
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21707 wxTimeSpan
* resultptr
;
21708 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21717 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "min", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21727 arg1
= (long)SWIG_As_long(obj0
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= wxTimeSpan::Minutes(arg1
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 wxTimeSpan
* resultptr
;
21738 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21747 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21750 char *kwnames
[] = {
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= wxTimeSpan::Minute();
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 wxTimeSpan
* resultptr
;
21764 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21773 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21777 PyObject
* obj0
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "hours", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21783 arg1
= (long)SWIG_As_long(obj0
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= wxTimeSpan::Hours(arg1
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 wxTimeSpan
* resultptr
;
21794 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21803 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21806 char *kwnames
[] = {
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= wxTimeSpan::Hour();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 wxTimeSpan
* resultptr
;
21820 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21829 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "days", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21839 arg1
= (long)SWIG_As_long(obj0
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= wxTimeSpan::Days(arg1
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21849 wxTimeSpan
* resultptr
;
21850 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21859 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21862 char *kwnames
[] = {
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= wxTimeSpan::Day();
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21875 wxTimeSpan
* resultptr
;
21876 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21885 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "days", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21895 arg1
= (long)SWIG_As_long(obj0
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= wxTimeSpan::Weeks(arg1
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 wxTimeSpan
* resultptr
;
21906 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21915 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21918 char *kwnames
[] = {
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= wxTimeSpan::Week();
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 wxTimeSpan
* resultptr
;
21932 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21941 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 long arg1
= (long) 0 ;
21944 long arg2
= (long) 0 ;
21945 long arg3
= (long) 0 ;
21946 long arg4
= (long) 0 ;
21947 wxTimeSpan
*result
;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 PyObject
* obj3
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21958 arg1
= (long)SWIG_As_long(obj0
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 arg2
= (long)SWIG_As_long(obj1
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 arg3
= (long)SWIG_As_long(obj2
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 arg4
= (long)SWIG_As_long(obj3
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21987 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 Py_INCREF(Py_None
); resultobj
= Py_None
;
22012 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22015 wxTimeSpan
*arg2
= 0 ;
22016 wxTimeSpan
*result
;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "diff", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22029 if (arg2
== NULL
) {
22030 PyErr_SetString(PyExc_TypeError
,"null reference");
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22037 result
= (wxTimeSpan
*) &_result_ref
;
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22050 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22053 wxTimeSpan
*arg2
= 0 ;
22054 wxTimeSpan
*result
;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "diff", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22067 if (arg2
== NULL
) {
22068 PyErr_SetString(PyExc_TypeError
,"null reference");
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22075 result
= (wxTimeSpan
*) &_result_ref
;
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22088 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22090 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22092 wxTimeSpan
*result
;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self",(char *) "n", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22102 arg2
= (int)SWIG_As_int(obj1
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22108 result
= (wxTimeSpan
*) &_result_ref
;
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22121 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22124 wxTimeSpan
*result
;
22125 PyObject
* obj0
= 0 ;
22126 char *kwnames
[] = {
22127 (char *) "self", NULL
22130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22137 result
= (wxTimeSpan
*) &_result_ref
;
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22150 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22152 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 wxTimeSpan
* resultptr
;
22171 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22180 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22183 wxTimeSpan
*arg2
= 0 ;
22184 wxTimeSpan
*result
;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "self",(char *) "diff", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22193 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22197 if (arg2
== NULL
) {
22198 PyErr_SetString(PyExc_TypeError
,"null reference");
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22205 result
= (wxTimeSpan
*) &_result_ref
;
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22218 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22221 wxTimeSpan
*arg2
= 0 ;
22222 wxTimeSpan
*result
;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self",(char *) "diff", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22231 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22235 if (arg2
== NULL
) {
22236 PyErr_SetString(PyExc_TypeError
,"null reference");
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22243 result
= (wxTimeSpan
*) &_result_ref
;
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22256 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22260 wxTimeSpan
*result
;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self",(char *) "n", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22269 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22270 arg2
= (int)SWIG_As_int(obj1
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22276 result
= (wxTimeSpan
*) &_result_ref
;
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22289 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22292 wxTimeSpan
*result
;
22293 PyObject
* obj0
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22305 result
= (wxTimeSpan
*) &_result_ref
;
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22318 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22321 wxTimeSpan
*arg2
= 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "other", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22335 if (arg2
== NULL
) {
22336 PyErr_SetString(PyExc_TypeError
,"null reference");
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 wxTimeSpan
* resultptr
;
22348 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22357 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22360 wxTimeSpan
*arg2
= 0 ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self",(char *) "other", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22374 if (arg2
== NULL
) {
22375 PyErr_SetString(PyExc_TypeError
,"null reference");
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 wxTimeSpan
* resultptr
;
22387 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22396 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "n", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg2
= (int)SWIG_As_int(obj1
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= wxTimeSpan___mul__(arg1
,arg2
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 wxTimeSpan
* resultptr
;
22421 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22430 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self",(char *) "n", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 arg2
= (int)SWIG_As_int(obj1
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 wxTimeSpan
* resultptr
;
22455 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22464 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22467 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self",(char *) "other", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22496 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22499 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "other", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22528 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22531 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self",(char *) "other", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22560 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22563 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "other", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22592 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
;
22594 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22595 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22597 PyObject
* obj0
= 0 ;
22598 PyObject
* obj1
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self",(char *) "other", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22624 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22627 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self",(char *) "other", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22656 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22684 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22712 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22740 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22743 wxTimeSpan
*arg2
= 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "self",(char *) "ts", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22757 if (arg2
== NULL
) {
22758 PyErr_SetString(PyExc_TypeError
,"null reference");
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22777 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22780 wxTimeSpan
*arg2
= 0 ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self",(char *) "ts", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22794 if (arg2
== NULL
) {
22795 PyErr_SetString(PyExc_TypeError
,"null reference");
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22814 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22817 wxTimeSpan
*arg2
= 0 ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "t", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22831 if (arg2
== NULL
) {
22832 PyErr_SetString(PyExc_TypeError
,"null reference");
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22851 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= SWIG_From_int((int)result
);
22877 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_From_int((int)result
);
22903 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22907 PyObject
* obj0
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_From_int((int)result
);
22929 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_From_int((int)result
);
22955 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22976 hi
= PyLong_FromLong( (&result
)->GetHi() );
22977 lo
= PyLong_FromLong( (&result
)->GetLo() );
22978 shifter
= PyLong_FromLong(32);
22979 shifted
= PyNumber_Lshift(hi
, shifter
);
22980 resultobj
= PyNumber_Or(shifted
, lo
);
22983 Py_DECREF(shifter
);
22984 Py_DECREF(shifted
);
22992 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23013 hi
= PyLong_FromLong( (&result
)->GetHi() );
23014 lo
= PyLong_FromLong( (&result
)->GetLo() );
23015 shifter
= PyLong_FromLong(32);
23016 shifted
= PyNumber_Lshift(hi
, shifter
);
23017 resultobj
= PyNumber_Or(shifted
, lo
);
23020 Py_DECREF(shifter
);
23021 Py_DECREF(shifted
);
23029 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23032 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23033 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23035 bool temp2
= false ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "format", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 arg2
= wxString_in_helper(obj1
);
23048 if (arg2
== NULL
) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23080 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23083 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23085 return Py_BuildValue((char *)"");
23087 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 int arg1
= (int) 0 ;
23090 int arg2
= (int) 0 ;
23091 int arg3
= (int) 0 ;
23092 int arg4
= (int) 0 ;
23093 wxDateSpan
*result
;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 PyObject
* obj2
= 0 ;
23097 PyObject
* obj3
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23104 arg1
= (int)SWIG_As_int(obj0
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 arg2
= (int)SWIG_As_int(obj1
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 arg3
= (int)SWIG_As_int(obj2
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 arg4
= (int)SWIG_As_int(obj3
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23133 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 Py_INCREF(Py_None
); resultobj
= Py_None
;
23158 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "days", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23168 arg1
= (int)SWIG_As_int(obj0
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= wxDateSpan::Days(arg1
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 wxDateSpan
* resultptr
;
23179 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23188 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23191 char *kwnames
[] = {
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= wxDateSpan::Day();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23204 wxDateSpan
* resultptr
;
23205 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23214 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "weeks", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23224 arg1
= (int)SWIG_As_int(obj0
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= wxDateSpan::Weeks(arg1
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 wxDateSpan
* resultptr
;
23235 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23244 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23247 char *kwnames
[] = {
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= wxDateSpan::Week();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 wxDateSpan
* resultptr
;
23261 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23270 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23274 PyObject
* obj0
= 0 ;
23275 char *kwnames
[] = {
23276 (char *) "mon", NULL
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23280 arg1
= (int)SWIG_As_int(obj0
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= wxDateSpan::Months(arg1
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 wxDateSpan
* resultptr
;
23291 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23300 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23303 char *kwnames
[] = {
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= wxDateSpan::Month();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 wxDateSpan
* resultptr
;
23317 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23326 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "years", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23336 arg1
= (int)SWIG_As_int(obj0
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= wxDateSpan::Years(arg1
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 wxDateSpan
* resultptr
;
23347 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23356 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23359 char *kwnames
[] = {
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= wxDateSpan::Year();
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 wxDateSpan
* resultptr
;
23373 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23382 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23386 wxDateSpan
*result
;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "n", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23396 arg2
= (int)SWIG_As_int(obj1
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23402 result
= (wxDateSpan
*) &_result_ref
;
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23415 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23419 wxDateSpan
*result
;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "n", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 arg2
= (int)SWIG_As_int(obj1
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23435 result
= (wxDateSpan
*) &_result_ref
;
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23448 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23452 wxDateSpan
*result
;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "n", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23462 arg2
= (int)SWIG_As_int(obj1
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23468 result
= (wxDateSpan
*) &_result_ref
;
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23481 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23485 wxDateSpan
*result
;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self",(char *) "n", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23495 arg2
= (int)SWIG_As_int(obj1
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23501 result
= (wxDateSpan
*) &_result_ref
;
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23514 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_From_int((int)result
);
23540 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_int((int)result
);
23566 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= SWIG_From_int((int)result
);
23592 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_From_int((int)result
);
23618 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_From_int((int)result
);
23644 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23647 wxDateSpan
*arg2
= 0 ;
23648 wxDateSpan
*result
;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "other", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23661 if (arg2
== NULL
) {
23662 PyErr_SetString(PyExc_TypeError
,"null reference");
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23669 result
= (wxDateSpan
*) &_result_ref
;
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23682 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23685 wxDateSpan
*arg2
= 0 ;
23686 wxDateSpan
*result
;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "other", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23699 if (arg2
== NULL
) {
23700 PyErr_SetString(PyExc_TypeError
,"null reference");
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23707 result
= (wxDateSpan
*) &_result_ref
;
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23720 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23723 wxDateSpan
*result
;
23724 PyObject
* obj0
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23736 result
= (wxDateSpan
*) &_result_ref
;
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23749 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23753 wxDateSpan
*result
;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "factor", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23763 arg2
= (int)SWIG_As_int(obj1
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23769 result
= (wxDateSpan
*) &_result_ref
;
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23782 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23785 wxDateSpan
*arg2
= 0 ;
23786 wxDateSpan
*result
;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "other", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23795 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23799 if (arg2
== NULL
) {
23800 PyErr_SetString(PyExc_TypeError
,"null reference");
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23807 result
= (wxDateSpan
*) &_result_ref
;
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23820 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23823 wxDateSpan
*arg2
= 0 ;
23824 wxDateSpan
*result
;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self",(char *) "other", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23833 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23837 if (arg2
== NULL
) {
23838 PyErr_SetString(PyExc_TypeError
,"null reference");
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23845 result
= (wxDateSpan
*) &_result_ref
;
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23858 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23861 wxDateSpan
*result
;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23874 result
= (wxDateSpan
*) &_result_ref
;
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23887 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
;
23889 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23891 wxDateSpan
*result
;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self",(char *) "factor", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23900 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23901 arg2
= (int)SWIG_As_int(obj1
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23907 result
= (wxDateSpan
*) &_result_ref
;
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23920 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23923 wxDateSpan
*arg2
= 0 ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self",(char *) "other", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23937 if (arg2
== NULL
) {
23938 PyErr_SetString(PyExc_TypeError
,"null reference");
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23949 wxDateSpan
* resultptr
;
23950 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23959 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23962 wxDateSpan
*arg2
= 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "other", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23976 if (arg2
== NULL
) {
23977 PyErr_SetString(PyExc_TypeError
,"null reference");
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 wxDateSpan
* resultptr
;
23989 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23998 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 PyObject
* obj1
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self",(char *) "n", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24012 arg2
= (int)SWIG_As_int(obj1
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= wxDateSpan___mul__(arg1
,arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24022 wxDateSpan
* resultptr
;
24023 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24032 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24037 PyObject
* obj0
= 0 ;
24038 PyObject
* obj1
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self",(char *) "n", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 arg2
= (int)SWIG_As_int(obj1
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= wxDateSpan___rmul__(arg1
,arg2
);
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 wxDateSpan
* resultptr
;
24057 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24066 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24069 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "other", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24098 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24101 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "other", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24133 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24135 return Py_BuildValue((char *)"");
24137 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24140 char *kwnames
[] = {
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (long)wxGetLocalTime();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_From_long((long)result
);
24159 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24162 char *kwnames
[] = {
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (long)wxGetUTCTime();
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= SWIG_From_long((long)result
);
24181 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24184 char *kwnames
[] = {
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (long)wxGetCurrentTime();
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_From_long((long)result
);
24203 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
;
24206 char *kwnames
[] = {
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= wxGetLocalTimeMillis();
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24220 hi
= PyLong_FromLong( (&result
)->GetHi() );
24221 lo
= PyLong_FromLong( (&result
)->GetLo() );
24222 shifter
= PyLong_FromLong(32);
24223 shifted
= PyNumber_Lshift(hi
, shifter
);
24224 resultobj
= PyNumber_Or(shifted
, lo
);
24227 Py_DECREF(shifter
);
24228 Py_DECREF(shifted
);
24236 static int _wrap_DefaultDateTime_set(PyObject
*) {
24237 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24242 static PyObject
*_wrap_DefaultDateTime_get() {
24245 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24250 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24253 wxDataFormat
*result
;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "type", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24260 arg1
= (int)SWIG_As_int(obj0
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24276 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxString
*arg1
= 0 ;
24279 wxDataFormat
*result
;
24280 bool temp1
= false ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "format", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24288 arg1
= wxString_in_helper(obj0
);
24289 if (arg1
== NULL
) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24314 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24340 PyObject
*resultobj
;
24341 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24347 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 arg2
= (int)SWIG_As_int(obj1
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24368 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24369 PyObject
*resultobj
;
24370 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24376 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 arg2
= (int)SWIG_As_int(obj1
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24397 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24398 PyObject
*resultobj
;
24399 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24400 wxDataFormat
*arg2
= 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24405 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24411 if (arg2
== NULL
) {
24412 PyErr_SetString(PyExc_TypeError
,"null reference");
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24431 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24436 argc
= PyObject_Length(args
);
24437 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24438 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24444 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24454 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24462 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24470 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24478 _v
= SWIG_Check_int(argv
[1]);
24480 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24485 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24490 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24491 PyObject
*resultobj
;
24492 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24493 wxDataFormat
*arg2
= 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24498 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24504 if (arg2
== NULL
) {
24505 PyErr_SetString(PyExc_TypeError
,"null reference");
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24524 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24529 argc
= PyObject_Length(args
);
24530 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24531 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24537 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24547 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24555 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24563 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24571 _v
= SWIG_Check_int(argv
[1]);
24573 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24578 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24583 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self",(char *) "format", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 arg2
= (int)SWIG_As_int(obj1
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->SetType((wxDataFormatId
)arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 Py_INCREF(Py_None
); resultobj
= Py_None
;
24612 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24616 PyObject
* obj0
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= SWIG_From_int((int)result
);
24638 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= ((wxDataFormat
const *)arg1
)->GetId();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24670 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24673 wxString
*arg2
= 0 ;
24674 bool temp2
= false ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self",(char *) "format", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24685 arg2
= wxString_in_helper(obj1
);
24686 if (arg2
== NULL
) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->SetId((wxString
const &)*arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 Py_INCREF(Py_None
); resultobj
= Py_None
;
24711 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24714 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24716 return Py_BuildValue((char *)"");
24718 static int _wrap_FormatInvalid_set(PyObject
*) {
24719 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24724 static PyObject
*_wrap_FormatInvalid_get() {
24727 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24732 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 Py_INCREF(Py_None
); resultobj
= Py_None
;
24757 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24760 int arg2
= (int) wxDataObject::Get
;
24761 SwigValueWrapper
< wxDataFormat
> result
;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self",(char *) "dir", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 arg2
= (int)SWIG_As_int(obj1
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24783 wxDataFormat
* resultptr
;
24784 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24793 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24796 int arg2
= (int) wxDataObject::Get
;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "dir", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24808 arg2
= (int)SWIG_As_int(obj1
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24825 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
;
24827 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24828 wxDataFormat
*arg2
= 0 ;
24829 int arg3
= (int) wxDataObject::Get
;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 PyObject
* obj2
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self",(char *) "format",(char *) "dir", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24844 if (arg2
== NULL
) {
24845 PyErr_SetString(PyExc_TypeError
,"null reference");
24849 arg3
= (int)SWIG_As_int(obj2
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24868 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24871 wxDataFormat
*arg2
= 0 ;
24873 PyObject
* obj0
= 0 ;
24874 PyObject
* obj1
= 0 ;
24875 char *kwnames
[] = {
24876 (char *) "self",(char *) "format", NULL
24879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24885 if (arg2
== NULL
) {
24886 PyErr_SetString(PyExc_TypeError
,"null reference");
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24903 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24906 int arg2
= (int) wxDataObject::Get
;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "dir", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 arg2
= (int)SWIG_As_int(obj1
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= result
;
24935 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24938 wxDataFormat
*arg2
= 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "format", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24952 if (arg2
== NULL
) {
24953 PyErr_SetString(PyExc_TypeError
,"null reference");
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= result
;
24970 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24973 wxDataFormat
*arg2
= 0 ;
24974 PyObject
*arg3
= (PyObject
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 PyObject
* obj2
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "format",(char *) "data", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24989 if (arg2
== NULL
) {
24990 PyErr_SetString(PyExc_TypeError
,"null reference");
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25010 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25013 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25015 return Py_BuildValue((char *)"");
25017 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25020 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25021 wxDataObjectSimple
*result
;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "format", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25032 if (arg1
== NULL
) {
25033 PyErr_SetString(PyExc_TypeError
,"null reference");
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25051 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25054 wxDataFormat
*result
;
25055 PyObject
* obj0
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25067 result
= (wxDataFormat
*) &_result_ref
;
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25080 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25083 wxDataFormat
*arg2
= 0 ;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self",(char *) "format", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25096 if (arg2
== NULL
) {
25097 PyErr_SetString(PyExc_TypeError
,"null reference");
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25140 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
;
25166 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25169 PyObject
*arg2
= (PyObject
*) 0 ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "data", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25197 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25200 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25202 return Py_BuildValue((char *)"");
25204 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25207 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25208 wxPyDataObjectSimple
*result
;
25209 PyObject
* obj0
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "format", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25219 if (arg1
== NULL
) {
25220 PyErr_SetString(PyExc_TypeError
,"null reference");
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25238 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25241 PyObject
*arg2
= (PyObject
*) 0 ;
25242 PyObject
*arg3
= (PyObject
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 PyObject
* obj2
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "self",(char *) "_class", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 Py_INCREF(Py_None
); resultobj
= Py_None
;
25269 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25272 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25274 return Py_BuildValue((char *)"");
25276 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxDataObjectComposite
*result
;
25279 char *kwnames
[] = {
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25298 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25301 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25302 bool arg3
= (bool) false ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 PyObject
* obj2
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25314 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25316 arg3
= (bool)SWIG_As_bool(obj2
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->Add(arg2
,arg3
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25336 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25338 return Py_BuildValue((char *)"");
25340 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25343 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25344 wxTextDataObject
*result
;
25345 bool temp1
= false ;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "text", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25354 arg1
= wxString_in_helper(obj0
);
25355 if (arg1
== NULL
) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25381 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (size_t)(arg1
)->GetTextLength();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25407 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (arg1
)->GetText();
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25439 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25442 wxString
*arg2
= 0 ;
25443 bool temp2
= false ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "text", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 arg2
= wxString_in_helper(obj1
);
25455 if (arg2
== NULL
) SWIG_fail
;
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 (arg1
)->SetText((wxString
const &)*arg2
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 Py_INCREF(Py_None
); resultobj
= Py_None
;
25480 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25483 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25485 return Py_BuildValue((char *)"");
25487 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25490 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25491 wxPyTextDataObject
*result
;
25492 bool temp1
= false ;
25493 PyObject
* obj0
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "text", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25501 arg1
= wxString_in_helper(obj0
);
25502 if (arg1
== NULL
) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25528 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
;
25530 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25531 PyObject
*arg2
= (PyObject
*) 0 ;
25532 PyObject
*arg3
= (PyObject
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 PyObject
* obj2
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "self",(char *) "_class", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 Py_INCREF(Py_None
); resultobj
= Py_None
;
25559 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25562 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25564 return Py_BuildValue((char *)"");
25566 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25569 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25570 wxBitmapDataObject
*result
;
25571 PyObject
* obj0
= 0 ;
25572 char *kwnames
[] = {
25573 (char *) "bitmap", NULL
25576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25581 if (arg1
== NULL
) {
25582 PyErr_SetString(PyExc_TypeError
,"null reference");
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25600 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25620 wxBitmap
* resultptr
;
25621 resultptr
= new wxBitmap((wxBitmap
&) result
);
25622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25630 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25633 wxBitmap
*arg2
= 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self",(char *) "bitmap", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25646 if (arg2
== NULL
) {
25647 PyErr_SetString(PyExc_TypeError
,"null reference");
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 Py_INCREF(Py_None
); resultobj
= Py_None
;
25664 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25667 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25669 return Py_BuildValue((char *)"");
25671 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25674 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25675 wxPyBitmapDataObject
*result
;
25676 PyObject
* obj0
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "bitmap", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25686 if (arg1
== NULL
) {
25687 PyErr_SetString(PyExc_TypeError
,"null reference");
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25705 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25708 PyObject
*arg2
= (PyObject
*) 0 ;
25709 PyObject
*arg3
= (PyObject
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "self",(char *) "_class", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25739 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25741 return Py_BuildValue((char *)"");
25743 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxFileDataObject
*result
;
25746 char *kwnames
[] = {
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (wxFileDataObject
*)new wxFileDataObject();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25765 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25768 wxArrayString
*result
;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25781 result
= (wxArrayString
*) &_result_ref
;
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= wxArrayString2PyList_helper(*result
);
25796 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25799 wxString
*arg2
= 0 ;
25800 bool temp2
= false ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "filename", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 arg2
= wxString_in_helper(obj1
);
25812 if (arg2
== NULL
) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 (arg1
)->AddFile((wxString
const &)*arg2
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 Py_INCREF(Py_None
); resultobj
= Py_None
;
25837 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25840 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25842 return Py_BuildValue((char *)"");
25844 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25847 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25848 wxCustomDataObject
*result
;
25849 PyObject
* obj0
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "format", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25859 if (arg1
== NULL
) {
25860 PyErr_SetString(PyExc_TypeError
,"null reference");
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25878 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25881 PyObject
*arg2
= (PyObject
*) 0 ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "data", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25909 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (size_t)(arg1
)->GetSize();
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25935 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= result
;
25961 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25964 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25966 return Py_BuildValue((char *)"");
25968 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxURLDataObject
*result
;
25971 char *kwnames
[] = {
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (wxURLDataObject
*)new wxURLDataObject();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25990 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 result
= (arg1
)->GetURL();
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26022 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26025 wxString
*arg2
= 0 ;
26026 bool temp2
= false ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self",(char *) "url", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 arg2
= wxString_in_helper(obj1
);
26038 if (arg2
== NULL
) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 (arg1
)->SetURL((wxString
const &)*arg2
);
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 Py_INCREF(Py_None
); resultobj
= Py_None
;
26063 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26066 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26068 return Py_BuildValue((char *)"");
26070 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxMetafileDataObject
*result
;
26073 char *kwnames
[] = {
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26092 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26095 wxMetafile
*arg2
= 0 ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "metafile", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26108 if (arg2
== NULL
) {
26109 PyErr_SetString(PyExc_TypeError
,"null reference");
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 Py_INCREF(Py_None
); resultobj
= Py_None
;
26126 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26146 wxMetafile
* resultptr
;
26147 resultptr
= new wxMetafile((wxMetafile
&) result
);
26148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26156 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26159 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26161 return Py_BuildValue((char *)"");
26163 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "res", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26173 arg1
= (int)SWIG_As_int(obj0
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26191 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26194 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26195 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26196 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26197 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26198 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26199 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26200 wxPyDropSource
*result
;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 PyObject
* obj2
= 0 ;
26204 PyObject
* obj3
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26216 if (arg2
== NULL
) {
26217 PyErr_SetString(PyExc_TypeError
,"null reference");
26222 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26225 if (arg3
== NULL
) {
26226 PyErr_SetString(PyExc_TypeError
,"null reference");
26231 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26234 if (arg4
== NULL
) {
26235 PyErr_SetString(PyExc_TypeError
,"null reference");
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26253 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26255 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26256 PyObject
*arg2
= (PyObject
*) 0 ;
26257 PyObject
*arg3
= (PyObject
*) 0 ;
26259 PyObject
* obj0
= 0 ;
26260 PyObject
* obj1
= 0 ;
26261 PyObject
* obj2
= 0 ;
26262 PyObject
* obj3
= 0 ;
26263 char *kwnames
[] = {
26264 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26272 arg4
= (int)SWIG_As_int(obj3
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 Py_INCREF(Py_None
); resultobj
= Py_None
;
26288 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26316 wxDataObject
*arg2
= 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "data", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26329 if (arg2
== NULL
) {
26330 PyErr_SetString(PyExc_TypeError
,"null reference");
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 (arg1
)->SetData(*arg2
);
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 Py_INCREF(Py_None
); resultobj
= Py_None
;
26347 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26350 wxDataObject
*result
;
26351 PyObject
* obj0
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26373 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
;
26375 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26377 wxCursor
*arg3
= 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 PyObject
* obj2
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "res",(char *) "cursor", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 arg2
= (int)SWIG_As_int(obj1
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26390 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26393 if (arg3
== NULL
) {
26394 PyErr_SetString(PyExc_TypeError
,"null reference");
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 Py_INCREF(Py_None
); resultobj
= Py_None
;
26411 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26414 int arg2
= (int) wxDrag_CopyOnly
;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "self",(char *) "flags", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 arg2
= (int)SWIG_As_int(obj1
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (int)(arg1
)->DoDragDrop(arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_From_int((int)result
);
26443 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 PyObject
* obj1
= 0 ;
26450 char *kwnames
[] = {
26451 (char *) "self",(char *) "effect", NULL
26454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26457 arg2
= (int)SWIG_As_int(obj1
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26475 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26478 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26480 return Py_BuildValue((char *)"");
26482 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26485 wxPyDropTarget
*result
;
26486 PyObject
* obj0
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "dataObject", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26494 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26510 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26513 PyObject
*arg2
= (PyObject
*) 0 ;
26514 PyObject
*arg3
= (PyObject
*) 0 ;
26515 PyObject
* obj0
= 0 ;
26516 PyObject
* obj1
= 0 ;
26517 PyObject
* obj2
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "self",(char *) "_class", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26541 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "self", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 Py_INCREF(Py_None
); resultobj
= Py_None
;
26566 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26569 wxDataObject
*result
;
26570 PyObject
* obj0
= 0 ;
26571 char *kwnames
[] = {
26572 (char *) "self", NULL
26575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26592 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26595 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "dataObject", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26606 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 (arg1
)->SetDataObject(arg2
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 Py_INCREF(Py_None
); resultobj
= Py_None
;
26621 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26630 PyObject
* obj2
= 0 ;
26631 PyObject
* obj3
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26639 arg2
= (int)SWIG_As_int(obj1
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26641 arg3
= (int)SWIG_As_int(obj2
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26643 arg4
= (int)SWIG_As_int(obj3
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_From_int((int)result
);
26659 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26666 PyObject
* obj0
= 0 ;
26667 PyObject
* obj1
= 0 ;
26668 PyObject
* obj2
= 0 ;
26669 PyObject
* obj3
= 0 ;
26670 char *kwnames
[] = {
26671 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26677 arg2
= (int)SWIG_As_int(obj1
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26679 arg3
= (int)SWIG_As_int(obj2
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26681 arg4
= (int)SWIG_As_int(obj3
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= SWIG_From_int((int)result
);
26697 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26698 PyObject
*resultobj
;
26699 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26700 PyObject
* obj0
= 0 ;
26701 char *kwnames
[] = {
26702 (char *) "self", NULL
26705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 (arg1
)->base_OnLeave();
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 Py_INCREF(Py_None
); resultobj
= Py_None
;
26722 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 PyObject
* obj2
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self",(char *) "x",(char *) "y", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 arg2
= (int)SWIG_As_int(obj1
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26740 arg3
= (int)SWIG_As_int(obj2
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26758 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (bool)(arg1
)->GetData();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26786 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26789 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26791 return Py_BuildValue((char *)"");
26793 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxPyTextDropTarget
*result
;
26796 char *kwnames
[] = {
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26815 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
;
26817 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26818 PyObject
*arg2
= (PyObject
*) 0 ;
26819 PyObject
*arg3
= (PyObject
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 PyObject
* obj1
= 0 ;
26822 PyObject
* obj2
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "self",(char *) "_class", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 Py_INCREF(Py_None
); resultobj
= Py_None
;
26846 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 PyObject
* obj3
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26864 arg2
= (int)SWIG_As_int(obj1
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26866 arg3
= (int)SWIG_As_int(obj2
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26868 arg4
= (int)SWIG_As_int(obj3
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_From_int((int)result
);
26884 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
;
26886 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 PyObject
* obj2
= 0 ;
26894 PyObject
* obj3
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26902 arg2
= (int)SWIG_As_int(obj1
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26904 arg3
= (int)SWIG_As_int(obj2
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26906 arg4
= (int)SWIG_As_int(obj3
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= SWIG_From_int((int)result
);
26922 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 (arg1
)->base_OnLeave();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 Py_INCREF(Py_None
); resultobj
= Py_None
;
26947 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 PyObject
* obj2
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "x",(char *) "y", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26963 arg2
= (int)SWIG_As_int(obj1
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26965 arg3
= (int)SWIG_As_int(obj2
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 PyObject
* obj2
= 0 ;
26993 PyObject
* obj3
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 arg2
= (int)SWIG_As_int(obj1
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27003 arg3
= (int)SWIG_As_int(obj2
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27005 arg4
= (int)SWIG_As_int(obj3
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_From_int((int)result
);
27021 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27024 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27026 return Py_BuildValue((char *)"");
27028 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxPyFileDropTarget
*result
;
27031 char *kwnames
[] = {
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27050 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27053 PyObject
*arg2
= (PyObject
*) 0 ;
27054 PyObject
*arg3
= (PyObject
*) 0 ;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 PyObject
* obj2
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "self",(char *) "_class", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 Py_INCREF(Py_None
); resultobj
= Py_None
;
27081 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
;
27083 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 PyObject
* obj2
= 0 ;
27091 PyObject
* obj3
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27099 arg2
= (int)SWIG_As_int(obj1
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27101 arg3
= (int)SWIG_As_int(obj2
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27103 arg4
= (int)SWIG_As_int(obj3
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_From_int((int)result
);
27119 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 PyObject
* obj2
= 0 ;
27129 PyObject
* obj3
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27137 arg2
= (int)SWIG_As_int(obj1
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27139 arg3
= (int)SWIG_As_int(obj2
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27141 arg4
= (int)SWIG_As_int(obj3
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_From_int((int)result
);
27157 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27160 PyObject
* obj0
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->base_OnLeave();
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 PyObject
* obj2
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "x",(char *) "y", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27198 arg2
= (int)SWIG_As_int(obj1
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27200 arg3
= (int)SWIG_As_int(obj2
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27218 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27225 PyObject
* obj0
= 0 ;
27226 PyObject
* obj1
= 0 ;
27227 PyObject
* obj2
= 0 ;
27228 PyObject
* obj3
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27236 arg2
= (int)SWIG_As_int(obj1
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27238 arg3
= (int)SWIG_As_int(obj2
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27240 arg4
= (int)SWIG_As_int(obj3
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= SWIG_From_int((int)result
);
27256 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27259 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27261 return Py_BuildValue((char *)"");
27263 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxClipboard
*result
;
27266 char *kwnames
[] = {
27270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 result
= (wxClipboard
*)new wxClipboard();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27285 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27310 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27314 PyObject
* obj0
= 0 ;
27315 char *kwnames
[] = {
27316 (char *) "self", NULL
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (bool)(arg1
)->Open();
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27338 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self", NULL
27346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 Py_INCREF(Py_None
); resultobj
= Py_None
;
27363 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27391 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27394 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "data", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27406 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (bool)(arg1
)->AddData(arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27426 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "data", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27438 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (bool)(arg1
)->SetData(arg2
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27455 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27458 wxDataFormat
*arg2
= 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self",(char *) "format", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27472 if (arg2
== NULL
) {
27473 PyErr_SetString(PyExc_TypeError
,"null reference");
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27492 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27495 wxDataObject
*arg2
= 0 ;
27497 PyObject
* obj0
= 0 ;
27498 PyObject
* obj1
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "self",(char *) "data", NULL
27503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27509 if (arg2
== NULL
) {
27510 PyErr_SetString(PyExc_TypeError
,"null reference");
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (bool)(arg1
)->GetData(*arg2
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27529 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 result
= (bool)(arg1
)->Flush();
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27582 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27585 bool arg2
= (bool) true ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "primary", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27596 arg2
= (bool)SWIG_As_bool(obj1
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 (arg1
)->UsePrimarySelection(arg2
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 Py_INCREF(Py_None
); resultobj
= Py_None
;
27613 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxClipboard
*result
;
27616 char *kwnames
[] = {
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 result
= (wxClipboard
*)wxClipboard::Get();
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27635 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27638 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27640 return Py_BuildValue((char *)"");
27642 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27645 wxClipboardLocker
*result
;
27646 PyObject
* obj0
= 0 ;
27647 char *kwnames
[] = {
27648 (char *) "clipboard", NULL
27651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27670 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 Py_INCREF(Py_None
); resultobj
= Py_None
;
27695 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27723 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27726 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27728 return Py_BuildValue((char *)"");
27730 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 int arg1
= (int) 0 ;
27733 int arg2
= (int) 0 ;
27734 int arg3
= (int) 0 ;
27735 int arg4
= (int) 0 ;
27736 wxVideoMode
*result
;
27737 PyObject
* obj0
= 0 ;
27738 PyObject
* obj1
= 0 ;
27739 PyObject
* obj2
= 0 ;
27740 PyObject
* obj3
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27747 arg1
= (int)SWIG_As_int(obj0
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27751 arg2
= (int)SWIG_As_int(obj1
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 arg3
= (int)SWIG_As_int(obj2
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27759 arg4
= (int)SWIG_As_int(obj3
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27776 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
;
27778 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 Py_INCREF(Py_None
); resultobj
= Py_None
;
27801 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27804 wxVideoMode
*arg2
= 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self",(char *) "other", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27818 if (arg2
== NULL
) {
27819 PyErr_SetString(PyExc_TypeError
,"null reference");
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27838 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27842 PyObject
* obj0
= 0 ;
27843 char *kwnames
[] = {
27844 (char *) "self", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= SWIG_From_int((int)result
);
27864 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27868 PyObject
* obj0
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_From_int((int)result
);
27890 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 char *kwnames
[] = {
27896 (char *) "self", NULL
27899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_From_int((int)result
);
27916 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self", NULL
27925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27944 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27947 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self",(char *) "other", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27976 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27979 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "other", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28008 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
;
28010 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28012 PyObject
* obj0
= 0 ;
28013 PyObject
* obj1
= 0 ;
28014 char *kwnames
[] = {
28015 (char *) "self",(char *) "w", NULL
28018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28021 arg2
= (int)SWIG_As_int(obj1
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28023 if (arg1
) (arg1
)->w
= arg2
;
28025 Py_INCREF(Py_None
); resultobj
= Py_None
;
28032 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28036 PyObject
* obj0
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28044 result
= (int) ((arg1
)->w
);
28046 resultobj
= SWIG_From_int((int)result
);
28053 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self",(char *) "h", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 arg2
= (int)SWIG_As_int(obj1
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28068 if (arg1
) (arg1
)->h
= arg2
;
28070 Py_INCREF(Py_None
); resultobj
= Py_None
;
28077 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
;
28079 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28081 PyObject
* obj0
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28089 result
= (int) ((arg1
)->h
);
28091 resultobj
= SWIG_From_int((int)result
);
28098 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 char *kwnames
[] = {
28105 (char *) "self",(char *) "bpp", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 arg2
= (int)SWIG_As_int(obj1
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28113 if (arg1
) (arg1
)->bpp
= arg2
;
28115 Py_INCREF(Py_None
); resultobj
= Py_None
;
28122 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
;
28124 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28126 PyObject
* obj0
= 0 ;
28127 char *kwnames
[] = {
28128 (char *) "self", NULL
28131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28134 result
= (int) ((arg1
)->bpp
);
28136 resultobj
= SWIG_From_int((int)result
);
28143 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "refresh", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 arg2
= (int)SWIG_As_int(obj1
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28158 if (arg1
) (arg1
)->refresh
= arg2
;
28160 Py_INCREF(Py_None
); resultobj
= Py_None
;
28167 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
;
28169 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28171 PyObject
* obj0
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28179 result
= (int) ((arg1
)->refresh
);
28181 resultobj
= SWIG_From_int((int)result
);
28188 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28191 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28193 return Py_BuildValue((char *)"");
28195 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28196 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28201 static PyObject
*_wrap_DefaultVideoMode_get() {
28204 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28209 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 size_t arg1
= (size_t) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "index", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28220 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= (wxDisplay
*)new wxDisplay(arg1
);
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28237 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 Py_INCREF(Py_None
); resultobj
= Py_None
;
28262 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28265 char *kwnames
[] = {
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (size_t)wxDisplay::GetCount();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28284 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxPoint
*arg1
= 0 ;
28289 PyObject
* obj0
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "pt", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28297 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= SWIG_From_int((int)result
);
28313 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
;
28315 wxWindow
*arg1
= (wxWindow
*) 0 ;
28317 PyObject
* obj0
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "window", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 result
= (int)wxDisplay::GetFromWindow(arg1
);
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= SWIG_From_int((int)result
);
28339 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28367 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28387 wxRect
* resultptr
;
28388 resultptr
= new wxRect((wxRect
&) result
);
28389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28397 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28398 PyObject
*resultobj
;
28399 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28401 PyObject
* obj0
= 0 ;
28402 char *kwnames
[] = {
28403 (char *) "self", NULL
28406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= ((wxDisplay
const *)arg1
)->GetName();
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28429 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28457 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28460 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28461 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 char *kwnames
[] = {
28466 (char *) "self",(char *) "mode", NULL
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28476 if (arg2
== NULL
) {
28477 PyErr_SetString(PyExc_TypeError
,"null reference");
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= result
;
28495 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28498 wxVideoMode result
;
28499 PyObject
* obj0
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28515 wxVideoMode
* resultptr
;
28516 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28525 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28528 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28529 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self",(char *) "mode", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28544 if (arg2
== NULL
) {
28545 PyErr_SetString(PyExc_TypeError
,"null reference");
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28565 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 (arg1
)->ResetMode();
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 Py_INCREF(Py_None
); resultobj
= Py_None
;
28590 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28593 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28595 return Py_BuildValue((char *)"");
28597 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxStandardPaths
*result
;
28600 char *kwnames
[] = {
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 result
= (wxStandardPaths
*)StandardPaths_Get();
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
);