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
; }
860 // Make somce wrappers that double any % signs so they are 'escaped'
861 void wxPyLogFatalError(const wxString
& msg
)
864 m
.Replace(wxT("%"), wxT("%%"));
868 void wxPyLogError(const wxString
& msg
)
871 m
.Replace(wxT("%"), wxT("%%"));
875 void wxPyLogWarning(const wxString
& msg
)
878 m
.Replace(wxT("%"), wxT("%%"));
882 void wxPyLogMessage(const wxString
& msg
)
885 m
.Replace(wxT("%"), wxT("%%"));
889 void wxPyLogInfo(const wxString
& msg
)
892 m
.Replace(wxT("%"), wxT("%%"));
896 void wxPyLogDebug(const wxString
& msg
)
899 m
.Replace(wxT("%"), wxT("%%"));
903 void wxPyLogVerbose(const wxString
& msg
)
906 m
.Replace(wxT("%"), wxT("%%"));
910 void wxPyLogStatus(const wxString
& msg
)
913 m
.Replace(wxT("%"), wxT("%%"));
917 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
920 m
.Replace(wxT("%"), wxT("%%"));
921 wxLogStatus(pFrame
, m
);
924 void wxPyLogSysError(const wxString
& msg
)
927 m
.Replace(wxT("%"), wxT("%%"));
931 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
934 m
.Replace(wxT("%"), wxT("%%"));
935 wxLogGeneric(level
, m
);
938 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
941 m
.Replace(wxT("%"), wxT("%%"));
945 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
948 m
.Replace(wxT("%"), wxT("%%"));
954 // A wxLog class that can be derived from in wxPython
955 class wxPyLog
: public wxLog
{
957 wxPyLog() : wxLog() {}
959 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
961 bool blocked
= wxPyBeginBlockThreads();
962 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
963 PyObject
* s
= wx2PyString(szString
);
964 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
967 wxPyEndBlockThreads(blocked
);
969 wxLog::DoLog(level
, szString
, t
);
972 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
974 bool blocked
= wxPyBeginBlockThreads();
975 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
976 PyObject
* s
= wx2PyString(szString
);
977 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
980 wxPyEndBlockThreads(blocked
);
982 wxLog::DoLogString(szString
, t
);
991 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
994 #include <wx/joystick.h>
997 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
998 // A C++ stub class for wxJoystick for platforms that don't have it.
999 class wxJoystick
: public wxObject
{
1001 wxJoystick(int joystick
= wxJOYSTICK1
) {
1002 bool blocked
= wxPyBeginBlockThreads();
1003 PyErr_SetString(PyExc_NotImplementedError
,
1004 "wxJoystick is not available on this platform.");
1005 wxPyEndBlockThreads(blocked
);
1007 wxPoint
GetPosition() { return wxPoint(-1,-1); }
1008 int GetZPosition() { return -1; }
1009 int GetButtonState() { return -1; }
1010 int GetPOVPosition() { return -1; }
1011 int GetPOVCTSPosition() { return -1; }
1012 int GetRudderPosition() { return -1; }
1013 int GetUPosition() { return -1; }
1014 int GetVPosition() { return -1; }
1015 int GetMovementThreshold() { return -1; }
1016 void SetMovementThreshold(int threshold
) {}
1018 bool IsOk(void) { return false; }
1019 int GetNumberJoysticks() { return -1; }
1020 int GetManufacturerId() { return -1; }
1021 int GetProductId() { return -1; }
1022 wxString
GetProductName() { return wxEmptyString
; }
1023 int GetXMin() { return -1; }
1024 int GetYMin() { return -1; }
1025 int GetZMin() { return -1; }
1026 int GetXMax() { return -1; }
1027 int GetYMax() { return -1; }
1028 int GetZMax() { return -1; }
1029 int GetNumberButtons() { return -1; }
1030 int GetNumberAxes() { return -1; }
1031 int GetMaxButtons() { return -1; }
1032 int GetMaxAxes() { return -1; }
1033 int GetPollingMin() { return -1; }
1034 int GetPollingMax() { return -1; }
1035 int GetRudderMin() { return -1; }
1036 int GetRudderMax() { return -1; }
1037 int GetUMin() { return -1; }
1038 int GetUMax() { return -1; }
1039 int GetVMin() { return -1; }
1040 int GetVMax() { return -1; }
1042 bool HasRudder() { return false; }
1043 bool HasZ() { return false; }
1044 bool HasU() { return false; }
1045 bool HasV() { return false; }
1046 bool HasPOV() { return false; }
1047 bool HasPOV4Dir() { return false; }
1048 bool HasPOVCTS() { return false; }
1050 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
1051 bool ReleaseCapture() { return false; }
1056 #include <wx/sound.h>
1060 // A C++ stub class for wxWave for platforms that don't have it.
1061 class wxSound
: public wxObject
1065 bool blocked
= wxPyBeginBlockThreads();
1066 PyErr_SetString(PyExc_NotImplementedError
,
1067 "wxSound is not available on this platform.");
1068 wxPyEndBlockThreads(blocked
);
1070 wxSound(const wxString
&/*, bool*/) {
1071 bool blocked
= wxPyBeginBlockThreads();
1072 PyErr_SetString(PyExc_NotImplementedError
,
1073 "wxSound is not available on this platform.");
1074 wxPyEndBlockThreads(blocked
);
1076 wxSound(int, const wxByte
*) {
1077 bool blocked
= wxPyBeginBlockThreads();
1078 PyErr_SetString(PyExc_NotImplementedError
,
1079 "wxSound is not available on this platform.");
1080 wxPyEndBlockThreads(blocked
);
1085 bool Create(const wxString
&/*, bool*/) { return false; }
1086 bool Create(int, const wxByte
*) { return false; };
1087 bool IsOk() { return false; };
1088 bool Play(unsigned) const { return false; }
1089 static bool Play(const wxString
&, unsigned) { return false; }
1090 static void Stop() {}
1095 wxSound
*new_wxSound(wxString
const &fileName
){
1096 if (fileName
.Length() == 0)
1099 return new wxSound(fileName
);
1101 wxSound
*new_wxSound(PyObject
*data
){
1102 unsigned char* buffer
; int size
;
1103 wxSound
*sound
= NULL
;
1105 bool blocked
= wxPyBeginBlockThreads();
1106 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1108 sound
= new wxSound(size
, buffer
);
1110 wxPyEndBlockThreads(blocked
);
1113 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1115 unsigned char* buffer
;
1119 bool blocked
= wxPyBeginBlockThreads();
1120 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1122 rv
= self
->Create(size
, buffer
);
1124 wxPyEndBlockThreads(blocked
);
1127 bool blocked
= wxPyBeginBlockThreads();
1128 PyErr_SetString(PyExc_NotImplementedError
,
1129 "Create from data is not available on this platform.");
1130 wxPyEndBlockThreads(blocked
);
1135 #include <wx/mimetype.h>
1137 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1139 if (self
->GetMimeType(&str
))
1140 return wx2PyString(str
);
1144 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1146 if (self
->GetMimeTypes(arr
))
1147 return wxArrayString2PyList_helper(arr
);
1151 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1153 if (self
->GetExtensions(arr
))
1154 return wxArrayString2PyList_helper(arr
);
1158 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1160 if (self
->GetIcon(&loc
))
1161 return new wxIcon(loc
);
1165 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1167 if (self
->GetIcon(&loc
)) {
1168 wxString iconFile
= loc
.GetFileName();
1171 iconIndex
= loc
.GetIndex();
1173 // Make a tuple and put the values in it
1174 bool blocked
= wxPyBeginBlockThreads();
1175 PyObject
* tuple
= PyTuple_New(3);
1176 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1177 wxT("wxIcon"), true));
1178 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1179 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1180 wxPyEndBlockThreads(blocked
);
1186 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1188 if (self
->GetDescription(&str
))
1189 return wx2PyString(str
);
1193 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1195 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1196 return wx2PyString(str
);
1200 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1202 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1203 return wx2PyString(str
);
1207 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1208 wxArrayString verbs
;
1209 wxArrayString commands
;
1210 if (self
->GetAllCommands(&verbs
, &commands
,
1211 wxFileType::MessageParameters(filename
, mimetype
))) {
1212 bool blocked
= wxPyBeginBlockThreads();
1213 PyObject
* tuple
= PyTuple_New(2);
1214 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1215 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1216 wxPyEndBlockThreads(blocked
);
1222 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1223 return wxFileType::ExpandCommand(command
,
1224 wxFileType::MessageParameters(filename
, mimetype
));
1226 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1228 self
->EnumAllFileTypes(arr
);
1229 return wxArrayString2PyList_helper(arr
);
1232 #include <wx/artprov.h>
1234 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1235 static const wxString
wxPyART_MENU(wxART_MENU
);
1236 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1237 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1238 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1239 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1240 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1241 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1242 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1243 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1244 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1245 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1246 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1247 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1248 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1249 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1250 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1251 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1252 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1253 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1254 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1255 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1256 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1257 static const wxString
wxPyART_HELP(wxART_HELP
);
1258 static const wxString
wxPyART_TIP(wxART_TIP
);
1259 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1260 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1261 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1262 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1263 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1264 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1265 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1266 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1267 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1268 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1269 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1270 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1271 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1272 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1273 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1274 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1275 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1276 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1277 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1278 // Python aware wxArtProvider
1279 class wxPyArtProvider
: public wxArtProvider
{
1282 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1283 const wxArtClient
& client
,
1284 const wxSize
& size
) {
1285 wxBitmap rval
= wxNullBitmap
;
1286 bool blocked
= wxPyBeginBlockThreads();
1287 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1288 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1292 s1
= wx2PyString(id
);
1293 s2
= wx2PyString(client
);
1294 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1299 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1304 wxPyEndBlockThreads(blocked
);
1311 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1315 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1316 PyObject
* ret
= PyTuple_New(3);
1318 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1319 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1320 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1325 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1330 cont
= self
->GetFirstGroup(value
, index
);
1331 return __EnumerationHelper(cont
, value
, index
);
1333 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1337 cont
= self
->GetNextGroup(value
, index
);
1338 return __EnumerationHelper(cont
, value
, index
);
1340 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1345 cont
= self
->GetFirstEntry(value
, index
);
1346 return __EnumerationHelper(cont
, value
, index
);
1348 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1352 cont
= self
->GetNextEntry(value
, index
);
1353 return __EnumerationHelper(cont
, value
, index
);
1355 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1357 self
->Read(key
, &rv
, defaultVal
);
1361 // See my_fragments.i
1362 SWIGSTATICINLINE(int)
1363 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1365 if (PyNumber_Check(obj
)) {
1366 if (val
) *val
= PyFloat_AsDouble(obj
);
1370 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1371 obj
->ob_type
->tp_name
);
1372 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1379 SWIGSTATICINLINE(double)
1380 SWIG_As_double(PyObject
* obj
)
1383 if (!SWIG_AsVal_double(obj
, &v
)) {
1385 this is needed to make valgrind/purify happier. the other
1386 solution is throw an exception, but since this code should work
1389 memset((void*)&v
, 0, sizeof(double));
1395 SWIGSTATICINLINE(int)
1396 SWIG_Check_double(PyObject
* obj
)
1398 return SWIG_AsVal_double(obj
, (double*)0);
1401 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1403 self
->Read(key
, &rv
, defaultVal
);
1406 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1408 self
->Read(key
, &rv
, defaultVal
);
1412 #include <wx/datetime.h>
1415 static const wxString
wxPyDateFormatStr(wxT("%c"));
1416 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1418 #define LOCAL_TZ wxDateTime::Local
1421 #if UINT_MAX < LONG_MAX
1422 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1423 #define SWIG_From_unsigned_SS_int SWIG_From_long
1426 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1427 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1431 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1432 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1433 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1434 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1435 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1436 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1437 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1438 return (*self
< *other
);
1440 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1441 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1442 return (*self
<= *other
);
1444 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1445 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1446 return (*self
> *other
);
1448 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1449 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1450 return (*self
>= *other
);
1452 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1453 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1454 return (*self
== *other
);
1456 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1457 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1458 return (*self
!= *other
);
1460 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1462 const wxChar
* _date
= date
;
1463 rv
= self
->ParseRfc822Date(_date
);
1464 if (rv
== NULL
) return -1;
1467 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1469 const wxChar
* _date
= date
;
1470 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1471 if (rv
== NULL
) return -1;
1474 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1476 const wxChar
* _datetime
= datetime
;
1477 rv
= self
->ParseDateTime(_datetime
);
1478 if (rv
== NULL
) return -1;
1479 return rv
- _datetime
;
1481 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1483 const wxChar
* _date
= date
;
1484 rv
= self
->ParseDate(_date
);
1485 if (rv
== NULL
) return -1;
1488 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1490 const wxChar
* _time
= time
;
1491 rv
= self
->ParseTime(_time
);
1492 if (rv
== NULL
) return -1;
1495 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1496 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1497 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1498 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1499 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1500 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1501 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1502 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1503 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1504 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1505 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1506 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1507 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1508 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1509 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1510 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1512 #include <wx/dataobj.h>
1514 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1515 size_t count
= self
->GetFormatCount(dir
);
1516 wxDataFormat
* formats
= new wxDataFormat
[count
];
1517 self
->GetAllFormats(formats
, dir
);
1519 bool blocked
= wxPyBeginBlockThreads();
1520 PyObject
* list
= PyList_New(count
);
1521 for (size_t i
=0; i
<count
; i
++) {
1522 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1523 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1524 PyList_Append(list
, obj
);
1527 wxPyEndBlockThreads(blocked
);
1531 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1532 PyObject
* rval
= NULL
;
1533 size_t size
= self
->GetDataSize(format
);
1534 bool blocked
= wxPyBeginBlockThreads();
1536 char* buf
= new char[size
];
1537 if (self
->GetDataHere(format
, buf
))
1538 rval
= PyString_FromStringAndSize(buf
, size
);
1545 wxPyEndBlockThreads(blocked
);
1548 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1550 bool blocked
= wxPyBeginBlockThreads();
1551 if (PyString_Check(data
)) {
1552 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1555 // raise a TypeError if not a string
1556 PyErr_SetString(PyExc_TypeError
, "String expected.");
1559 wxPyEndBlockThreads(blocked
);
1562 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1563 PyObject
* rval
= NULL
;
1564 size_t size
= self
->GetDataSize();
1565 bool blocked
= wxPyBeginBlockThreads();
1567 char* buf
= new char[size
];
1568 if (self
->GetDataHere(buf
))
1569 rval
= PyString_FromStringAndSize(buf
, size
);
1576 wxPyEndBlockThreads(blocked
);
1579 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1581 bool blocked
= wxPyBeginBlockThreads();
1582 if (PyString_Check(data
)) {
1583 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1586 // raise a TypeError if not a string
1587 PyErr_SetString(PyExc_TypeError
, "String expected.");
1590 wxPyEndBlockThreads(blocked
);
1593 // Create a new class for wxPython to use
1594 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1596 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1597 : wxDataObjectSimple(format
) {}
1599 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1600 bool GetDataHere(void *buf
) const;
1601 bool SetData(size_t len
, const void *buf
) const;
1605 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1607 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1608 // We need to get the data for this object and write it to buf. I think
1609 // the best way to do this for wxPython is to have the Python method
1610 // return either a string or None and then act appropriately with the
1614 bool blocked
= wxPyBeginBlockThreads();
1615 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1617 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1619 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1621 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1625 wxPyEndBlockThreads(blocked
);
1629 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1630 // For this one we simply need to make a string from buf and len
1631 // and send it to the Python method.
1633 bool blocked
= wxPyBeginBlockThreads();
1634 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1635 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1636 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1639 wxPyEndBlockThreads(blocked
);
1643 // Create a new class for wxPython to use
1644 class wxPyTextDataObject
: public wxTextDataObject
{
1646 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1647 : wxTextDataObject(text
) {}
1649 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1650 DEC_PYCALLBACK_STRING__const(GetText
);
1651 DEC_PYCALLBACK__STRING(SetText
);
1655 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1656 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1657 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1660 // Create a new class for wxPython to use
1661 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1663 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1664 : wxBitmapDataObject(bitmap
) {}
1666 wxBitmap
GetBitmap() const;
1667 void SetBitmap(const wxBitmap
& bitmap
);
1671 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1672 wxBitmap
* rval
= &wxNullBitmap
;
1673 bool blocked
= wxPyBeginBlockThreads();
1674 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1677 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1679 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1684 wxPyEndBlockThreads(blocked
);
1688 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1689 bool blocked
= wxPyBeginBlockThreads();
1690 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1691 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1692 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1695 wxPyEndBlockThreads(blocked
);
1698 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1700 bool blocked
= wxPyBeginBlockThreads();
1701 if (PyString_Check(data
)) {
1702 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1705 // raise a TypeError if not a string
1706 PyErr_SetString(PyExc_TypeError
, "String expected.");
1709 wxPyEndBlockThreads(blocked
);
1712 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1714 bool blocked
= wxPyBeginBlockThreads();
1715 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1716 wxPyEndBlockThreads(blocked
);
1720 #include <wx/metafile.h>
1723 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1726 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1727 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1728 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1729 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1730 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1733 class wxPyTextDropTarget
: public wxTextDropTarget
{
1735 wxPyTextDropTarget() {}
1737 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1739 DEC_PYCALLBACK__(OnLeave
);
1740 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1741 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1742 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1743 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1748 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1749 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1750 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1751 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1752 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1753 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1757 class wxPyFileDropTarget
: public wxFileDropTarget
{
1759 wxPyFileDropTarget() {}
1761 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1763 DEC_PYCALLBACK__(OnLeave
);
1764 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1765 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1766 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1767 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1772 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1773 const wxArrayString
& filenames
) {
1775 bool blocked
= wxPyBeginBlockThreads();
1776 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1777 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1778 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1781 wxPyEndBlockThreads(blocked
);
1787 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1788 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1789 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1790 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1791 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1796 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1798 #include <wx/display.h>
1800 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1801 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1803 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1805 #include <wx/dynarray.h>
1806 #include <wx/vidmode.h>
1808 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1809 #include "wx/arrimpl.cpp"
1810 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1811 const wxVideoMode wxDefaultVideoMode
;
1816 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1819 static size_t GetCount()
1820 { wxPyRaiseNotImplemented(); return 0; }
1822 static int GetFromPoint(const wxPoint
& pt
)
1823 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1824 static int GetFromWindow(wxWindow
*window
)
1825 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1827 virtual bool IsOk() const { return false; }
1828 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1829 virtual wxString
GetName() const { return wxEmptyString
; }
1830 bool IsPrimary() const { return false; }
1832 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1833 { wxArrayVideoModes a
; return a
; }
1835 virtual wxVideoMode
GetCurrentMode() const
1836 { return wxDefaultVideoMode
; }
1838 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1845 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1846 PyObject
* pyList
= NULL
;
1847 wxArrayVideoModes arr
= self
->GetModes(mode
);
1848 bool blocked
= wxPyBeginBlockThreads();
1849 pyList
= PyList_New(0);
1850 for (int i
=0; i
< arr
.GetCount(); i
++) {
1851 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1852 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1853 PyList_Append(pyList
, pyObj
);
1856 wxPyEndBlockThreads(blocked
);
1860 #include <wx/stdpaths.h>
1862 wxStandardPaths
*StandardPaths_Get(){
1863 return (wxStandardPaths
*) &wxStandardPaths::Get();
1865 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1866 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1870 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "index", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1880 arg1
= (int)SWIG_As_int(obj0
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 if (!wxPyCheckForApp()) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1891 wxColour
* resultptr
;
1892 resultptr
= new wxColour((wxColour
&) result
);
1893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1901 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "index", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1911 arg1
= (int)SWIG_As_int(obj0
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 if (!wxPyCheckForApp()) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1923 resultptr
= new wxFont((wxFont
&) result
);
1924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1932 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "index", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1942 arg1
= (int)SWIG_As_int(obj0
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 if (!wxPyCheckForApp()) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_From_int((int)result
);
1959 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1963 PyObject
* obj0
= 0 ;
1965 (char *) "index", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1969 arg1
= (int)SWIG_As_int(obj0
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 if (!wxPyCheckForApp()) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1988 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1997 if (!wxPyCheckForApp()) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (int)wxSystemSettings::GetScreenType();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 resultobj
= SWIG_From_int((int)result
);
2011 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "screen", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2020 arg1
= (int)SWIG_As_int(obj0
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 if (!wxPyCheckForApp()) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 Py_INCREF(Py_None
); resultobj
= Py_None
;
2037 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2040 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2042 return Py_BuildValue((char *)"");
2044 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2045 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2050 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2055 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2057 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2064 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxSystemOptions
*result
;
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (wxSystemOptions
*)new wxSystemOptions();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2086 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxString
*arg1
= 0 ;
2089 wxString
*arg2
= 0 ;
2090 bool temp1
= false ;
2091 bool temp2
= false ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 (char *) "name",(char *) "value", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2100 arg1
= wxString_in_helper(obj0
);
2101 if (arg1
== NULL
) SWIG_fail
;
2105 arg2
= wxString_in_helper(obj1
);
2106 if (arg2
== NULL
) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxString
*arg1
= 0 ;
2143 bool temp1
= false ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2147 (char *) "name",(char *) "value", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2152 arg1
= wxString_in_helper(obj0
);
2153 if (arg1
== NULL
) SWIG_fail
;
2156 arg2
= (int)SWIG_As_int(obj1
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2180 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2182 wxString
*arg1
= 0 ;
2184 bool temp1
= false ;
2185 PyObject
* obj0
= 0 ;
2187 (char *) "name", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2192 arg1
= wxString_in_helper(obj0
);
2193 if (arg1
== NULL
) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2224 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxString
*arg1
= 0 ;
2228 bool temp1
= false ;
2229 PyObject
* obj0
= 0 ;
2231 (char *) "name", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2236 arg1
= wxString_in_helper(obj0
);
2237 if (arg1
== NULL
) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 resultobj
= SWIG_From_int((int)result
);
2262 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxString
*arg1
= 0 ;
2266 bool temp1
= false ;
2267 PyObject
* obj0
= 0 ;
2269 (char *) "name", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2274 arg1
= wxString_in_helper(obj0
);
2275 if (arg1
== NULL
) SWIG_fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2302 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2305 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2307 return Py_BuildValue((char *)"");
2309 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2310 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2315 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2320 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2322 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2329 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2330 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2335 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2340 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2342 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2349 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2350 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2355 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2360 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2362 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2369 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (long)wxNewId();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 resultobj
= SWIG_From_long((long)result
);
2391 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2394 PyObject
* obj0
= 0 ;
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2400 arg1
= (long)SWIG_As_long(obj0
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 Py_INCREF(Py_None
); resultobj
= Py_None
;
2416 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 result
= (long)wxGetCurrentId();
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 resultobj
= SWIG_From_long((long)result
);
2438 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2442 PyObject
* obj0
= 0 ;
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2448 arg1
= (int)SWIG_As_int(obj0
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 result
= (bool)wxIsStockID(arg1
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2466 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2469 wxString
*arg2
= 0 ;
2471 bool temp2
= false ;
2472 PyObject
* obj0
= 0 ;
2473 PyObject
* obj1
= 0 ;
2475 (char *) "id",(char *) "label", NULL
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2479 arg1
= (int)SWIG_As_int(obj0
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 arg2
= wxString_in_helper(obj1
);
2483 if (arg2
== NULL
) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2510 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2514 PyObject
* obj0
= 0 ;
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2520 arg1
= (int)SWIG_As_int(obj0
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 result
= wxGetStockLabel(arg1
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2542 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
*resultobj
;
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2550 if (!wxPyCheckForApp()) SWIG_fail
;
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2557 Py_INCREF(Py_None
); resultobj
= Py_None
;
2564 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2572 if (!wxPyCheckForApp()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 Py_INCREF(Py_None
); resultobj
= Py_None
;
2586 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 bool arg1
= (bool) true ;
2590 PyObject
* obj0
= 0 ;
2592 (char *) "resetTimer", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2597 arg1
= (bool)SWIG_As_bool(obj0
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 result
= (long)wxGetElapsedTime(arg1
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= SWIG_From_long((long)result
);
2614 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 int *arg1
= (int *) 0 ;
2617 int *arg2
= (int *) 0 ;
2626 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2627 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2630 if (!wxPyCheckForApp()) SWIG_fail
;
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 wxGetMousePosition(arg1
,arg2
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2637 Py_INCREF(Py_None
); resultobj
= Py_None
;
2638 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2639 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2640 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2641 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2648 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 result
= (bool)wxIsBusy();
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2672 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2700 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2703 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2705 bool temp1
= false ;
2706 PyObject
* obj0
= 0 ;
2708 (char *) "command", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2714 arg1
= wxString_in_helper(obj0
);
2715 if (arg1
== NULL
) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (bool)wxShell((wxString
const &)*arg1
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2743 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2764 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 int *arg1
= (int *) 0 ;
2767 int *arg2
= (int *) 0 ;
2777 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2778 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= (int)wxGetOsVersion(arg1
,arg2
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2787 resultobj
= SWIG_From_int((int)result
);
2788 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2789 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2790 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2791 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2798 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 result
= wxGetOsDescription();
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2826 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (long)wxGetFreeMemory();
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_From_long((long)result
);
2848 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "wFlags", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2858 arg1
= (int)SWIG_As_int(obj0
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 if (!wxPyCheckForApp()) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2877 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2880 PyObject
* obj0
= 0 ;
2882 (char *) "secs", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2886 arg1
= (int)SWIG_As_int(obj0
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 unsigned long arg1
;
2905 PyObject
* obj0
= 0 ;
2907 (char *) "milliseconds", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2911 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 Py_INCREF(Py_None
); resultobj
= Py_None
;
2927 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 unsigned long arg1
;
2930 PyObject
* obj0
= 0 ;
2932 (char *) "microseconds", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2936 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2945 Py_INCREF(Py_None
); resultobj
= Py_None
;
2952 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "enable", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2961 arg1
= (bool)SWIG_As_bool(obj0
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 wxEnableTopLevelWindows(arg1
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2970 Py_INCREF(Py_None
); resultobj
= Py_None
;
2977 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxString
*arg1
= 0 ;
2981 bool temp1
= false ;
2982 PyObject
* obj0
= 0 ;
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2989 arg1
= wxString_in_helper(obj0
);
2990 if (arg1
== NULL
) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3021 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= wxGetEmailAddress();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3049 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 result
= wxGetHostName();
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3077 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= wxGetFullHostName();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3105 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= wxGetUserId();
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3133 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 result
= wxGetUserName();
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3161 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= wxGetHomeDir();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3189 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3192 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3194 bool temp1
= false ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "user", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3203 arg1
= wxString_in_helper(obj0
);
3204 if (arg1
== NULL
) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= wxGetUserHome((wxString
const &)*arg1
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3236 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 unsigned long result
;
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (unsigned long)wxGetProcessId();
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3258 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 Py_INCREF(Py_None
); resultobj
= Py_None
;
3279 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3282 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3283 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3284 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3289 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3290 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3291 int arg6
= (int) 0 ;
3292 wxWindow
*arg7
= (wxWindow
*) NULL
;
3293 int arg8
= (int) -1 ;
3294 int arg9
= (int) -1 ;
3296 bool temp1
= false ;
3297 bool temp2
= false ;
3298 bool temp3
= false ;
3299 bool temp4
= false ;
3300 bool temp5
= false ;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3303 PyObject
* obj2
= 0 ;
3304 PyObject
* obj3
= 0 ;
3305 PyObject
* obj4
= 0 ;
3306 PyObject
* obj5
= 0 ;
3307 PyObject
* obj6
= 0 ;
3308 PyObject
* obj7
= 0 ;
3309 PyObject
* obj8
= 0 ;
3311 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3317 arg1
= wxString_in_helper(obj0
);
3318 if (arg1
== NULL
) SWIG_fail
;
3324 arg2
= wxString_in_helper(obj1
);
3325 if (arg2
== NULL
) SWIG_fail
;
3331 arg3
= wxString_in_helper(obj2
);
3332 if (arg3
== NULL
) SWIG_fail
;
3338 arg4
= wxString_in_helper(obj3
);
3339 if (arg4
== NULL
) SWIG_fail
;
3345 arg5
= wxString_in_helper(obj4
);
3346 if (arg5
== NULL
) SWIG_fail
;
3351 arg6
= (int)SWIG_As_int(obj5
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3355 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 arg8
= (int)SWIG_As_int(obj7
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3363 arg9
= (int)SWIG_As_int(obj8
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3367 if (!wxPyCheckForApp()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3427 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxString
*arg1
= 0 ;
3430 wxString
*arg2
= 0 ;
3431 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3432 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3433 wxWindow
*arg4
= (wxWindow
*) NULL
;
3435 bool temp1
= false ;
3436 bool temp2
= false ;
3437 bool temp3
= false ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3440 PyObject
* obj2
= 0 ;
3441 PyObject
* obj3
= 0 ;
3443 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3448 arg1
= wxString_in_helper(obj0
);
3449 if (arg1
== NULL
) SWIG_fail
;
3453 arg2
= wxString_in_helper(obj1
);
3454 if (arg2
== NULL
) SWIG_fail
;
3459 arg3
= wxString_in_helper(obj2
);
3460 if (arg3
== NULL
) SWIG_fail
;
3465 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 if (!wxPyCheckForApp()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3513 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxString
*arg1
= 0 ;
3516 wxString
*arg2
= 0 ;
3517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3519 wxWindow
*arg4
= (wxWindow
*) NULL
;
3521 bool temp1
= false ;
3522 bool temp2
= false ;
3523 bool temp3
= false ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3526 PyObject
* obj2
= 0 ;
3527 PyObject
* obj3
= 0 ;
3529 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3534 arg1
= wxString_in_helper(obj0
);
3535 if (arg1
== NULL
) SWIG_fail
;
3539 arg2
= wxString_in_helper(obj1
);
3540 if (arg2
== NULL
) SWIG_fail
;
3545 arg3
= wxString_in_helper(obj2
);
3546 if (arg3
== NULL
) SWIG_fail
;
3551 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 if (!wxPyCheckForApp()) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3599 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3601 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3602 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3603 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3604 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3605 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3608 wxWindow
*arg5
= (wxWindow
*) NULL
;
3610 bool temp1
= false ;
3611 bool temp2
= false ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3615 PyObject
* obj2
= 0 ;
3616 PyObject
* obj3
= 0 ;
3617 PyObject
* obj4
= 0 ;
3619 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3625 arg1
= wxString_in_helper(obj0
);
3626 if (arg1
== NULL
) SWIG_fail
;
3632 arg2
= wxString_in_helper(obj1
);
3633 if (arg2
== NULL
) SWIG_fail
;
3638 arg3
= (long)SWIG_As_long(obj2
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3648 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3652 if (!wxPyCheckForApp()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3688 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxString
*arg1
= 0 ;
3691 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3692 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3695 wxWindow
*arg4
= (wxWindow
*) NULL
;
3696 int arg5
= (int) -1 ;
3697 int arg6
= (int) -1 ;
3698 bool arg7
= (bool) true ;
3700 bool temp1
= false ;
3701 bool temp2
= false ;
3702 bool temp3
= false ;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3705 PyObject
* obj2
= 0 ;
3706 PyObject
* obj3
= 0 ;
3707 PyObject
* obj4
= 0 ;
3708 PyObject
* obj5
= 0 ;
3709 PyObject
* obj6
= 0 ;
3711 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3716 arg1
= wxString_in_helper(obj0
);
3717 if (arg1
== NULL
) SWIG_fail
;
3722 arg2
= wxString_in_helper(obj1
);
3723 if (arg2
== NULL
) SWIG_fail
;
3729 arg3
= wxString_in_helper(obj2
);
3730 if (arg3
== NULL
) SWIG_fail
;
3735 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3739 arg5
= (int)SWIG_As_int(obj4
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 arg6
= (int)SWIG_As_int(obj5
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 arg7
= (bool)SWIG_As_bool(obj6
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3751 if (!wxPyCheckForApp()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3795 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxString
*arg1
= 0 ;
3798 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3799 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3802 wxWindow
*arg4
= (wxWindow
*) NULL
;
3804 bool temp1
= false ;
3805 bool temp2
= false ;
3806 bool temp3
= false ;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3809 PyObject
* obj2
= 0 ;
3810 PyObject
* obj3
= 0 ;
3812 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3817 arg1
= wxString_in_helper(obj0
);
3818 if (arg1
== NULL
) SWIG_fail
;
3823 arg2
= wxString_in_helper(obj1
);
3824 if (arg2
== NULL
) SWIG_fail
;
3830 arg3
= wxString_in_helper(obj2
);
3831 if (arg3
== NULL
) SWIG_fail
;
3836 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3840 if (!wxPyCheckForApp()) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3884 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3886 wxString
*arg1
= 0 ;
3887 wxString
*arg2
= 0 ;
3889 wxString
*arg4
= (wxString
*) 0 ;
3890 wxWindow
*arg5
= (wxWindow
*) NULL
;
3891 int arg6
= (int) -1 ;
3892 int arg7
= (int) -1 ;
3893 bool arg8
= (bool) true ;
3894 int arg9
= (int) 150 ;
3895 int arg10
= (int) 200 ;
3897 bool temp1
= false ;
3898 bool temp2
= false ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3901 PyObject
* obj2
= 0 ;
3902 PyObject
* obj3
= 0 ;
3903 PyObject
* obj4
= 0 ;
3904 PyObject
* obj5
= 0 ;
3905 PyObject
* obj6
= 0 ;
3906 PyObject
* obj7
= 0 ;
3907 PyObject
* obj8
= 0 ;
3909 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3914 arg1
= wxString_in_helper(obj0
);
3915 if (arg1
== NULL
) SWIG_fail
;
3919 arg2
= wxString_in_helper(obj1
);
3920 if (arg2
== NULL
) SWIG_fail
;
3924 arg3
= PyList_Size(obj2
);
3925 arg4
= wxString_LIST_helper(obj2
);
3926 if (arg4
== NULL
) SWIG_fail
;
3929 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg6
= (int)SWIG_As_int(obj4
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 arg7
= (int)SWIG_As_int(obj5
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3941 arg8
= (bool)SWIG_As_bool(obj6
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 arg9
= (int)SWIG_As_int(obj7
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 arg10
= (int)SWIG_As_int(obj8
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3953 if (!wxPyCheckForApp()) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3976 if (arg4
) delete [] arg4
;
3989 if (arg4
) delete [] arg4
;
3995 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxString
*arg1
= 0 ;
3998 wxString
*arg2
= 0 ;
4000 wxString
*arg4
= (wxString
*) 0 ;
4001 wxWindow
*arg5
= (wxWindow
*) NULL
;
4002 int arg6
= (int) -1 ;
4003 int arg7
= (int) -1 ;
4004 bool arg8
= (bool) true ;
4005 int arg9
= (int) 150 ;
4006 int arg10
= (int) 200 ;
4008 bool temp1
= false ;
4009 bool temp2
= false ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4012 PyObject
* obj2
= 0 ;
4013 PyObject
* obj3
= 0 ;
4014 PyObject
* obj4
= 0 ;
4015 PyObject
* obj5
= 0 ;
4016 PyObject
* obj6
= 0 ;
4017 PyObject
* obj7
= 0 ;
4018 PyObject
* obj8
= 0 ;
4020 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4025 arg1
= wxString_in_helper(obj0
);
4026 if (arg1
== NULL
) SWIG_fail
;
4030 arg2
= wxString_in_helper(obj1
);
4031 if (arg2
== NULL
) SWIG_fail
;
4035 arg3
= PyList_Size(obj2
);
4036 arg4
= wxString_LIST_helper(obj2
);
4037 if (arg4
== NULL
) SWIG_fail
;
4040 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4044 arg6
= (int)SWIG_As_int(obj4
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 arg7
= (int)SWIG_As_int(obj5
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 arg8
= (bool)SWIG_As_bool(obj6
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4056 arg9
= (int)SWIG_As_int(obj7
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4060 arg10
= (int)SWIG_As_int(obj8
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4064 if (!wxPyCheckForApp()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_From_int((int)result
);
4081 if (arg4
) delete [] arg4
;
4094 if (arg4
) delete [] arg4
;
4100 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxString
*arg1
= 0 ;
4103 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4104 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4105 int arg3
= (int) wxOK
|wxCENTRE
;
4106 wxWindow
*arg4
= (wxWindow
*) NULL
;
4107 int arg5
= (int) -1 ;
4108 int arg6
= (int) -1 ;
4110 bool temp1
= false ;
4111 bool temp2
= false ;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4114 PyObject
* obj2
= 0 ;
4115 PyObject
* obj3
= 0 ;
4116 PyObject
* obj4
= 0 ;
4117 PyObject
* obj5
= 0 ;
4119 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4124 arg1
= wxString_in_helper(obj0
);
4125 if (arg1
== NULL
) SWIG_fail
;
4130 arg2
= wxString_in_helper(obj1
);
4131 if (arg2
== NULL
) SWIG_fail
;
4136 arg3
= (int)SWIG_As_int(obj2
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4140 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 arg5
= (int)SWIG_As_int(obj4
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 arg6
= (int)SWIG_As_int(obj5
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 if (!wxPyCheckForApp()) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_From_int((int)result
);
4182 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxString
*arg1
= 0 ;
4185 wxString
*arg2
= 0 ;
4186 wxString
*arg3
= 0 ;
4188 long arg5
= (long) 0 ;
4189 long arg6
= (long) 100 ;
4190 wxWindow
*arg7
= (wxWindow
*) NULL
;
4191 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4192 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4194 bool temp1
= false ;
4195 bool temp2
= false ;
4196 bool temp3
= false ;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4200 PyObject
* obj2
= 0 ;
4201 PyObject
* obj3
= 0 ;
4202 PyObject
* obj4
= 0 ;
4203 PyObject
* obj5
= 0 ;
4204 PyObject
* obj6
= 0 ;
4205 PyObject
* obj7
= 0 ;
4207 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4212 arg1
= wxString_in_helper(obj0
);
4213 if (arg1
== NULL
) SWIG_fail
;
4217 arg2
= wxString_in_helper(obj1
);
4218 if (arg2
== NULL
) SWIG_fail
;
4222 arg3
= wxString_in_helper(obj2
);
4223 if (arg3
== NULL
) SWIG_fail
;
4226 arg4
= (long)SWIG_As_long(obj3
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 arg5
= (long)SWIG_As_long(obj4
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 arg6
= (long)SWIG_As_long(obj5
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4243 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4247 if (!wxPyCheckForApp()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= SWIG_From_long((long)result
);
4285 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4294 if (!wxPyCheckForApp()) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (bool)wxColourDisplay();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4310 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4319 if (!wxPyCheckForApp()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (int)wxDisplayDepth();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= SWIG_From_int((int)result
);
4333 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4342 if (!wxPyCheckForApp()) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (int)wxGetDisplayDepth();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_From_int((int)result
);
4356 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 int *arg1
= (int *) 0 ;
4359 int *arg2
= (int *) 0 ;
4368 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4369 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4372 if (!wxPyCheckForApp()) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 wxDisplaySize(arg1
,arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4380 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4381 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4382 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4383 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4390 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4399 if (!wxPyCheckForApp()) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= wxGetDisplaySize();
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 resultptr
= new wxSize((wxSize
&) result
);
4409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4417 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 int *arg1
= (int *) 0 ;
4420 int *arg2
= (int *) 0 ;
4429 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4430 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4433 if (!wxPyCheckForApp()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxDisplaySizeMM(arg1
,arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4442 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4443 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4444 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4451 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4460 if (!wxPyCheckForApp()) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= wxGetDisplaySizeMM();
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4469 resultptr
= new wxSize((wxSize
&) result
);
4470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4478 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 int *arg1
= (int *) 0 ;
4481 int *arg2
= (int *) 0 ;
4482 int *arg3
= (int *) 0 ;
4483 int *arg4
= (int *) 0 ;
4496 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4497 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4498 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4499 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4502 if (!wxPyCheckForApp()) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 Py_INCREF(Py_None
); resultobj
= Py_None
;
4510 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4511 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4512 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4513 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4515 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4516 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4517 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4524 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4533 if (!wxPyCheckForApp()) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= wxGetClientDisplayRect();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4542 resultptr
= new wxRect((wxRect
&) result
);
4543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4551 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxCursor
*arg1
= 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "cursor", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4564 PyErr_SetString(PyExc_TypeError
,"null reference");
4568 if (!wxPyCheckForApp()) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "cursor", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 if (!wxPyCheckForApp()) SWIG_fail
;
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxBeginBusyCursor(arg1
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4619 if (!wxPyCheckForApp()) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (wxWindow
*)wxGetActiveWindow();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= wxPyMake_wxObject(result
, 0);
4635 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4640 PyObject
* obj0
= 0 ;
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4648 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4651 if (!wxPyCheckForApp()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= wxPyMake_wxObject(result
, 0);
4667 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4672 PyObject
* obj0
= 0 ;
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4680 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4683 if (!wxPyCheckForApp()) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= wxPyMake_wxObject(result
, 0);
4699 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxWindow
*arg1
= (wxWindow
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "win", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 if (!wxPyCheckForApp()) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= wxPyMake_wxObject(result
, 0);
4728 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4732 PyObject
* obj0
= 0 ;
4734 (char *) "key", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4738 arg1
= (int)SWIG_As_int(obj0
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 if (!wxPyCheckForApp()) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4757 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4765 if (!wxPyCheckForApp()) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 wxWakeUpMainThread();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 Py_INCREF(Py_None
); resultobj
= Py_None
;
4779 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4787 if (!wxPyCheckForApp()) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 Py_INCREF(Py_None
); resultobj
= Py_None
;
4801 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4809 if (!wxPyCheckForApp()) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxMutexGuiLocker
*result
;
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4832 if (!wxPyCheckForApp()) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4846 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4874 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4876 return Py_BuildValue((char *)"");
4878 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (bool)wxThread_IsMain();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4902 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxString
*arg1
= 0 ;
4906 bool temp1
= false ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "tip", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4914 arg1
= wxString_in_helper(obj0
);
4915 if (arg1
== NULL
) SWIG_fail
;
4919 if (!wxPyCheckForApp()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= wxPyMake_wxObject(result
, 1);
4943 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4946 wxString
*arg2
= 0 ;
4947 bool temp2
= false ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4951 (char *) "self",(char *) "tip", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4958 arg2
= wxString_in_helper(obj1
);
4959 if (arg2
== NULL
) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 (arg1
)->SetTip((wxString
const &)*arg2
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4984 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4990 (char *) "self", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 result
= (arg1
)->GetTip();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5016 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (wxWindow
*)(arg1
)->GetWindow();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= wxPyMake_wxObject(result
, 0);
5044 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5047 PyObject
* obj0
= 0 ;
5049 (char *) "flag", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5053 arg1
= (bool)SWIG_As_bool(obj0
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 wxToolTip::Enable(arg1
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 Py_INCREF(Py_None
); resultobj
= Py_None
;
5069 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "milliseconds", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5078 arg1
= (long)SWIG_As_long(obj0
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxToolTip::SetDelay(arg1
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5099 return Py_BuildValue((char *)"");
5101 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxWindow
*arg1
= (wxWindow
*) 0 ;
5107 PyObject
* obj0
= 0 ;
5108 PyObject
* obj1
= 0 ;
5110 (char *) "window",(char *) "size", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5118 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5121 if (!wxPyCheckForApp()) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5135 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxCaret
*arg1
= (wxCaret
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5140 (char *) "self", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 Py_INCREF(Py_None
); resultobj
= Py_None
;
5160 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxCaret
*arg1
= (wxCaret
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "self", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (bool)(arg1
)->IsOk();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5188 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxCaret
*arg1
= (wxCaret
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5194 (char *) "self", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (bool)(arg1
)->IsVisible();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5216 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxCaret
*arg1
= (wxCaret
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5222 (char *) "self", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (arg1
)->GetPosition();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 wxPoint
* resultptr
;
5237 resultptr
= new wxPoint((wxPoint
&) result
);
5238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5246 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxCaret
*arg1
= (wxCaret
*) 0 ;
5249 int *arg2
= (int *) 0 ;
5250 int *arg3
= (int *) 0 ;
5255 PyObject
* obj0
= 0 ;
5257 (char *) "self", NULL
5260 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5261 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 (arg1
)->GetPosition(arg2
,arg3
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 Py_INCREF(Py_None
); resultobj
= Py_None
;
5273 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5274 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5275 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5276 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5283 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxCaret
*arg1
= (wxCaret
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "self", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (arg1
)->GetSize();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5304 resultptr
= new wxSize((wxSize
&) result
);
5305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5313 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxCaret
*arg1
= (wxCaret
*) 0 ;
5316 int *arg2
= (int *) 0 ;
5317 int *arg3
= (int *) 0 ;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "self", NULL
5327 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5328 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->GetSize(arg2
,arg3
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5341 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5342 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5343 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5350 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxCaret
*arg1
= (wxCaret
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5356 (char *) "self", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (wxWindow
*)(arg1
)->GetWindow();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= wxPyMake_wxObject(result
, 0);
5378 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxCaret
*arg1
= (wxCaret
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 PyObject
* obj2
= 0 ;
5387 (char *) "self",(char *) "x",(char *) "y", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 arg2
= (int)SWIG_As_int(obj1
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5395 arg3
= (int)SWIG_As_int(obj2
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 (arg1
)->Move(arg2
,arg3
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 Py_INCREF(Py_None
); resultobj
= Py_None
;
5411 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxCaret
*arg1
= (wxCaret
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "pt", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5427 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 (arg1
)->Move((wxPoint
const &)*arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxCaret
*arg1
= (wxCaret
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 PyObject
* obj2
= 0 ;
5452 (char *) "self",(char *) "width",(char *) "height", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 arg2
= (int)SWIG_As_int(obj1
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5460 arg3
= (int)SWIG_As_int(obj2
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->SetSize(arg2
,arg3
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxCaret
*arg1
= (wxCaret
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5484 (char *) "self",(char *) "size", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 (arg1
)->SetSize((wxSize
const &)*arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 Py_INCREF(Py_None
); resultobj
= Py_None
;
5508 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxCaret
*arg1
= (wxCaret
*) 0 ;
5511 int arg2
= (int) true ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "show", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 arg2
= (int)SWIG_As_int(obj1
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxCaret
*arg1
= (wxCaret
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5567 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5569 return Py_BuildValue((char *)"");
5571 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (int)wxCaret_GetBlinkTime();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_From_int((int)result
);
5593 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5596 PyObject
* obj0
= 0 ;
5598 (char *) "milliseconds", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5602 arg1
= (int)SWIG_As_int(obj0
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 wxCaret_SetBlinkTime(arg1
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 Py_INCREF(Py_None
); resultobj
= Py_None
;
5618 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5621 wxBusyCursor
*result
;
5622 PyObject
* obj0
= 0 ;
5624 (char *) "cursor", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 if (!wxPyCheckForApp()) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5647 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5675 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5677 return Py_BuildValue((char *)"");
5679 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxWindow
*arg1
= (wxWindow
*) NULL
;
5682 wxWindowDisabler
*result
;
5683 PyObject
* obj0
= 0 ;
5685 (char *) "winToSkip", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 if (!wxPyCheckForApp()) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5708 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5713 (char *) "self", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 Py_INCREF(Py_None
); resultobj
= Py_None
;
5733 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5736 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5738 return Py_BuildValue((char *)"");
5740 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxString
*arg1
= 0 ;
5744 bool temp1
= false ;
5745 PyObject
* obj0
= 0 ;
5747 (char *) "message", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5752 arg1
= wxString_in_helper(obj0
);
5753 if (arg1
== NULL
) SWIG_fail
;
5757 if (!wxPyCheckForApp()) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5779 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5784 (char *) "self", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5807 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5809 return Py_BuildValue((char *)"");
5811 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxStopWatch
*result
;
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (wxStopWatch
*)new wxStopWatch();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5833 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5836 long arg2
= (long) 0 ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5840 (char *) "self",(char *) "t0", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 arg2
= (long)SWIG_As_long(obj1
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 (arg1
)->Start(arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "self", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 Py_INCREF(Py_None
); resultobj
= Py_None
;
5889 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 Py_INCREF(Py_None
); resultobj
= Py_None
;
5914 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5920 (char *) "self", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_From_long((long)result
);
5940 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5945 return Py_BuildValue((char *)"");
5947 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 int arg1
= (int) 9 ;
5950 int arg2
= (int) wxID_FILE1
;
5951 wxFileHistory
*result
;
5952 PyObject
* obj0
= 0 ;
5953 PyObject
* obj1
= 0 ;
5955 (char *) "maxFiles",(char *) "idBase", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5960 arg1
= (int)SWIG_As_int(obj0
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 arg2
= (int)SWIG_As_int(obj1
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5981 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 Py_INCREF(Py_None
); resultobj
= Py_None
;
6006 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6009 wxString
*arg2
= 0 ;
6010 bool temp2
= false ;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6014 (char *) "self",(char *) "file", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 arg2
= wxString_in_helper(obj1
);
6022 if (arg2
== NULL
) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 Py_INCREF(Py_None
); resultobj
= Py_None
;
6047 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6054 (char *) "self",(char *) "i", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6060 arg2
= (int)SWIG_As_int(obj1
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->RemoveFileFromHistory(arg2
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 Py_INCREF(Py_None
); resultobj
= Py_None
;
6076 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6082 (char *) "self", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_From_int((int)result
);
6102 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6105 wxMenu
*arg2
= (wxMenu
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "menu", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->UseMenu(arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 Py_INCREF(Py_None
); resultobj
= Py_None
;
6131 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6134 wxMenu
*arg2
= (wxMenu
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6138 (char *) "self",(char *) "menu", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->RemoveMenu(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6163 wxConfigBase
*arg2
= 0 ;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6167 (char *) "self",(char *) "config", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6177 PyErr_SetString(PyExc_TypeError
,"null reference");
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->Load(*arg2
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6197 wxConfigBase
*arg2
= 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6201 (char *) "self",(char *) "config", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6211 PyErr_SetString(PyExc_TypeError
,"null reference");
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->Save(*arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->AddFilesToMenu();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6256 wxMenu
*arg2
= (wxMenu
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6260 (char *) "self",(char *) "menu", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 (arg1
)->AddFilesToMenu(arg2
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 Py_INCREF(Py_None
); resultobj
= Py_None
;
6282 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "i", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 arg2
= (int)SWIG_As_int(obj1
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6318 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6324 (char *) "self", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= SWIG_From_int((int)result
);
6344 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6347 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6349 return Py_BuildValue((char *)"");
6351 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxString
*arg1
= 0 ;
6354 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6355 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6356 wxSingleInstanceChecker
*result
;
6357 bool temp1
= false ;
6358 bool temp2
= false ;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6362 (char *) "name",(char *) "path", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6367 arg1
= wxString_in_helper(obj0
);
6368 if (arg1
== NULL
) SWIG_fail
;
6373 arg2
= wxString_in_helper(obj1
);
6374 if (arg2
== NULL
) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6408 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxSingleInstanceChecker
*result
;
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6430 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6458 wxString
*arg2
= 0 ;
6459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6462 bool temp2
= false ;
6463 bool temp3
= false ;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6466 PyObject
* obj2
= 0 ;
6468 (char *) "self",(char *) "name",(char *) "path", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 arg2
= wxString_in_helper(obj1
);
6476 if (arg2
== NULL
) SWIG_fail
;
6481 arg3
= wxString_in_helper(obj2
);
6482 if (arg3
== NULL
) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6518 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6524 (char *) "self", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6546 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6549 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6551 return Py_BuildValue((char *)"");
6553 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxWindow
*arg1
= (wxWindow
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6560 PyObject
* obj2
= 0 ;
6562 (char *) "window",(char *) "dc",(char *) "method", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6572 PyErr_SetString(PyExc_TypeError
,"null reference");
6575 arg3
= (int)SWIG_As_int(obj2
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 result
= (arg1
)->GetTip();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6648 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6654 (char *) "self", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (size_t)(arg1
)->GetCurrentTip();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6674 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6677 wxString
*arg2
= 0 ;
6679 bool temp2
= false ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6683 (char *) "self",(char *) "tip", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6690 arg2
= wxString_in_helper(obj1
);
6691 if (arg2
== NULL
) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6722 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6725 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6727 return Py_BuildValue((char *)"");
6729 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6732 wxPyTipProvider
*result
;
6733 PyObject
* obj0
= 0 ;
6735 (char *) "currentTip", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6739 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6755 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6758 PyObject
*arg2
= (PyObject
*) 0 ;
6759 PyObject
*arg3
= (PyObject
*) 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6764 (char *) "self",(char *) "self",(char *) "_class", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 Py_INCREF(Py_None
); resultobj
= Py_None
;
6786 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6789 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6791 return Py_BuildValue((char *)"");
6793 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
;
6795 wxWindow
*arg1
= (wxWindow
*) 0 ;
6796 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6797 bool arg3
= (bool) true ;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6801 PyObject
* obj2
= 0 ;
6803 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 arg3
= (bool)SWIG_As_bool(obj2
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6832 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxString
*arg1
= 0 ;
6836 wxTipProvider
*result
;
6837 bool temp1
= false ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6841 (char *) "filename",(char *) "currentTip", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6846 arg1
= wxString_in_helper(obj0
);
6847 if (arg1
== NULL
) SWIG_fail
;
6850 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 if (!wxPyCheckForApp()) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6875 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6878 int arg2
= (int) -1 ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6883 (char *) "owner",(char *) "id", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6892 arg2
= (int)SWIG_As_int(obj1
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6910 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",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();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 Py_INCREF(Py_None
); resultobj
= Py_None
;
6935 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6938 PyObject
*arg2
= (PyObject
*) 0 ;
6939 PyObject
*arg3
= (PyObject
*) 0 ;
6940 int arg4
= (int) 1 ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 PyObject
* obj2
= 0 ;
6944 PyObject
* obj3
= 0 ;
6946 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 arg4
= (int)SWIG_As_int(obj3
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6975 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6976 int arg3
= (int) -1 ;
6977 PyObject
* obj0
= 0 ;
6978 PyObject
* obj1
= 0 ;
6979 PyObject
* obj2
= 0 ;
6981 (char *) "self",(char *) "owner",(char *) "id", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 arg3
= (int)SWIG_As_int(obj2
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 (arg1
)->SetOwner(arg2
,arg3
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 Py_INCREF(Py_None
); resultobj
= Py_None
;
7007 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7010 wxEvtHandler
*result
;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "self", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= wxPyMake_wxObject(result
, 0);
7035 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7038 int arg2
= (int) -1 ;
7039 bool arg3
= (bool) false ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7043 PyObject
* obj2
= 0 ;
7045 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 arg2
= (int)SWIG_As_int(obj1
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 arg3
= (bool)SWIG_As_bool(obj2
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7075 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7080 (char *) "self", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 Py_INCREF(Py_None
); resultobj
= Py_None
;
7100 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7104 PyObject
* obj0
= 0 ;
7106 (char *) "self", NULL
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7128 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "self", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_From_int((int)result
);
7154 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7160 (char *) "self", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7182 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7188 (char *) "self", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_From_int((int)result
);
7208 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7211 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7213 return Py_BuildValue((char *)"");
7215 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 int arg1
= (int) 0 ;
7218 int arg2
= (int) 0 ;
7219 wxTimerEvent
*result
;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7223 (char *) "timerid",(char *) "interval", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7228 arg1
= (int)SWIG_As_int(obj0
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7232 arg2
= (int)SWIG_As_int(obj1
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7249 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_From_int((int)result
);
7275 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7278 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7280 return Py_BuildValue((char *)"");
7282 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7283 PyObject
*resultobj
;
7285 wxTimerRunner
*result
;
7286 PyObject
* obj0
= 0 ;
7288 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7293 PyErr_SetString(PyExc_TypeError
,"null reference");
7297 if (!wxPyCheckForApp()) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7311 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7312 PyObject
*resultobj
;
7315 bool arg3
= (bool) false ;
7316 wxTimerRunner
*result
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj2
= 0 ;
7321 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7326 PyErr_SetString(PyExc_TypeError
,"null reference");
7329 arg2
= (int)SWIG_As_int(obj1
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 arg3
= (bool)SWIG_As_bool(obj2
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7336 if (!wxPyCheckForApp()) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7350 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7355 argc
= PyObject_Length(args
);
7356 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7357 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7363 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7371 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7374 if ((argc
>= 2) && (argc
<= 3)) {
7378 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7386 _v
= SWIG_Check_int(argv
[1]);
7389 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7391 _v
= SWIG_Check_bool(argv
[2]);
7393 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7399 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7404 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7433 bool arg3
= (bool) false ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7436 PyObject
* obj2
= 0 ;
7438 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 arg2
= (int)SWIG_As_int(obj1
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 arg3
= (bool)SWIG_As_bool(obj2
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->Start(arg2
,arg3
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7469 return Py_BuildValue((char *)"");
7471 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (wxLog
*)new wxLog();
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7493 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (bool)wxLog::IsEnabled();
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7517 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 bool arg1
= (bool) true ;
7521 PyObject
* obj0
= 0 ;
7523 (char *) "doIt", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7528 arg1
= (bool)SWIG_As_bool(obj0
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (bool)wxLog::EnableLogging(arg1
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7547 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7550 wxChar
*arg2
= (wxChar
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 PyObject
* obj2
= 0 ;
7556 (char *) "level",(char *) "szString",(char *) "t", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7560 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7564 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 Py_INCREF(Py_None
); resultobj
= Py_None
;
7580 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxLog
*arg1
= (wxLog
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7605 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxLog::FlushActive();
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 Py_INCREF(Py_None
); resultobj
= Py_None
;
7626 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (wxLog
*)wxLog::GetActiveTarget();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7648 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxLog
*arg1
= (wxLog
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "pLogger", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7674 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 Py_INCREF(Py_None
); resultobj
= Py_None
;
7695 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 bool arg1
= (bool) true ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "bVerbose", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7726 arg1
= (bool)SWIG_As_bool(obj0
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 wxLog::SetVerbose(arg1
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7746 PyObject
* obj0
= 0 ;
7748 (char *) "logLevel", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7752 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 wxLog::SetLogLevel(arg1
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 Py_INCREF(Py_None
); resultobj
= Py_None
;
7768 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 wxLog::DontCreateOnDemand();
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 Py_INCREF(Py_None
); resultobj
= Py_None
;
7789 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "ulMask", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7798 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 wxLog::SetTraceMask(arg1
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxString
*arg1
= 0 ;
7817 bool temp1
= false ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "str", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7825 arg1
= wxString_in_helper(obj0
);
7826 if (arg1
== NULL
) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxLog::AddTraceMask((wxString
const &)*arg1
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 Py_INCREF(Py_None
); resultobj
= Py_None
;
7851 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxString
*arg1
= 0 ;
7854 bool temp1
= false ;
7855 PyObject
* obj0
= 0 ;
7857 (char *) "str", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7862 arg1
= wxString_in_helper(obj0
);
7863 if (arg1
== NULL
) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 Py_INCREF(Py_None
); resultobj
= Py_None
;
7888 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 wxLog::ClearTraceMasks();
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 Py_INCREF(Py_None
); resultobj
= Py_None
;
7909 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxArrayString
*result
;
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7921 result
= (wxArrayString
*) &_result_ref
;
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= wxArrayString2PyList_helper(*result
);
7936 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxChar
*arg1
= (wxChar
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 wxLog::SetTimestamp((wxChar
const *)arg1
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (bool)wxLog::GetVerbose();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7985 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (wxTraceMask
)wxLog::GetTraceMask();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8007 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxChar
*arg1
= (wxChar
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "mask", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8035 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (wxLogLevel
)wxLog::GetLogLevel();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8057 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (wxChar
*)wxLog::GetTimestamp();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8079 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= Log_TimeStamp();
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8107 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxLog
*arg1
= (wxLog
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 wxLog_Destroy(arg1
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8135 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8137 return Py_BuildValue((char *)"");
8139 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxLogStderr
*result
;
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (wxLogStderr
*)new wxLogStderr();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8161 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8164 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8166 return Py_BuildValue((char *)"");
8168 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8171 wxLogTextCtrl
*result
;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "pTextCtrl", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8194 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8197 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8199 return Py_BuildValue((char *)"");
8201 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (wxLogGui
*)new wxLogGui();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8223 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8226 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8228 return Py_BuildValue((char *)"");
8230 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxFrame
*arg1
= (wxFrame
*) 0 ;
8233 wxString
*arg2
= 0 ;
8234 bool arg3
= (bool) true ;
8235 bool arg4
= (bool) true ;
8236 wxLogWindow
*result
;
8237 bool temp2
= false ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8241 PyObject
* obj3
= 0 ;
8243 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8250 arg2
= wxString_in_helper(obj1
);
8251 if (arg2
== NULL
) SWIG_fail
;
8255 arg3
= (bool)SWIG_As_bool(obj2
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8259 arg4
= (bool)SWIG_As_bool(obj3
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8284 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8287 bool arg2
= (bool) true ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8291 (char *) "self",(char *) "bShow", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8298 arg2
= (bool)SWIG_As_bool(obj1
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= wxPyMake_wxObject(result
, 0);
8343 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "self", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8369 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8373 PyObject
* obj0
= 0 ;
8375 (char *) "self", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8397 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8404 (char *) "self",(char *) "bDoPass", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8410 arg2
= (bool)SWIG_As_bool(obj1
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 (arg1
)->PassMessages(arg2
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 Py_INCREF(Py_None
); resultobj
= Py_None
;
8426 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8431 return Py_BuildValue((char *)"");
8433 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxLog
*arg1
= (wxLog
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "logger", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (wxLogChain
*)new wxLogChain(arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8459 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8462 wxLog
*arg2
= (wxLog
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "logger", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 (arg1
)->SetLog(arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 Py_INCREF(Py_None
); resultobj
= Py_None
;
8488 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "bDoPass", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg2
= (bool)SWIG_As_bool(obj1
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 (arg1
)->PassMessages(arg2
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8521 PyObject
* obj0
= 0 ;
8523 (char *) "self", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (bool)(arg1
)->IsPassingMessages();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8545 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "self", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (wxLog
*)(arg1
)->GetOldLog();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8571 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8576 return Py_BuildValue((char *)"");
8578 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 unsigned long result
;
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (unsigned long)wxSysErrorCode();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8600 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 unsigned long arg1
= (unsigned long) 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "nErrCode", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8611 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= wxSysErrorMsg(arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8634 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxString
*arg1
= 0 ;
8637 bool temp1
= false ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "msg", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8645 arg1
= wxString_in_helper(obj0
);
8646 if (arg1
== NULL
) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 wxPyLogFatalError((wxString
const &)*arg1
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxString
*arg1
= 0 ;
8674 bool temp1
= false ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "msg", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8682 arg1
= wxString_in_helper(obj0
);
8683 if (arg1
== NULL
) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 wxPyLogError((wxString
const &)*arg1
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8708 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxString
*arg1
= 0 ;
8711 bool temp1
= false ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "msg", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8719 arg1
= wxString_in_helper(obj0
);
8720 if (arg1
== NULL
) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 wxPyLogWarning((wxString
const &)*arg1
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8745 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxString
*arg1
= 0 ;
8748 bool temp1
= false ;
8749 PyObject
* obj0
= 0 ;
8751 (char *) "msg", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8756 arg1
= wxString_in_helper(obj0
);
8757 if (arg1
== NULL
) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 wxPyLogMessage((wxString
const &)*arg1
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxString
*arg1
= 0 ;
8785 bool temp1
= false ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "msg", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8793 arg1
= wxString_in_helper(obj0
);
8794 if (arg1
== NULL
) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 wxPyLogInfo((wxString
const &)*arg1
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxString
*arg1
= 0 ;
8822 bool temp1
= false ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "msg", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8830 arg1
= wxString_in_helper(obj0
);
8831 if (arg1
== NULL
) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 wxPyLogDebug((wxString
const &)*arg1
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxString
*arg1
= 0 ;
8859 bool temp1
= false ;
8860 PyObject
* obj0
= 0 ;
8862 (char *) "msg", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8867 arg1
= wxString_in_helper(obj0
);
8868 if (arg1
== NULL
) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxPyLogVerbose((wxString
const &)*arg1
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxString
*arg1
= 0 ;
8896 bool temp1
= false ;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "msg", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8904 arg1
= wxString_in_helper(obj0
);
8905 if (arg1
== NULL
) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 wxPyLogStatus((wxString
const &)*arg1
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxFrame
*arg1
= (wxFrame
*) 0 ;
8933 wxString
*arg2
= 0 ;
8934 bool temp2
= false ;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8938 (char *) "pFrame",(char *) "msg", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 arg2
= wxString_in_helper(obj1
);
8946 if (arg2
== NULL
) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxString
*arg1
= 0 ;
8974 bool temp1
= false ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "msg", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8982 arg1
= wxString_in_helper(obj0
);
8983 if (arg1
== NULL
) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 wxPyLogSysError((wxString
const &)*arg1
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9008 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 unsigned long arg1
;
9011 wxString
*arg2
= 0 ;
9012 bool temp2
= false ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "level",(char *) "msg", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 arg2
= wxString_in_helper(obj1
);
9024 if (arg2
== NULL
) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9050 PyObject
*resultobj
;
9051 unsigned long arg1
;
9052 wxString
*arg2
= 0 ;
9053 bool temp2
= false ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9058 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 arg2
= wxString_in_helper(obj1
);
9062 if (arg2
== NULL
) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9087 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9088 PyObject
*resultobj
;
9089 wxString
*arg1
= 0 ;
9090 wxString
*arg2
= 0 ;
9091 bool temp1
= false ;
9092 bool temp2
= false ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9096 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9098 arg1
= wxString_in_helper(obj0
);
9099 if (arg1
== NULL
) SWIG_fail
;
9103 arg2
= wxString_in_helper(obj1
);
9104 if (arg2
== NULL
) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9142 argc
= PyObject_Length(args
);
9143 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9144 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9149 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9153 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9156 return _wrap_LogTrace__SWIG_1(self
,args
);
9162 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9165 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9168 return _wrap_LogTrace__SWIG_0(self
,args
);
9173 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9178 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxString
*arg1
= 0 ;
9181 wxString
*arg2
= 0 ;
9182 bool temp1
= false ;
9183 bool temp2
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "title",(char *) "text", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 arg1
= wxString_in_helper(obj0
);
9193 if (arg1
== NULL
) SWIG_fail
;
9197 arg2
= wxString_in_helper(obj1
);
9198 if (arg2
== NULL
) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (wxLogNull
*)new wxLogNull();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9253 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9258 (char *) "self", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 Py_INCREF(Py_None
); resultobj
= Py_None
;
9278 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9281 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9283 return Py_BuildValue((char *)"");
9285 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (wxPyLog
*)new wxPyLog();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9307 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9310 PyObject
*arg2
= (PyObject
*) 0 ;
9311 PyObject
*arg3
= (PyObject
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9314 PyObject
* obj2
= 0 ;
9316 (char *) "self",(char *) "self",(char *) "_class", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 Py_INCREF(Py_None
); resultobj
= Py_None
;
9338 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9341 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9343 return Py_BuildValue((char *)"");
9345 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9348 int arg2
= (int) wxSIGTERM
;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9353 (char *) "pid",(char *) "sig", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9357 arg1
= (int)SWIG_As_int(obj0
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 arg2
= (int)SWIG_As_int(obj1
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_From_int((int)result
);
9377 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "pid", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9387 arg1
= (int)SWIG_As_int(obj0
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (bool)wxPyProcess::Exists(arg1
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9405 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxString
*arg1
= 0 ;
9408 int arg2
= (int) wxEXEC_ASYNC
;
9409 wxPyProcess
*result
;
9410 bool temp1
= false ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9414 (char *) "cmd",(char *) "flags", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9419 arg1
= wxString_in_helper(obj0
);
9420 if (arg1
== NULL
) SWIG_fail
;
9424 arg2
= (int)SWIG_As_int(obj1
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9449 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9452 int arg2
= (int) -1 ;
9453 wxPyProcess
*result
;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9457 (char *) "parent",(char *) "id", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 arg2
= (int)SWIG_As_int(obj1
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9483 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9486 PyObject
*arg2
= (PyObject
*) 0 ;
9487 PyObject
*arg3
= (PyObject
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "self",(char *) "self",(char *) "_class", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9514 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9521 PyObject
* obj2
= 0 ;
9523 (char *) "self",(char *) "pid",(char *) "status", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 arg2
= (int)SWIG_As_int(obj1
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9531 arg3
= (int)SWIG_As_int(obj2
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->base_OnTerminate(arg2
,arg3
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9552 (char *) "self", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 Py_INCREF(Py_None
); resultobj
= Py_None
;
9572 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9578 (char *) "self", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (bool)(arg1
)->IsRedirected();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9605 (char *) "self", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9628 wxInputStream
*result
;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 wxPyInputStream
* _ptr
= NULL
;
9648 _ptr
= new wxPyInputStream(result
);
9650 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9658 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9661 wxInputStream
*result
;
9662 PyObject
* obj0
= 0 ;
9664 (char *) "self", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 wxPyInputStream
* _ptr
= NULL
;
9681 _ptr
= new wxPyInputStream(result
);
9683 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9691 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9694 wxOutputStream
*result
;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9717 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9722 (char *) "self", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->CloseOutput();
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9770 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9798 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9826 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9829 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9831 return Py_BuildValue((char *)"");
9833 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 int arg1
= (int) 0 ;
9836 int arg2
= (int) 0 ;
9837 int arg3
= (int) 0 ;
9838 wxProcessEvent
*result
;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 PyObject
* obj2
= 0 ;
9843 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9848 arg1
= (int)SWIG_As_int(obj0
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 arg2
= (int)SWIG_As_int(obj1
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 arg3
= (int)SWIG_As_int(obj2
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9873 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (int)(arg1
)->GetPid();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_From_int((int)result
);
9899 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (int)(arg1
)->GetExitCode();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_From_int((int)result
);
9925 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9932 (char *) "self",(char *) "m_pid", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 arg2
= (int)SWIG_As_int(obj1
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9940 if (arg1
) (arg1
)->m_pid
= arg2
;
9942 Py_INCREF(Py_None
); resultobj
= Py_None
;
9949 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 result
= (int) ((arg1
)->m_pid
);
9963 resultobj
= SWIG_From_int((int)result
);
9970 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9977 (char *) "self",(char *) "m_exitcode", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 arg2
= (int)SWIG_As_int(obj1
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9985 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9987 Py_INCREF(Py_None
); resultobj
= Py_None
;
9994 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9998 PyObject
* obj0
= 0 ;
10000 (char *) "self", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10006 result
= (int) ((arg1
)->m_exitcode
);
10008 resultobj
= SWIG_From_int((int)result
);
10015 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
10017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10018 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
10020 return Py_BuildValue((char *)"");
10022 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxString
*arg1
= 0 ;
10025 int arg2
= (int) wxEXEC_ASYNC
;
10026 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
10028 bool temp1
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "command",(char *) "flags",(char *) "process", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10038 arg1
= wxString_in_helper(obj0
);
10039 if (arg1
== NULL
) SWIG_fail
;
10043 arg2
= (int)SWIG_As_int(obj1
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 if (!wxPyCheckForApp()) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_From_long((long)result
);
10073 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 int arg1
= (int) wxJOYSTICK1
;
10076 wxJoystick
*result
;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "joystick", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10084 arg1
= (int)SWIG_As_int(obj0
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 if (!wxPyCheckForApp()) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (wxJoystick
*)new wxJoystick(arg1
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10102 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (arg1
)->GetPosition();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10147 wxPoint
* resultptr
;
10148 resultptr
= new wxPoint((wxPoint
&) result
);
10149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10157 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (int)(arg1
)->GetZPosition();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_From_int((int)result
);
10183 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (int)(arg1
)->GetButtonState();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_From_int((int)result
);
10209 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (int)(arg1
)->GetPOVPosition();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_From_int((int)result
);
10235 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (int)(arg1
)->GetPOVCTSPosition();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_From_int((int)result
);
10261 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (int)(arg1
)->GetRudderPosition();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_From_int((int)result
);
10287 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (int)(arg1
)->GetUPosition();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_From_int((int)result
);
10313 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (int)(arg1
)->GetVPosition();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_From_int((int)result
);
10339 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (int)(arg1
)->GetMovementThreshold();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_From_int((int)result
);
10365 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "threshold", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 arg2
= (int)SWIG_As_int(obj1
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 (arg1
)->SetMovementThreshold(arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 Py_INCREF(Py_None
); resultobj
= Py_None
;
10394 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (bool)(arg1
)->IsOk();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10422 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (int)(arg1
)->GetNumberJoysticks();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_From_int((int)result
);
10448 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (int)(arg1
)->GetManufacturerId();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= SWIG_From_int((int)result
);
10474 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (int)(arg1
)->GetProductId();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_From_int((int)result
);
10500 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (arg1
)->GetProductName();
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10532 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (int)(arg1
)->GetXMin();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_From_int((int)result
);
10558 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (int)(arg1
)->GetYMin();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_From_int((int)result
);
10584 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (int)(arg1
)->GetZMin();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= SWIG_From_int((int)result
);
10610 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10614 PyObject
* obj0
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (int)(arg1
)->GetXMax();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= SWIG_From_int((int)result
);
10636 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (int)(arg1
)->GetYMax();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_From_int((int)result
);
10662 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (int)(arg1
)->GetZMax();
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= SWIG_From_int((int)result
);
10688 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (int)(arg1
)->GetNumberButtons();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= SWIG_From_int((int)result
);
10714 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10716 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (int)(arg1
)->GetNumberAxes();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_From_int((int)result
);
10740 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (int)(arg1
)->GetMaxButtons();
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_From_int((int)result
);
10766 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (int)(arg1
)->GetMaxAxes();
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= SWIG_From_int((int)result
);
10792 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (int)(arg1
)->GetPollingMin();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_From_int((int)result
);
10818 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (int)(arg1
)->GetPollingMax();
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_From_int((int)result
);
10844 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (int)(arg1
)->GetRudderMin();
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_From_int((int)result
);
10870 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (int)(arg1
)->GetRudderMax();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_From_int((int)result
);
10896 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (int)(arg1
)->GetUMin();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_From_int((int)result
);
10922 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (int)(arg1
)->GetUMax();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_From_int((int)result
);
10948 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (int)(arg1
)->GetVMin();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_From_int((int)result
);
10974 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (int)(arg1
)->GetVMax();
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= SWIG_From_int((int)result
);
11000 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (bool)(arg1
)->HasRudder();
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11028 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (bool)(arg1
)->HasZ();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)(arg1
)->HasU();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11084 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (bool)(arg1
)->HasV();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (bool)(arg1
)->HasPOV();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11140 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (bool)(arg1
)->HasPOV4Dir();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11168 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->HasPOVCTS();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11196 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11199 wxWindow
*arg2
= (wxWindow
*) 0 ;
11200 int arg3
= (int) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11215 arg3
= (int)SWIG_As_int(obj2
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "self", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (bool)(arg1
)->ReleaseCapture();
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11262 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11265 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11267 return Py_BuildValue((char *)"");
11269 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11272 wxPoint
*arg2
= (wxPoint
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self",(char *) "m_pos", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11284 if (arg1
) (arg1
)->m_pos
= *arg2
;
11286 Py_INCREF(Py_None
); resultobj
= Py_None
;
11293 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11314 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "m_zPosition", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 arg2
= (int)SWIG_As_int(obj1
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11329 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 result
= (int) ((arg1
)->m_zPosition
);
11352 resultobj
= SWIG_From_int((int)result
);
11359 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "m_buttonChange", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11372 arg2
= (int)SWIG_As_int(obj1
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11374 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11383 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11385 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 result
= (int) ((arg1
)->m_buttonChange
);
11397 resultobj
= SWIG_From_int((int)result
);
11404 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11408 PyObject
* obj0
= 0 ;
11409 PyObject
* obj1
= 0 ;
11410 char *kwnames
[] = {
11411 (char *) "self",(char *) "m_buttonState", NULL
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11417 arg2
= (int)SWIG_As_int(obj1
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11419 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 result
= (int) ((arg1
)->m_buttonState
);
11442 resultobj
= SWIG_From_int((int)result
);
11449 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "m_joyStick", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 arg2
= (int)SWIG_As_int(obj1
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11464 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11485 result
= (int) ((arg1
)->m_joyStick
);
11487 resultobj
= SWIG_From_int((int)result
);
11494 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11497 int arg2
= (int) 0 ;
11498 int arg3
= (int) wxJOYSTICK1
;
11499 int arg4
= (int) 0 ;
11500 wxJoystickEvent
*result
;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 PyObject
* obj3
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11511 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 arg2
= (int)SWIG_As_int(obj1
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 arg3
= (int)SWIG_As_int(obj2
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (int)SWIG_As_int(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11540 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 wxPoint
* resultptr
;
11561 resultptr
= new wxPoint((wxPoint
&) result
);
11562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11570 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_From_int((int)result
);
11596 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int((int)result
);
11622 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_From_int((int)result
);
11648 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= SWIG_From_int((int)result
);
11674 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "stick", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11687 arg2
= (int)SWIG_As_int(obj1
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 (arg1
)->SetJoystick(arg2
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "self",(char *) "state", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11716 arg2
= (int)SWIG_As_int(obj1
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 (arg1
)->SetButtonState(arg2
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 Py_INCREF(Py_None
); resultobj
= Py_None
;
11732 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "change", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11745 arg2
= (int)SWIG_As_int(obj1
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 (arg1
)->SetButtonChange(arg2
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 Py_INCREF(Py_None
); resultobj
= Py_None
;
11761 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11764 wxPoint
*arg2
= 0 ;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "pos", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11793 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "zPos", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 arg2
= (int)SWIG_As_int(obj1
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 (arg1
)->SetZPosition(arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 Py_INCREF(Py_None
); resultobj
= Py_None
;
11822 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11850 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11878 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11906 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11909 int arg2
= (int) wxJOY_BUTTON_ANY
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "but", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 arg2
= (int)SWIG_As_int(obj1
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11940 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11943 int arg2
= (int) wxJOY_BUTTON_ANY
;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "but", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 arg2
= (int)SWIG_As_int(obj1
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11974 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11977 int arg2
= (int) wxJOY_BUTTON_ANY
;
11979 PyObject
* obj0
= 0 ;
11980 PyObject
* obj1
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self",(char *) "but", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11989 arg2
= (int)SWIG_As_int(obj1
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12008 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12011 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12013 return Py_BuildValue((char *)"");
12015 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12018 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12020 bool temp1
= false ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "fileName", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12029 arg1
= wxString_in_helper(obj0
);
12030 if (arg1
== NULL
) SWIG_fail
;
12035 if (!wxPyCheckForApp()) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12057 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 PyObject
*arg1
= (PyObject
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "data", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12069 if (!wxPyCheckForApp()) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (wxSound
*)new_wxSound(arg1
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12083 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxSound
*arg1
= (wxSound
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxSound
*arg1
= (wxSound
*) 0 ;
12111 wxString
*arg2
= 0 ;
12113 bool temp2
= false ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "fileName", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 arg2
= wxString_in_helper(obj1
);
12125 if (arg2
== NULL
) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12152 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxSound
*arg1
= (wxSound
*) 0 ;
12155 PyObject
*arg2
= (PyObject
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 PyObject
* obj1
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self",(char *) "data", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12183 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxSound
*arg1
= (wxSound
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (bool)(arg1
)->IsOk();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12211 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxSound
*arg1
= (wxSound
*) 0 ;
12214 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self",(char *) "flags", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12226 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 if (!wxPyCheckForApp()) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12246 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxString
*arg1
= 0 ;
12249 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12251 bool temp1
= false ;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "filename",(char *) "flags", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12260 arg1
= wxString_in_helper(obj0
);
12261 if (arg1
== NULL
) SWIG_fail
;
12265 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12269 if (!wxPyCheckForApp()) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12293 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 char *kwnames
[] = {
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12301 if (!wxPyCheckForApp()) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 Py_INCREF(Py_None
); resultobj
= Py_None
;
12315 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12318 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12320 return Py_BuildValue((char *)"");
12322 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxString
*arg1
= 0 ;
12325 wxString
*arg2
= 0 ;
12326 wxString
*arg3
= 0 ;
12327 wxString
*arg4
= 0 ;
12328 wxFileTypeInfo
*result
;
12329 bool temp1
= false ;
12330 bool temp2
= false ;
12331 bool temp3
= false ;
12332 bool temp4
= false ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 PyObject
* obj3
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12343 arg1
= wxString_in_helper(obj0
);
12344 if (arg1
== NULL
) SWIG_fail
;
12348 arg2
= wxString_in_helper(obj1
);
12349 if (arg2
== NULL
) SWIG_fail
;
12353 arg3
= wxString_in_helper(obj2
);
12354 if (arg3
== NULL
) SWIG_fail
;
12358 arg4
= wxString_in_helper(obj3
);
12359 if (arg4
== NULL
) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12408 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxArrayString
*arg1
= 0 ;
12411 wxFileTypeInfo
*result
;
12412 bool temp1
= false ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "sArray", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12420 if (! PySequence_Check(obj0
)) {
12421 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12424 arg1
= new wxArrayString
;
12426 int i
, len
=PySequence_Length(obj0
);
12427 for (i
=0; i
<len
; i
++) {
12428 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12430 PyObject
* str
= PyObject_Unicode(item
);
12432 PyObject
* str
= PyObject_Str(item
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12435 arg1
->Add(Py2wxString(str
));
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12449 if (temp1
) delete arg1
;
12454 if (temp1
) delete arg1
;
12460 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxFileTypeInfo
*result
;
12463 char *kwnames
[] = {
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12482 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12510 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12513 wxString
*arg2
= 0 ;
12514 int arg3
= (int) 0 ;
12515 bool temp2
= false ;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 PyObject
* obj2
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12527 arg2
= wxString_in_helper(obj1
);
12528 if (arg2
== NULL
) SWIG_fail
;
12532 arg3
= (int)SWIG_As_int(obj2
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12560 wxString
*arg2
= 0 ;
12561 bool temp2
= false ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "shortDesc", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 arg2
= wxString_in_helper(obj1
);
12573 if (arg2
== NULL
) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12614 result
= (wxString
*) &_result_ref
;
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12624 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12633 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12649 result
= (wxString
*) &_result_ref
;
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12659 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12668 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12684 result
= (wxString
*) &_result_ref
;
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12703 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12719 result
= (wxString
*) &_result_ref
;
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12738 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12754 result
= (wxString
*) &_result_ref
;
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12764 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12773 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12776 wxArrayString
*result
;
12777 PyObject
* obj0
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12789 result
= (wxArrayString
*) &_result_ref
;
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= wxArrayString2PyList_helper(*result
);
12804 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_From_int((int)result
);
12830 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12846 result
= (wxString
*) &_result_ref
;
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12865 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_From_int((int)result
);
12891 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12894 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12896 return Py_BuildValue((char *)"");
12898 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxFileTypeInfo
*arg1
= 0 ;
12901 wxFileType
*result
;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "ftInfo", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12911 if (arg1
== NULL
) {
12912 PyErr_SetString(PyExc_TypeError
,"null reference");
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12929 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxFileType
*arg1
= (wxFileType
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxFileType
*arg1
= (wxFileType
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= result
;
12980 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxFileType
*arg1
= (wxFileType
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= result
;
13006 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxFileType
*arg1
= (wxFileType
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 char *kwnames
[] = {
13012 (char *) "self", NULL
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= result
;
13032 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxFileType
*arg1
= (wxFileType
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13058 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxFileType
*arg1
= (wxFileType
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= result
;
13084 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxFileType
*arg1
= (wxFileType
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= result
;
13110 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxFileType
*arg1
= (wxFileType
*) 0 ;
13113 wxString
*arg2
= 0 ;
13114 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13117 bool temp2
= false ;
13118 bool temp3
= false ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 PyObject
* obj2
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 arg2
= wxString_in_helper(obj1
);
13131 if (arg2
== NULL
) SWIG_fail
;
13136 arg3
= wxString_in_helper(obj2
);
13137 if (arg3
== NULL
) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= result
;
13171 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxFileType
*arg1
= (wxFileType
*) 0 ;
13174 wxString
*arg2
= 0 ;
13175 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13176 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13178 bool temp2
= false ;
13179 bool temp3
= false ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 PyObject
* obj2
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 arg2
= wxString_in_helper(obj1
);
13192 if (arg2
== NULL
) SWIG_fail
;
13197 arg3
= wxString_in_helper(obj2
);
13198 if (arg3
== NULL
) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= result
;
13232 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxFileType
*arg1
= (wxFileType
*) 0 ;
13235 wxString
*arg2
= 0 ;
13236 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13237 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13239 bool temp2
= false ;
13240 bool temp3
= false ;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 PyObject
* obj2
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 arg2
= wxString_in_helper(obj1
);
13253 if (arg2
== NULL
) SWIG_fail
;
13258 arg3
= wxString_in_helper(obj2
);
13259 if (arg3
== NULL
) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= result
;
13293 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxFileType
*arg1
= (wxFileType
*) 0 ;
13296 wxString
*arg2
= 0 ;
13297 wxString
*arg3
= 0 ;
13298 bool arg4
= (bool) true ;
13300 bool temp2
= false ;
13301 bool temp3
= false ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 PyObject
* obj2
= 0 ;
13305 PyObject
* obj3
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 arg2
= wxString_in_helper(obj1
);
13315 if (arg2
== NULL
) SWIG_fail
;
13319 arg3
= wxString_in_helper(obj2
);
13320 if (arg3
== NULL
) SWIG_fail
;
13324 arg4
= (bool)SWIG_As_bool(obj3
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13359 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxFileType
*arg1
= (wxFileType
*) 0 ;
13362 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13363 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13364 int arg3
= (int) 0 ;
13366 bool temp2
= false ;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 PyObject
* obj2
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "cmd",(char *) "index", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13379 arg2
= wxString_in_helper(obj1
);
13380 if (arg2
== NULL
) SWIG_fail
;
13385 arg3
= (int)SWIG_As_int(obj2
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxFileType
*arg1
= (wxFileType
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (bool)(arg1
)->Unassociate();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13440 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxString
*arg1
= 0 ;
13443 wxString
*arg2
= 0 ;
13444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13447 bool temp1
= false ;
13448 bool temp2
= false ;
13449 bool temp3
= false ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13459 arg1
= wxString_in_helper(obj0
);
13460 if (arg1
== NULL
) SWIG_fail
;
13464 arg2
= wxString_in_helper(obj1
);
13465 if (arg2
== NULL
) SWIG_fail
;
13470 arg3
= wxString_in_helper(obj2
);
13471 if (arg3
== NULL
) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13519 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13522 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13524 return Py_BuildValue((char *)"");
13526 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13527 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13532 static PyObject
*_wrap_TheMimeTypesManager_get() {
13535 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13540 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
;
13542 wxString
*arg1
= 0 ;
13543 wxString
*arg2
= 0 ;
13545 bool temp1
= false ;
13546 bool temp2
= false ;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "mimeType",(char *) "wildcard", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 arg1
= wxString_in_helper(obj0
);
13556 if (arg1
== NULL
) SWIG_fail
;
13560 arg2
= wxString_in_helper(obj1
);
13561 if (arg2
== NULL
) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13596 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxMimeTypesManager
*result
;
13599 char *kwnames
[] = {
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13618 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13621 int arg2
= (int) wxMAILCAP_ALL
;
13622 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13624 bool temp3
= false ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 PyObject
* obj2
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 arg2
= (int)SWIG_As_int(obj1
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13641 arg3
= wxString_in_helper(obj2
);
13642 if (arg3
== NULL
) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 Py_INCREF(Py_None
); resultobj
= Py_None
;
13668 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 (arg1
)->ClearData();
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 Py_INCREF(Py_None
); resultobj
= Py_None
;
13693 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13696 wxString
*arg2
= 0 ;
13697 wxFileType
*result
;
13698 bool temp2
= false ;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "ext", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 arg2
= wxString_in_helper(obj1
);
13710 if (arg2
== NULL
) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13735 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13738 wxString
*arg2
= 0 ;
13739 wxFileType
*result
;
13740 bool temp2
= false ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self",(char *) "mimeType", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 arg2
= wxString_in_helper(obj1
);
13752 if (arg2
== NULL
) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13777 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13780 wxString
*arg2
= 0 ;
13781 bool arg3
= (bool) false ;
13783 bool temp2
= false ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 arg2
= wxString_in_helper(obj1
);
13796 if (arg2
== NULL
) SWIG_fail
;
13800 arg3
= (bool)SWIG_As_bool(obj2
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13827 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13830 wxString
*arg2
= 0 ;
13832 bool temp2
= false ;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self",(char *) "filename", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 arg2
= wxString_in_helper(obj1
);
13844 if (arg2
== NULL
) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13871 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= result
;
13897 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13900 wxFileTypeInfo
*arg2
= 0 ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self",(char *) "ft", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13913 if (arg2
== NULL
) {
13914 PyErr_SetString(PyExc_TypeError
,"null reference");
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 Py_INCREF(Py_None
); resultobj
= Py_None
;
13931 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13934 wxFileTypeInfo
*arg2
= 0 ;
13935 wxFileType
*result
;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "ftInfo", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13948 if (arg2
== NULL
) {
13949 PyErr_SetString(PyExc_TypeError
,"null reference");
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13966 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13969 wxFileType
*arg2
= (wxFileType
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "ft", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)(arg1
)->Unassociate(arg2
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 Py_INCREF(Py_None
); resultobj
= Py_None
;
14023 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14028 return Py_BuildValue((char *)"");
14030 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14031 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14036 static PyObject
*_wrap_ART_TOOLBAR_get() {
14041 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14043 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14050 static int _wrap_ART_MENU_set(PyObject
*) {
14051 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14056 static PyObject
*_wrap_ART_MENU_get() {
14061 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14063 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14070 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14071 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14076 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14081 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14090 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14091 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14096 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14101 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14103 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14110 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14111 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14116 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14121 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14123 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14130 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14131 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14136 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14141 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14143 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14150 static int _wrap_ART_BUTTON_set(PyObject
*) {
14151 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14156 static PyObject
*_wrap_ART_BUTTON_get() {
14161 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14163 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14170 static int _wrap_ART_OTHER_set(PyObject
*) {
14171 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14176 static PyObject
*_wrap_ART_OTHER_get() {
14181 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14183 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14190 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14191 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14196 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14201 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14203 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14210 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14211 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14216 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14221 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14223 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14230 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14231 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14236 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14241 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14243 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14250 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14251 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14256 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14261 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14263 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14270 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14271 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14276 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14281 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14283 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14290 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14291 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14296 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14301 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14303 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14310 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14311 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14316 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14321 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14323 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14330 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14331 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14336 static PyObject
*_wrap_ART_GO_BACK_get() {
14341 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14343 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14350 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14351 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14356 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14361 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14363 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14370 static int _wrap_ART_GO_UP_set(PyObject
*) {
14371 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14376 static PyObject
*_wrap_ART_GO_UP_get() {
14381 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14383 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14390 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14391 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14396 static PyObject
*_wrap_ART_GO_DOWN_get() {
14401 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14403 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14410 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14411 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14416 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14421 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14423 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14430 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14431 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14436 static PyObject
*_wrap_ART_GO_HOME_get() {
14441 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14443 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14450 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14451 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14456 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14461 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14463 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14470 static int _wrap_ART_PRINT_set(PyObject
*) {
14471 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14476 static PyObject
*_wrap_ART_PRINT_get() {
14481 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14483 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14490 static int _wrap_ART_HELP_set(PyObject
*) {
14491 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14496 static PyObject
*_wrap_ART_HELP_get() {
14501 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14503 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14510 static int _wrap_ART_TIP_set(PyObject
*) {
14511 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14516 static PyObject
*_wrap_ART_TIP_get() {
14521 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14523 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14530 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14531 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14536 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14541 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14543 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14550 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14551 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14556 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14561 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14563 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14570 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14571 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14576 static PyObject
*_wrap_ART_NEW_DIR_get() {
14581 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14583 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14590 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14591 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14596 static PyObject
*_wrap_ART_HARDDISK_get() {
14601 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14603 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14610 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14611 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14616 static PyObject
*_wrap_ART_FLOPPY_get() {
14621 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14623 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14630 static int _wrap_ART_CDROM_set(PyObject
*) {
14631 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14636 static PyObject
*_wrap_ART_CDROM_get() {
14641 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14643 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14650 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14651 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14656 static PyObject
*_wrap_ART_REMOVABLE_get() {
14661 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14663 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14670 static int _wrap_ART_FOLDER_set(PyObject
*) {
14671 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14676 static PyObject
*_wrap_ART_FOLDER_get() {
14681 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14683 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14690 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14691 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14696 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14701 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14703 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14710 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14711 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14716 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14721 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14723 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14730 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14731 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14736 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14741 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14743 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14750 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14751 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14756 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14761 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14763 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14770 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14771 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14776 static PyObject
*_wrap_ART_TICK_MARK_get() {
14781 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14783 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14790 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14791 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14796 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14801 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14803 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14810 static int _wrap_ART_ERROR_set(PyObject
*) {
14811 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14816 static PyObject
*_wrap_ART_ERROR_get() {
14821 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14823 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14830 static int _wrap_ART_QUESTION_set(PyObject
*) {
14831 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14836 static PyObject
*_wrap_ART_QUESTION_get() {
14841 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14843 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14850 static int _wrap_ART_WARNING_set(PyObject
*) {
14851 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14856 static PyObject
*_wrap_ART_WARNING_get() {
14861 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14863 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14870 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14871 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14876 static PyObject
*_wrap_ART_INFORMATION_get() {
14881 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14883 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14890 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14891 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14896 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14901 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14903 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14910 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxPyArtProvider
*result
;
14913 char *kwnames
[] = {
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14919 if (!wxPyCheckForApp()) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14933 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14936 PyObject
*arg2
= (PyObject
*) 0 ;
14937 PyObject
*arg3
= (PyObject
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 PyObject
* obj2
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "self",(char *) "_class", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 Py_INCREF(Py_None
); resultobj
= Py_None
;
14964 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "provider", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 wxPyArtProvider::PushProvider(arg1
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14989 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14992 char *kwnames
[] = {
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (bool)wxPyArtProvider::PopProvider();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15013 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "provider", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15041 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxString
*arg1
= 0 ;
15044 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15045 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15046 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15047 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15049 bool temp1
= false ;
15050 bool temp2
= false ;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 PyObject
* obj2
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "id",(char *) "client",(char *) "size", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15061 arg1
= wxString_in_helper(obj0
);
15062 if (arg1
== NULL
) SWIG_fail
;
15067 arg2
= wxString_in_helper(obj1
);
15068 if (arg2
== NULL
) SWIG_fail
;
15075 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15079 if (!wxPyCheckForApp()) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 wxBitmap
* resultptr
;
15088 resultptr
= new wxBitmap((wxBitmap
&) result
);
15089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15113 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxString
*arg1
= 0 ;
15116 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15117 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15118 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15119 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15121 bool temp1
= false ;
15122 bool temp2
= false ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 PyObject
* obj2
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "id",(char *) "client",(char *) "size", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15133 arg1
= wxString_in_helper(obj0
);
15134 if (arg1
== NULL
) SWIG_fail
;
15139 arg2
= wxString_in_helper(obj1
);
15140 if (arg2
== NULL
) SWIG_fail
;
15147 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15151 if (!wxPyCheckForApp()) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15159 wxIcon
* resultptr
;
15160 resultptr
= new wxIcon((wxIcon
&) result
);
15161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15185 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 wxPyArtProvider_Destroy(arg1
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 Py_INCREF(Py_None
); resultobj
= Py_None
;
15210 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15213 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15215 return Py_BuildValue((char *)"");
15217 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15245 wxConfigBase
*result
;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "config", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15268 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 bool arg1
= (bool) true ;
15271 wxConfigBase
*result
;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "createOnDemand", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15279 arg1
= (bool)SWIG_As_bool(obj0
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15296 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxConfigBase
*result
;
15299 char *kwnames
[] = {
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (wxConfigBase
*)wxConfigBase::Create();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15318 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 char *kwnames
[] = {
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 wxConfigBase::DontCreateOnDemand();
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 Py_INCREF(Py_None
); resultobj
= Py_None
;
15339 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15342 wxString
*arg2
= 0 ;
15343 bool temp2
= false ;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self",(char *) "path", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 arg2
= wxString_in_helper(obj1
);
15355 if (arg2
== NULL
) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->SetPath((wxString
const &)*arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15396 result
= (wxString
*) &_result_ref
;
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15415 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= result
;
15441 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self",(char *) "index", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 arg2
= (long)SWIG_As_long(obj1
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= result
;
15471 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= result
;
15497 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "index", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15511 arg2
= (long)SWIG_As_long(obj1
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= result
;
15527 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15530 bool arg2
= (bool) false ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "recursive", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 arg2
= (bool)SWIG_As_bool(obj1
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15559 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15562 bool arg2
= (bool) false ;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "recursive", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15574 arg2
= (bool)SWIG_As_bool(obj1
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15591 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15594 wxString
*arg2
= 0 ;
15596 bool temp2
= false ;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "name", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 arg2
= wxString_in_helper(obj1
);
15608 if (arg2
== NULL
) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15635 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15638 wxString
*arg2
= 0 ;
15640 bool temp2
= false ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "name", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 arg2
= wxString_in_helper(obj1
);
15652 if (arg2
== NULL
) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15679 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15682 wxString
*arg2
= 0 ;
15684 bool temp2
= false ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "name", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15695 arg2
= wxString_in_helper(obj1
);
15696 if (arg2
== NULL
) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15726 wxString
*arg2
= 0 ;
15728 bool temp2
= false ;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self",(char *) "name", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 arg2
= wxString_in_helper(obj1
);
15740 if (arg2
== NULL
) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_From_int((int)result
);
15765 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15768 wxString
*arg2
= 0 ;
15769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15772 bool temp2
= false ;
15773 bool temp3
= false ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 arg2
= wxString_in_helper(obj1
);
15786 if (arg2
== NULL
) SWIG_fail
;
15791 arg3
= wxString_in_helper(obj2
);
15792 if (arg3
== NULL
) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15832 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15835 wxString
*arg2
= 0 ;
15836 long arg3
= (long) 0 ;
15838 bool temp2
= false ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 PyObject
* obj2
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 arg2
= wxString_in_helper(obj1
);
15851 if (arg2
== NULL
) SWIG_fail
;
15855 arg3
= (long)SWIG_As_long(obj2
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_From_long((long)result
);
15880 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15883 wxString
*arg2
= 0 ;
15884 double arg3
= (double) 0.0 ;
15886 bool temp2
= false ;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 PyObject
* obj2
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 arg2
= wxString_in_helper(obj1
);
15899 if (arg2
== NULL
) SWIG_fail
;
15903 arg3
= (double)SWIG_As_double(obj2
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_From_double((double)result
);
15928 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15931 wxString
*arg2
= 0 ;
15932 bool arg3
= (bool) false ;
15934 bool temp2
= false ;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 PyObject
* obj2
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15946 arg2
= wxString_in_helper(obj1
);
15947 if (arg2
== NULL
) SWIG_fail
;
15951 arg3
= (bool)SWIG_As_bool(obj2
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15981 wxString
*arg2
= 0 ;
15982 wxString
*arg3
= 0 ;
15984 bool temp2
= false ;
15985 bool temp3
= false ;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 PyObject
* obj2
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "key",(char *) "value", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 arg2
= wxString_in_helper(obj1
);
15998 if (arg2
== NULL
) SWIG_fail
;
16002 arg3
= wxString_in_helper(obj2
);
16003 if (arg3
== NULL
) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16041 wxString
*arg2
= 0 ;
16044 bool temp2
= false ;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 PyObject
* obj2
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self",(char *) "key",(char *) "value", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 arg2
= wxString_in_helper(obj1
);
16057 if (arg2
== NULL
) SWIG_fail
;
16060 arg3
= (long)SWIG_As_long(obj2
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16086 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16089 wxString
*arg2
= 0 ;
16092 bool temp2
= false ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 PyObject
* obj2
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self",(char *) "key",(char *) "value", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 arg2
= wxString_in_helper(obj1
);
16105 if (arg2
== NULL
) SWIG_fail
;
16108 arg3
= (double)SWIG_As_double(obj2
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16134 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16137 wxString
*arg2
= 0 ;
16140 bool temp2
= false ;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "key",(char *) "value", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 arg2
= wxString_in_helper(obj1
);
16153 if (arg2
== NULL
) SWIG_fail
;
16156 arg3
= (bool)SWIG_As_bool(obj2
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16182 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16185 bool arg2
= (bool) false ;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self",(char *) "currentOnly", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 arg2
= (bool)SWIG_As_bool(obj1
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (bool)(arg1
)->Flush(arg2
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16216 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16219 wxString
*arg2
= 0 ;
16220 wxString
*arg3
= 0 ;
16222 bool temp2
= false ;
16223 bool temp3
= false ;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 PyObject
* obj2
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 arg2
= wxString_in_helper(obj1
);
16236 if (arg2
== NULL
) SWIG_fail
;
16240 arg3
= wxString_in_helper(obj2
);
16241 if (arg3
== NULL
) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16276 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16279 wxString
*arg2
= 0 ;
16280 wxString
*arg3
= 0 ;
16282 bool temp2
= false ;
16283 bool temp3
= false ;
16284 PyObject
* obj0
= 0 ;
16285 PyObject
* obj1
= 0 ;
16286 PyObject
* obj2
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16295 arg2
= wxString_in_helper(obj1
);
16296 if (arg2
== NULL
) SWIG_fail
;
16300 arg3
= wxString_in_helper(obj2
);
16301 if (arg3
== NULL
) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16336 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16339 wxString
*arg2
= 0 ;
16340 bool arg3
= (bool) true ;
16342 bool temp2
= false ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16354 arg2
= wxString_in_helper(obj1
);
16355 if (arg2
== NULL
) SWIG_fail
;
16359 arg3
= (bool)SWIG_As_bool(obj2
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16389 wxString
*arg2
= 0 ;
16391 bool temp2
= false ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "key", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 arg2
= wxString_in_helper(obj1
);
16403 if (arg2
== NULL
) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16430 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)(arg1
)->DeleteAll();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16458 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16461 bool arg2
= (bool) true ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "doIt", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16472 arg2
= (bool)SWIG_As_bool(obj1
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->SetExpandEnvVars(arg2
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 Py_INCREF(Py_None
); resultobj
= Py_None
;
16489 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16517 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16520 bool arg2
= (bool) true ;
16521 PyObject
* obj0
= 0 ;
16522 PyObject
* obj1
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "doIt", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 arg2
= (bool)SWIG_As_bool(obj1
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 (arg1
)->SetRecordDefaults(arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 Py_INCREF(Py_None
); resultobj
= Py_None
;
16548 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16576 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16579 wxString
*arg2
= 0 ;
16581 bool temp2
= false ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "str", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16592 arg2
= wxString_in_helper(obj1
);
16593 if (arg2
== NULL
) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16624 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "self", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16656 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16688 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16691 wxString
*arg2
= 0 ;
16692 bool temp2
= false ;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "appName", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16703 arg2
= wxString_in_helper(obj1
);
16704 if (arg2
== NULL
) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 (arg1
)->SetAppName((wxString
const &)*arg2
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 Py_INCREF(Py_None
); resultobj
= Py_None
;
16729 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16732 wxString
*arg2
= 0 ;
16733 bool temp2
= false ;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self",(char *) "vendorName", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 arg2
= wxString_in_helper(obj1
);
16745 if (arg2
== NULL
) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 Py_INCREF(Py_None
); resultobj
= Py_None
;
16770 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self",(char *) "style", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16783 arg2
= (long)SWIG_As_long(obj1
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 (arg1
)->SetStyle(arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 Py_INCREF(Py_None
); resultobj
= Py_None
;
16799 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= SWIG_From_long((long)result
);
16825 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16828 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16830 return Py_BuildValue((char *)"");
16832 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16835 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16836 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16837 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16838 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16840 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16841 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16842 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16844 bool temp1
= false ;
16845 bool temp2
= false ;
16846 bool temp3
= false ;
16847 bool temp4
= false ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 PyObject
* obj2
= 0 ;
16851 PyObject
* obj3
= 0 ;
16852 PyObject
* obj4
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16860 arg1
= wxString_in_helper(obj0
);
16861 if (arg1
== NULL
) SWIG_fail
;
16867 arg2
= wxString_in_helper(obj1
);
16868 if (arg2
== NULL
) SWIG_fail
;
16874 arg3
= wxString_in_helper(obj2
);
16875 if (arg3
== NULL
) SWIG_fail
;
16881 arg4
= wxString_in_helper(obj3
);
16882 if (arg4
== NULL
) SWIG_fail
;
16887 arg5
= (long)SWIG_As_long(obj4
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16936 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxConfig
*arg1
= (wxConfig
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 Py_INCREF(Py_None
); resultobj
= Py_None
;
16961 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16964 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16966 return Py_BuildValue((char *)"");
16968 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16971 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16972 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16973 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16974 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16976 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16977 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16978 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16979 wxFileConfig
*result
;
16980 bool temp1
= false ;
16981 bool temp2
= false ;
16982 bool temp3
= false ;
16983 bool temp4
= false ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 PyObject
* obj3
= 0 ;
16988 PyObject
* obj4
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16996 arg1
= wxString_in_helper(obj0
);
16997 if (arg1
== NULL
) SWIG_fail
;
17003 arg2
= wxString_in_helper(obj1
);
17004 if (arg2
== NULL
) SWIG_fail
;
17010 arg3
= wxString_in_helper(obj2
);
17011 if (arg3
== NULL
) SWIG_fail
;
17017 arg4
= wxString_in_helper(obj3
);
17018 if (arg4
== NULL
) SWIG_fail
;
17023 arg5
= (long)SWIG_As_long(obj4
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17072 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 Py_INCREF(Py_None
); resultobj
= Py_None
;
17097 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17102 return Py_BuildValue((char *)"");
17104 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17107 wxString
*arg2
= 0 ;
17108 wxConfigPathChanger
*result
;
17109 bool temp2
= false ;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "config",(char *) "entry", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 arg2
= wxString_in_helper(obj1
);
17121 if (arg2
== NULL
) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17146 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 Py_INCREF(Py_None
); resultobj
= Py_None
;
17171 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17175 PyObject
* obj0
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17187 result
= (wxString
*) &_result_ref
;
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17206 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17209 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17211 return Py_BuildValue((char *)"");
17213 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxString
*arg1
= 0 ;
17217 bool temp1
= false ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "sz", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17225 arg1
= wxString_in_helper(obj0
);
17226 if (arg1
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17257 static int _wrap_DateFormatStr_set(PyObject
*) {
17258 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17263 static PyObject
*_wrap_DateFormatStr_get() {
17268 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17270 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17277 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17278 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17283 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17288 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17290 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17297 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "country", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17306 arg1
= (int)SWIG_As_int(obj0
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 Py_INCREF(Py_None
); resultobj
= Py_None
;
17322 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17325 char *kwnames
[] = {
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (int)wxDateTime::GetCountry();
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= SWIG_From_int((int)result
);
17344 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 int arg1
= (int) wxDateTime::Country_Default
;
17348 PyObject
* obj0
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "country", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17355 arg1
= (int)SWIG_As_int(obj0
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17374 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 int arg1
= (int) wxDateTime::Gregorian
;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "cal", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17385 arg1
= (int)SWIG_As_int(obj0
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_From_int((int)result
);
17402 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17406 PyObject
* obj0
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "year", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17412 arg1
= (int)SWIG_As_int(obj0
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_From_int((int)result
);
17428 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 int arg1
= (int) wxDateTime::Gregorian
;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "cal", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17439 arg1
= (int)SWIG_As_int(obj0
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_From_int((int)result
);
17456 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 int arg1
= (int) wxDateTime::Inv_Year
;
17459 int arg2
= (int) wxDateTime::Gregorian
;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "year",(char *) "cal", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17469 arg1
= (int)SWIG_As_int(obj0
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 arg2
= (int)SWIG_As_int(obj1
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17492 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 int arg1
= (int) wxDateTime::Inv_Year
;
17496 PyObject
* obj0
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "year", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17503 arg1
= (int)SWIG_As_int(obj0
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (int)wxDateTime::GetCentury(arg1
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_From_int((int)result
);
17520 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17523 int arg2
= (int) wxDateTime::Gregorian
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "year",(char *) "cal", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 arg1
= (int)SWIG_As_int(obj0
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 arg2
= (int)SWIG_As_int(obj1
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_From_int((int)result
);
17552 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17555 int arg2
= (int) wxDateTime::Inv_Year
;
17556 int arg3
= (int) wxDateTime::Gregorian
;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 PyObject
* obj2
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "month",(char *) "year",(char *) "cal", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17566 arg1
= (int)SWIG_As_int(obj0
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 arg2
= (int)SWIG_As_int(obj1
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 arg3
= (int)SWIG_As_int(obj2
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_From_int((int)result
);
17590 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17593 int arg2
= (int) wxDateTime::Name_Full
;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "month",(char *) "flags", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 arg1
= (int)SWIG_As_int(obj0
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 arg2
= (int)SWIG_As_int(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17628 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17631 int arg2
= (int) wxDateTime::Name_Full
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "weekday",(char *) "flags", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 arg1
= (int)SWIG_As_int(obj0
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 arg2
= (int)SWIG_As_int(obj1
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17666 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxString
*arg1
= (wxString
*) 0 ;
17669 wxString
*arg2
= (wxString
*) 0 ;
17670 bool temp1
= false ;
17671 bool temp2
= false ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17680 arg1
= wxString_in_helper(obj0
);
17681 if (arg1
== NULL
) SWIG_fail
;
17685 arg2
= wxString_in_helper(obj1
);
17686 if (arg2
== NULL
) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17719 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 int arg1
= (int) wxDateTime::Inv_Year
;
17722 int arg2
= (int) wxDateTime::Country_Default
;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "year",(char *) "country", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 arg1
= (int)SWIG_As_int(obj0
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 arg2
= (int)SWIG_As_int(obj1
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17755 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 int arg1
= (int) wxDateTime::Inv_Year
;
17758 int arg2
= (int) wxDateTime::Country_Default
;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "year",(char *) "country", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 arg1
= (int)SWIG_As_int(obj0
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 arg2
= (int)SWIG_As_int(obj1
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17783 wxDateTime
* resultptr
;
17784 resultptr
= new wxDateTime((wxDateTime
&) result
);
17785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17793 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 int arg1
= (int) wxDateTime::Inv_Year
;
17796 int arg2
= (int) wxDateTime::Country_Default
;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "year",(char *) "country", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17806 arg1
= (int)SWIG_As_int(obj0
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 arg2
= (int)SWIG_As_int(obj1
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 wxDateTime
* resultptr
;
17822 resultptr
= new wxDateTime((wxDateTime
&) result
);
17823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17831 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17834 char *kwnames
[] = {
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= wxDateTime::Now();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 wxDateTime
* resultptr
;
17848 resultptr
= new wxDateTime((wxDateTime
&) result
);
17849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17857 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17860 char *kwnames
[] = {
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= wxDateTime::UNow();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 wxDateTime
* resultptr
;
17874 resultptr
= new wxDateTime((wxDateTime
&) result
);
17875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17883 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17886 char *kwnames
[] = {
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= wxDateTime::Today();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17899 wxDateTime
* resultptr
;
17900 resultptr
= new wxDateTime((wxDateTime
&) result
);
17901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17909 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxDateTime
*result
;
17912 char *kwnames
[] = {
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (wxDateTime
*)new wxDateTime();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17931 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17934 wxDateTime
*result
;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "timet", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17941 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (wxDateTime
*)new wxDateTime(arg1
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17957 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17960 wxDateTime
*result
;
17961 PyObject
* obj0
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "jdn", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17967 arg1
= (double)SWIG_As_double(obj0
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (wxDateTime
*)new wxDateTime(arg1
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17983 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17986 int arg2
= (int) 0 ;
17987 int arg3
= (int) 0 ;
17988 int arg4
= (int) 0 ;
17989 wxDateTime
*result
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 PyObject
* obj3
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17999 arg1
= (int)SWIG_As_int(obj0
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 arg2
= (int)SWIG_As_int(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 arg3
= (int)SWIG_As_int(obj2
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 arg4
= (int)SWIG_As_int(obj3
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18027 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18030 int arg2
= (int) wxDateTime::Inv_Month
;
18031 int arg3
= (int) wxDateTime::Inv_Year
;
18032 int arg4
= (int) 0 ;
18033 int arg5
= (int) 0 ;
18034 int arg6
= (int) 0 ;
18035 int arg7
= (int) 0 ;
18036 wxDateTime
*result
;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 PyObject
* obj2
= 0 ;
18040 PyObject
* obj3
= 0 ;
18041 PyObject
* obj4
= 0 ;
18042 PyObject
* obj5
= 0 ;
18043 PyObject
* obj6
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18049 arg1
= (int)SWIG_As_int(obj0
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 arg2
= (int)SWIG_As_int(obj1
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 arg3
= (int)SWIG_As_int(obj2
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18060 arg4
= (int)SWIG_As_int(obj3
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18064 arg5
= (int)SWIG_As_int(obj4
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 arg6
= (int)SWIG_As_int(obj5
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 arg7
= (int)SWIG_As_int(obj6
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18089 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 Py_INCREF(Py_None
); resultobj
= Py_None
;
18114 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18117 wxDateTime
*result
;
18118 PyObject
* obj0
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18130 result
= (wxDateTime
*) &_result_ref
;
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18143 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18147 wxDateTime
*result
;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self",(char *) "timet", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18157 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18163 result
= (wxDateTime
*) &_result_ref
;
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18176 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18180 wxDateTime
*result
;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self",(char *) "jdn", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18190 arg2
= (double)SWIG_As_double(obj1
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18196 result
= (wxDateTime
*) &_result_ref
;
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18209 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18213 int arg3
= (int) 0 ;
18214 int arg4
= (int) 0 ;
18215 int arg5
= (int) 0 ;
18216 wxDateTime
*result
;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 PyObject
* obj2
= 0 ;
18220 PyObject
* obj3
= 0 ;
18221 PyObject
* obj4
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 arg2
= (int)SWIG_As_int(obj1
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 arg3
= (int)SWIG_As_int(obj2
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18236 arg4
= (int)SWIG_As_int(obj3
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 arg5
= (int)SWIG_As_int(obj4
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18247 result
= (wxDateTime
*) &_result_ref
;
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18260 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18264 int arg3
= (int) wxDateTime::Inv_Month
;
18265 int arg4
= (int) wxDateTime::Inv_Year
;
18266 int arg5
= (int) 0 ;
18267 int arg6
= (int) 0 ;
18268 int arg7
= (int) 0 ;
18269 int arg8
= (int) 0 ;
18270 wxDateTime
*result
;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 PyObject
* obj4
= 0 ;
18276 PyObject
* obj5
= 0 ;
18277 PyObject
* obj6
= 0 ;
18278 PyObject
* obj7
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 arg2
= (int)SWIG_As_int(obj1
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 arg3
= (int)SWIG_As_int(obj2
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 arg4
= (int)SWIG_As_int(obj3
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 arg5
= (int)SWIG_As_int(obj4
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 arg6
= (int)SWIG_As_int(obj5
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 arg7
= (int)SWIG_As_int(obj6
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 arg8
= (int)SWIG_As_int(obj7
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18316 result
= (wxDateTime
*) &_result_ref
;
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18329 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18332 wxDateTime
*result
;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
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_SetYear(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 *) "year", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",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
)->SetYear(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_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18395 wxDateTime
*result
;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self",(char *) "month", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18405 arg2
= (int)SWIG_As_int(obj1
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18411 result
= (wxDateTime
*) &_result_ref
;
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18424 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18428 wxDateTime
*result
;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "day", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18438 arg2
= (int)SWIG_As_int(obj1
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18444 result
= (wxDateTime
*) &_result_ref
;
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18457 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18461 wxDateTime
*result
;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "hour", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 arg2
= (int)SWIG_As_int(obj1
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18477 result
= (wxDateTime
*) &_result_ref
;
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18490 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18494 wxDateTime
*result
;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "minute", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 arg2
= (int)SWIG_As_int(obj1
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18510 result
= (wxDateTime
*) &_result_ref
;
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18523 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18527 wxDateTime
*result
;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self",(char *) "second", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 arg2
= (int)SWIG_As_int(obj1
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18543 result
= (wxDateTime
*) &_result_ref
;
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18556 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18560 wxDateTime
*result
;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self",(char *) "millisecond", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18570 arg2
= (int)SWIG_As_int(obj1
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18576 result
= (wxDateTime
*) &_result_ref
;
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18589 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18593 int arg3
= (int) wxDateTime::Monday_First
;
18594 wxDateTime
*result
;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 arg2
= (int)SWIG_As_int(obj1
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 arg3
= (int)SWIG_As_int(obj2
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18615 result
= (wxDateTime
*) &_result_ref
;
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18628 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18632 int arg3
= (int) wxDateTime::Monday_First
;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 PyObject
* obj2
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 arg2
= (int)SWIG_As_int(obj1
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 arg3
= (int)SWIG_As_int(obj2
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 wxDateTime
* resultptr
;
18659 resultptr
= new wxDateTime((wxDateTime
&) result
);
18660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18668 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18672 wxDateTime
*result
;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "weekday", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 arg2
= (int)SWIG_As_int(obj1
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18688 result
= (wxDateTime
*) &_result_ref
;
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18701 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self",(char *) "weekday", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 arg2
= (int)SWIG_As_int(obj1
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 wxDateTime
* resultptr
;
18726 resultptr
= new wxDateTime((wxDateTime
&) result
);
18727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18735 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18739 wxDateTime
*result
;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "weekday", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 arg2
= (int)SWIG_As_int(obj1
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18755 result
= (wxDateTime
*) &_result_ref
;
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18768 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self",(char *) "weekday", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 arg2
= (int)SWIG_As_int(obj1
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 wxDateTime
* resultptr
;
18793 resultptr
= new wxDateTime((wxDateTime
&) result
);
18794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18802 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18806 int arg3
= (int) 1 ;
18807 int arg4
= (int) wxDateTime::Inv_Month
;
18808 int arg5
= (int) wxDateTime::Inv_Year
;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 PyObject
* obj2
= 0 ;
18813 PyObject
* obj3
= 0 ;
18814 PyObject
* obj4
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 arg2
= (int)SWIG_As_int(obj1
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 arg3
= (int)SWIG_As_int(obj2
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 arg4
= (int)SWIG_As_int(obj3
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18833 arg5
= (int)SWIG_As_int(obj4
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18856 int arg3
= (int) wxDateTime::Inv_Month
;
18857 int arg4
= (int) wxDateTime::Inv_Year
;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 PyObject
* obj3
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18870 arg2
= (int)SWIG_As_int(obj1
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 arg3
= (int)SWIG_As_int(obj2
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18877 arg4
= (int)SWIG_As_int(obj3
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18896 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18900 int arg3
= (int) wxDateTime::Inv_Month
;
18901 int arg4
= (int) wxDateTime::Inv_Year
;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 PyObject
* obj2
= 0 ;
18906 PyObject
* obj3
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 arg2
= (int)SWIG_As_int(obj1
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 arg3
= (int)SWIG_As_int(obj2
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 arg4
= (int)SWIG_As_int(obj3
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18932 wxDateTime
* resultptr
;
18933 resultptr
= new wxDateTime((wxDateTime
&) result
);
18934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18942 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18946 int arg3
= (int) wxDateTime::Mon
;
18947 int arg4
= (int) wxDateTime::Monday_First
;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 PyObject
* obj2
= 0 ;
18952 PyObject
* obj3
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 arg2
= (int)SWIG_As_int(obj1
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 arg3
= (int)SWIG_As_int(obj2
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18967 arg4
= (int)SWIG_As_int(obj3
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18990 int arg3
= (int) wxDateTime::Mon
;
18991 int arg4
= (int) wxDateTime::Monday_First
;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 PyObject
* obj2
= 0 ;
18996 PyObject
* obj3
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg3
= (int)SWIG_As_int(obj2
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19011 arg4
= (int)SWIG_As_int(obj3
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 wxDateTime
* resultptr
;
19023 resultptr
= new wxDateTime((wxDateTime
&) result
);
19024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19032 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19036 int arg3
= (int) wxDateTime::Mon
;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 PyObject
* obj2
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19046 arg1
= (int)SWIG_As_int(obj0
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19048 arg2
= (int)SWIG_As_int(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 arg3
= (int)SWIG_As_int(obj2
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19062 wxDateTime
* resultptr
;
19063 resultptr
= new wxDateTime((wxDateTime
&) result
);
19064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19072 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19075 int arg2
= (int) wxDateTime::Inv_Month
;
19076 int arg3
= (int) wxDateTime::Inv_Year
;
19077 wxDateTime
*result
;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 PyObject
* obj2
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "month",(char *) "year", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19089 arg2
= (int)SWIG_As_int(obj1
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 arg3
= (int)SWIG_As_int(obj2
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19100 result
= (wxDateTime
*) &_result_ref
;
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19113 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19116 int arg2
= (int) wxDateTime::Inv_Month
;
19117 int arg3
= (int) wxDateTime::Inv_Year
;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 PyObject
* obj2
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "month",(char *) "year", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19130 arg2
= (int)SWIG_As_int(obj1
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19134 arg3
= (int)SWIG_As_int(obj2
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19145 wxDateTime
* resultptr
;
19146 resultptr
= new wxDateTime((wxDateTime
&) result
);
19147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19155 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19159 wxDateTime
*result
;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "yday", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 arg2
= (int)SWIG_As_int(obj1
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19175 result
= (wxDateTime
*) &_result_ref
;
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19188 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "yday", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19202 arg2
= (int)SWIG_As_int(obj1
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 result
= (arg1
)->GetYearDay(arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19212 wxDateTime
* resultptr
;
19213 resultptr
= new wxDateTime((wxDateTime
&) result
);
19214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19222 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (double)(arg1
)->GetJulianDayNumber();
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= SWIG_From_double((double)result
);
19248 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (double)(arg1
)->GetJDN();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_From_double((double)result
);
19274 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_From_double((double)result
);
19300 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (double)(arg1
)->GetMJD();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_From_double((double)result
);
19326 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (double)(arg1
)->GetRataDie();
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_From_double((double)result
);
19352 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19355 wxDateTime::TimeZone
*arg2
= 0 ;
19356 bool arg3
= (bool) false ;
19358 bool temp2
= false ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 PyObject
* obj2
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19370 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19374 arg3
= (bool)SWIG_As_bool(obj2
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19385 wxDateTime
* resultptr
;
19386 resultptr
= new wxDateTime((wxDateTime
&) result
);
19387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19390 if (temp2
) delete arg2
;
19395 if (temp2
) delete arg2
;
19401 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19404 wxDateTime::TimeZone
*arg2
= 0 ;
19405 bool arg3
= (bool) false ;
19406 wxDateTime
*result
;
19407 bool temp2
= false ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 PyObject
* obj2
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19423 arg3
= (bool)SWIG_As_bool(obj2
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19430 result
= (wxDateTime
*) &_result_ref
;
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19438 if (temp2
) delete arg2
;
19443 if (temp2
) delete arg2
;
19449 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19452 bool arg2
= (bool) false ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "noDST", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19464 arg2
= (bool)SWIG_As_bool(obj1
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (arg1
)->ToGMT(arg2
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 wxDateTime
* resultptr
;
19476 resultptr
= new wxDateTime((wxDateTime
&) result
);
19477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19485 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19488 bool arg2
= (bool) false ;
19489 wxDateTime
*result
;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "noDST", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 arg2
= (bool)SWIG_As_bool(obj1
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19507 result
= (wxDateTime
*) &_result_ref
;
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19520 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19523 int arg2
= (int) wxDateTime::Country_Default
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "country", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 arg2
= (int)SWIG_As_int(obj1
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_From_int((int)result
);
19552 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 char *kwnames
[] = {
19558 (char *) "self", NULL
19561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19580 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19606 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19609 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19610 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19612 bool temp2
= false ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self",(char *) "tz", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_From_int((int)result
);
19637 if (temp2
) delete arg2
;
19642 if (temp2
) delete arg2
;
19648 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19651 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19652 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19654 bool temp2
= false ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "tz", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19666 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_From_int((int)result
);
19679 if (temp2
) delete arg2
;
19684 if (temp2
) delete arg2
;
19690 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19693 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19694 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19696 bool temp2
= false ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self",(char *) "tz", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_From_int((int)result
);
19721 if (temp2
) delete arg2
;
19726 if (temp2
) delete arg2
;
19732 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19735 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19736 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19738 bool temp2
= false ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "tz", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_From_int((int)result
);
19763 if (temp2
) delete arg2
;
19768 if (temp2
) delete arg2
;
19774 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19777 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19778 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19780 bool temp2
= false ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "tz", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_From_int((int)result
);
19805 if (temp2
) delete arg2
;
19810 if (temp2
) delete arg2
;
19816 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19819 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19820 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19822 bool temp2
= false ;
19823 PyObject
* obj0
= 0 ;
19824 PyObject
* obj1
= 0 ;
19825 char *kwnames
[] = {
19826 (char *) "self",(char *) "tz", NULL
19829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19834 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_From_int((int)result
);
19847 if (temp2
) delete arg2
;
19852 if (temp2
) delete arg2
;
19858 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19861 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19862 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19864 bool temp2
= false ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "tz", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= SWIG_From_int((int)result
);
19889 if (temp2
) delete arg2
;
19894 if (temp2
) delete arg2
;
19900 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19903 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19904 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19906 bool temp2
= false ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "tz", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19918 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_From_int((int)result
);
19931 if (temp2
) delete arg2
;
19936 if (temp2
) delete arg2
;
19942 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19945 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19946 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19948 bool temp2
= false ;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self",(char *) "tz", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= SWIG_From_int((int)result
);
19973 if (temp2
) delete arg2
;
19978 if (temp2
) delete arg2
;
19984 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19987 int arg2
= (int) wxDateTime::Monday_First
;
19988 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19989 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19991 bool temp3
= false ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 PyObject
* obj2
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "flags",(char *) "tz", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 arg2
= (int)SWIG_As_int(obj1
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20008 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_From_int((int)result
);
20021 if (temp3
) delete arg3
;
20026 if (temp3
) delete arg3
;
20032 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20035 int arg2
= (int) wxDateTime::Monday_First
;
20036 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20037 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20039 bool temp3
= false ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 PyObject
* obj2
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "flags",(char *) "tz", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 arg2
= (int)SWIG_As_int(obj1
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20056 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= SWIG_From_int((int)result
);
20069 if (temp3
) delete arg3
;
20074 if (temp3
) delete arg3
;
20080 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20083 int arg2
= (int) wxDateTime::Country_Default
;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self",(char *) "country", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 arg2
= (int)SWIG_As_int(obj1
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20114 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20117 wxDateTime
*arg2
= 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "datetime", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20131 if (arg2
== NULL
) {
20132 PyErr_SetString(PyExc_TypeError
,"null reference");
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20151 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20154 wxDateTime
*arg2
= 0 ;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self",(char *) "datetime", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20168 if (arg2
== NULL
) {
20169 PyErr_SetString(PyExc_TypeError
,"null reference");
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20188 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20191 wxDateTime
*arg2
= 0 ;
20193 PyObject
* obj0
= 0 ;
20194 PyObject
* obj1
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "datetime", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20205 if (arg2
== NULL
) {
20206 PyErr_SetString(PyExc_TypeError
,"null reference");
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20225 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20228 wxDateTime
*arg2
= 0 ;
20229 wxDateTime
*arg3
= 0 ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 PyObject
* obj2
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self",(char *) "t1",(char *) "t2", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20244 if (arg2
== NULL
) {
20245 PyErr_SetString(PyExc_TypeError
,"null reference");
20248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20251 if (arg3
== NULL
) {
20252 PyErr_SetString(PyExc_TypeError
,"null reference");
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20271 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20274 wxDateTime
*arg2
= 0 ;
20275 wxDateTime
*arg3
= 0 ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 PyObject
* obj2
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "t1",(char *) "t2", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20290 if (arg2
== NULL
) {
20291 PyErr_SetString(PyExc_TypeError
,"null reference");
20294 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20297 if (arg3
== NULL
) {
20298 PyErr_SetString(PyExc_TypeError
,"null reference");
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20317 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20320 wxDateTime
*arg2
= 0 ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "dt", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20334 if (arg2
== NULL
) {
20335 PyErr_SetString(PyExc_TypeError
,"null reference");
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20354 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20357 wxDateTime
*arg2
= 0 ;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self",(char *) "dt", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20371 if (arg2
== NULL
) {
20372 PyErr_SetString(PyExc_TypeError
,"null reference");
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20391 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20394 wxDateTime
*arg2
= 0 ;
20395 wxTimeSpan
*arg3
= 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 PyObject
* obj2
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self",(char *) "dt",(char *) "ts", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20410 if (arg2
== NULL
) {
20411 PyErr_SetString(PyExc_TypeError
,"null reference");
20414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20417 if (arg3
== NULL
) {
20418 PyErr_SetString(PyExc_TypeError
,"null reference");
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20437 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20440 wxTimeSpan
*arg2
= 0 ;
20441 wxDateTime
*result
;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self",(char *) "diff", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20454 if (arg2
== NULL
) {
20455 PyErr_SetString(PyExc_TypeError
,"null reference");
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20462 result
= (wxDateTime
*) &_result_ref
;
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20475 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20478 wxDateSpan
*arg2
= 0 ;
20479 wxDateTime
*result
;
20480 PyObject
* obj0
= 0 ;
20481 PyObject
* obj1
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self",(char *) "diff", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20492 if (arg2
== NULL
) {
20493 PyErr_SetString(PyExc_TypeError
,"null reference");
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20500 result
= (wxDateTime
*) &_result_ref
;
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20513 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20516 wxTimeSpan
*arg2
= 0 ;
20517 wxDateTime
*result
;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self",(char *) "diff", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20530 if (arg2
== NULL
) {
20531 PyErr_SetString(PyExc_TypeError
,"null reference");
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20538 result
= (wxDateTime
*) &_result_ref
;
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20551 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20554 wxDateSpan
*arg2
= 0 ;
20555 wxDateTime
*result
;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "diff", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20568 if (arg2
== NULL
) {
20569 PyErr_SetString(PyExc_TypeError
,"null reference");
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20576 result
= (wxDateTime
*) &_result_ref
;
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20589 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20592 wxDateTime
*arg2
= 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "dt", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20606 if (arg2
== NULL
) {
20607 PyErr_SetString(PyExc_TypeError
,"null reference");
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 wxTimeSpan
* resultptr
;
20619 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20628 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20629 PyObject
*resultobj
;
20630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20631 wxTimeSpan
*arg2
= 0 ;
20632 wxDateTime
*result
;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20636 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20638 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20642 if (arg2
== NULL
) {
20643 PyErr_SetString(PyExc_TypeError
,"null reference");
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20650 result
= (wxDateTime
*) &_result_ref
;
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20663 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20664 PyObject
*resultobj
;
20665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20666 wxDateSpan
*arg2
= 0 ;
20667 wxDateTime
*result
;
20668 PyObject
* obj0
= 0 ;
20669 PyObject
* obj1
= 0 ;
20671 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20673 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20677 if (arg2
== NULL
) {
20678 PyErr_SetString(PyExc_TypeError
,"null reference");
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20685 result
= (wxDateTime
*) &_result_ref
;
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20698 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20703 argc
= PyObject_Length(args
);
20704 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20705 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20711 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20721 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20729 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20737 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20747 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20755 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20760 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20765 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20766 PyObject
*resultobj
;
20767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20768 wxTimeSpan
*arg2
= 0 ;
20769 wxDateTime
*result
;
20770 PyObject
* obj0
= 0 ;
20771 PyObject
* obj1
= 0 ;
20773 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20775 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20779 if (arg2
== NULL
) {
20780 PyErr_SetString(PyExc_TypeError
,"null reference");
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20787 result
= (wxDateTime
*) &_result_ref
;
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20800 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20801 PyObject
*resultobj
;
20802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20803 wxDateSpan
*arg2
= 0 ;
20804 wxDateTime
*result
;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20808 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20810 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20814 if (arg2
== NULL
) {
20815 PyErr_SetString(PyExc_TypeError
,"null reference");
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20822 result
= (wxDateTime
*) &_result_ref
;
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20835 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20840 argc
= PyObject_Length(args
);
20841 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20842 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20848 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20858 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20866 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20874 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20884 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20892 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20897 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20902 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20903 PyObject
*resultobj
;
20904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20905 wxTimeSpan
*arg2
= 0 ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20910 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20916 if (arg2
== NULL
) {
20917 PyErr_SetString(PyExc_TypeError
,"null reference");
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 wxDateTime
* resultptr
;
20929 resultptr
= new wxDateTime((wxDateTime
&) result
);
20930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20938 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20939 PyObject
*resultobj
;
20940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20941 wxDateSpan
*arg2
= 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20946 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20952 if (arg2
== NULL
) {
20953 PyErr_SetString(PyExc_TypeError
,"null reference");
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20964 wxDateTime
* resultptr
;
20965 resultptr
= new wxDateTime((wxDateTime
&) result
);
20966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20974 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20979 argc
= PyObject_Length(args
);
20980 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20981 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21005 return _wrap_DateTime___add____SWIG_0(self
,args
);
21013 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21023 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21031 return _wrap_DateTime___add____SWIG_1(self
,args
);
21036 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21041 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21042 PyObject
*resultobj
;
21043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21044 wxDateTime
*arg2
= 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21049 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21055 if (arg2
== NULL
) {
21056 PyErr_SetString(PyExc_TypeError
,"null reference");
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21067 wxTimeSpan
* resultptr
;
21068 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21077 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21078 PyObject
*resultobj
;
21079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21080 wxTimeSpan
*arg2
= 0 ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21085 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21091 if (arg2
== NULL
) {
21092 PyErr_SetString(PyExc_TypeError
,"null reference");
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21103 wxDateTime
* resultptr
;
21104 resultptr
= new wxDateTime((wxDateTime
&) result
);
21105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21113 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21114 PyObject
*resultobj
;
21115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21116 wxDateSpan
*arg2
= 0 ;
21118 PyObject
* obj0
= 0 ;
21119 PyObject
* obj1
= 0 ;
21121 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21127 if (arg2
== NULL
) {
21128 PyErr_SetString(PyExc_TypeError
,"null reference");
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 wxDateTime
* resultptr
;
21140 resultptr
= new wxDateTime((wxDateTime
&) result
);
21141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21149 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21154 argc
= PyObject_Length(args
);
21155 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21156 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21162 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21172 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21180 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21188 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21198 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21206 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21214 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21224 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21232 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21237 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21242 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21243 PyObject
*resultobj
;
21244 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21245 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21250 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21271 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21272 PyObject
*resultobj
;
21273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21274 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21279 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21300 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21301 PyObject
*resultobj
;
21302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21303 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21308 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21329 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21330 PyObject
*resultobj
;
21331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21332 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21337 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21358 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21359 PyObject
*resultobj
;
21360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21361 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21366 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21387 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21388 PyObject
*resultobj
;
21389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21390 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21395 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21416 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21419 wxString
*arg2
= 0 ;
21421 bool temp2
= false ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "date", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 arg2
= wxString_in_helper(obj1
);
21433 if (arg2
== NULL
) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_From_int((int)result
);
21458 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21461 wxString
*arg2
= 0 ;
21462 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21464 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21465 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21467 bool temp2
= false ;
21468 bool temp3
= false ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 PyObject
* obj2
= 0 ;
21472 PyObject
* obj3
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 arg2
= wxString_in_helper(obj1
);
21482 if (arg2
== NULL
) SWIG_fail
;
21487 arg3
= wxString_in_helper(obj2
);
21488 if (arg3
== NULL
) SWIG_fail
;
21493 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21496 if (arg4
== NULL
) {
21497 PyErr_SetString(PyExc_TypeError
,"null reference");
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_From_int((int)result
);
21531 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21534 wxString
*arg2
= 0 ;
21536 bool temp2
= false ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "datetime", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21547 arg2
= wxString_in_helper(obj1
);
21548 if (arg2
== NULL
) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_From_int((int)result
);
21573 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21576 wxString
*arg2
= 0 ;
21578 bool temp2
= false ;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "date", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg2
= wxString_in_helper(obj1
);
21590 if (arg2
== NULL
) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_From_int((int)result
);
21615 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21618 wxString
*arg2
= 0 ;
21620 bool temp2
= false ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self",(char *) "time", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 arg2
= wxString_in_helper(obj1
);
21632 if (arg2
== NULL
) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_From_int((int)result
);
21657 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21660 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21661 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21662 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21663 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21665 bool temp2
= false ;
21666 bool temp3
= false ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 PyObject
* obj2
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "format",(char *) "tz", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 arg2
= wxString_in_helper(obj1
);
21680 if (arg2
== NULL
) SWIG_fail
;
21686 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21709 if (temp3
) delete arg3
;
21718 if (temp3
) delete arg3
;
21724 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21756 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21788 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21820 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21852 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21855 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21857 return Py_BuildValue((char *)"");
21859 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21863 PyObject
* obj0
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "sec", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21869 arg1
= (long)SWIG_As_long(obj0
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= wxTimeSpan::Seconds(arg1
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21879 wxTimeSpan
* resultptr
;
21880 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21889 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21892 char *kwnames
[] = {
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= wxTimeSpan::Second();
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_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21919 PyObject
* obj0
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "min", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21925 arg1
= (long)SWIG_As_long(obj0
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= wxTimeSpan::Minutes(arg1
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 wxTimeSpan
* resultptr
;
21936 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21945 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21948 char *kwnames
[] = {
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= wxTimeSpan::Minute();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 wxTimeSpan
* resultptr
;
21962 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21971 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "hours", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21981 arg1
= (long)SWIG_As_long(obj0
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= wxTimeSpan::Hours(arg1
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 wxTimeSpan
* resultptr
;
21992 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22001 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22004 char *kwnames
[] = {
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= wxTimeSpan::Hour();
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 wxTimeSpan
* resultptr
;
22018 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22027 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "days", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22037 arg1
= (long)SWIG_As_long(obj0
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= wxTimeSpan::Days(arg1
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 wxTimeSpan
* resultptr
;
22048 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22057 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22060 char *kwnames
[] = {
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= wxTimeSpan::Day();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 wxTimeSpan
* resultptr
;
22074 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22083 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22087 PyObject
* obj0
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "days", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22093 arg1
= (long)SWIG_As_long(obj0
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= wxTimeSpan::Weeks(arg1
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 wxTimeSpan
* resultptr
;
22104 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22113 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22116 char *kwnames
[] = {
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= wxTimeSpan::Week();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 wxTimeSpan
* resultptr
;
22130 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22139 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 long arg1
= (long) 0 ;
22142 long arg2
= (long) 0 ;
22143 long arg3
= (long) 0 ;
22144 long arg4
= (long) 0 ;
22145 wxTimeSpan
*result
;
22146 PyObject
* obj0
= 0 ;
22147 PyObject
* obj1
= 0 ;
22148 PyObject
* obj2
= 0 ;
22149 PyObject
* obj3
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22156 arg1
= (long)SWIG_As_long(obj0
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 arg2
= (long)SWIG_As_long(obj1
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 arg3
= (long)SWIG_As_long(obj2
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 arg4
= (long)SWIG_As_long(obj3
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22185 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22213 wxTimeSpan
*arg2
= 0 ;
22214 wxTimeSpan
*result
;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "self",(char *) "diff", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22227 if (arg2
== NULL
) {
22228 PyErr_SetString(PyExc_TypeError
,"null reference");
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22235 result
= (wxTimeSpan
*) &_result_ref
;
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22248 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22251 wxTimeSpan
*arg2
= 0 ;
22252 wxTimeSpan
*result
;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "diff", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22265 if (arg2
== NULL
) {
22266 PyErr_SetString(PyExc_TypeError
,"null reference");
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22273 result
= (wxTimeSpan
*) &_result_ref
;
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22286 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22290 wxTimeSpan
*result
;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "n", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 arg2
= (int)SWIG_As_int(obj1
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22306 result
= (wxTimeSpan
*) &_result_ref
;
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22319 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22322 wxTimeSpan
*result
;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22335 result
= (wxTimeSpan
*) &_result_ref
;
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22348 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 wxTimeSpan
* resultptr
;
22369 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22378 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22381 wxTimeSpan
*arg2
= 0 ;
22382 wxTimeSpan
*result
;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "diff", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22391 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22395 if (arg2
== NULL
) {
22396 PyErr_SetString(PyExc_TypeError
,"null reference");
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22403 result
= (wxTimeSpan
*) &_result_ref
;
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22416 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22419 wxTimeSpan
*arg2
= 0 ;
22420 wxTimeSpan
*result
;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "self",(char *) "diff", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22429 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22433 if (arg2
== NULL
) {
22434 PyErr_SetString(PyExc_TypeError
,"null reference");
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22441 result
= (wxTimeSpan
*) &_result_ref
;
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22454 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22458 wxTimeSpan
*result
;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self",(char *) "n", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22467 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22468 arg2
= (int)SWIG_As_int(obj1
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22474 result
= (wxTimeSpan
*) &_result_ref
;
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22487 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22490 wxTimeSpan
*result
;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22503 result
= (wxTimeSpan
*) &_result_ref
;
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22516 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22519 wxTimeSpan
*arg2
= 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "other", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22533 if (arg2
== NULL
) {
22534 PyErr_SetString(PyExc_TypeError
,"null reference");
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 wxTimeSpan
* resultptr
;
22546 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22555 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22558 wxTimeSpan
*arg2
= 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self",(char *) "other", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22572 if (arg2
== NULL
) {
22573 PyErr_SetString(PyExc_TypeError
,"null reference");
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 wxTimeSpan
* resultptr
;
22585 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22594 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "n", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22608 arg2
= (int)SWIG_As_int(obj1
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= wxTimeSpan___mul__(arg1
,arg2
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 wxTimeSpan
* resultptr
;
22619 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22628 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "n", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 arg2
= (int)SWIG_As_int(obj1
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 wxTimeSpan
* resultptr
;
22653 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22662 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22665 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "other", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22694 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22697 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self",(char *) "other", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22726 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22729 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "other", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22758 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22761 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "other", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22790 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22793 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self",(char *) "other", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22825 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "other", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22854 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22858 PyObject
* obj0
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22882 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22910 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22938 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22941 wxTimeSpan
*arg2
= 0 ;
22943 PyObject
* obj0
= 0 ;
22944 PyObject
* obj1
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self",(char *) "ts", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22955 if (arg2
== NULL
) {
22956 PyErr_SetString(PyExc_TypeError
,"null reference");
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22975 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22978 wxTimeSpan
*arg2
= 0 ;
22980 PyObject
* obj0
= 0 ;
22981 PyObject
* obj1
= 0 ;
22982 char *kwnames
[] = {
22983 (char *) "self",(char *) "ts", NULL
22986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22992 if (arg2
== NULL
) {
22993 PyErr_SetString(PyExc_TypeError
,"null reference");
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23012 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23015 wxTimeSpan
*arg2
= 0 ;
23017 PyObject
* obj0
= 0 ;
23018 PyObject
* obj1
= 0 ;
23019 char *kwnames
[] = {
23020 (char *) "self",(char *) "t", NULL
23023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23029 if (arg2
== NULL
) {
23030 PyErr_SetString(PyExc_TypeError
,"null reference");
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23049 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_From_int((int)result
);
23075 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_From_int((int)result
);
23101 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23105 PyObject
* obj0
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_From_int((int)result
);
23127 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_From_int((int)result
);
23153 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
;
23155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23173 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23174 hi
= PyLong_FromLong( (&result
)->GetHi() );
23175 lo
= PyLong_FromLong( (&result
)->GetLo() );
23176 shifter
= PyLong_FromLong(32);
23177 shifted
= PyNumber_Lshift(hi
, shifter
);
23178 resultobj
= PyNumber_Or(shifted
, lo
);
23181 Py_DECREF(shifter
);
23182 Py_DECREF(shifted
);
23190 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23211 hi
= PyLong_FromLong( (&result
)->GetHi() );
23212 lo
= PyLong_FromLong( (&result
)->GetLo() );
23213 shifter
= PyLong_FromLong(32);
23214 shifted
= PyNumber_Lshift(hi
, shifter
);
23215 resultobj
= PyNumber_Or(shifted
, lo
);
23218 Py_DECREF(shifter
);
23219 Py_DECREF(shifted
);
23227 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23230 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23231 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23233 bool temp2
= false ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "format", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 arg2
= wxString_in_helper(obj1
);
23246 if (arg2
== NULL
) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23278 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23281 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23283 return Py_BuildValue((char *)"");
23285 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 int arg1
= (int) 0 ;
23288 int arg2
= (int) 0 ;
23289 int arg3
= (int) 0 ;
23290 int arg4
= (int) 0 ;
23291 wxDateSpan
*result
;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 PyObject
* obj2
= 0 ;
23295 PyObject
* obj3
= 0 ;
23296 char *kwnames
[] = {
23297 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23302 arg1
= (int)SWIG_As_int(obj0
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 arg2
= (int)SWIG_As_int(obj1
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23310 arg3
= (int)SWIG_As_int(obj2
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 arg4
= (int)SWIG_As_int(obj3
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23331 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "days", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23366 arg1
= (int)SWIG_As_int(obj0
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= wxDateSpan::Days(arg1
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 wxDateSpan
* resultptr
;
23377 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23386 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23389 char *kwnames
[] = {
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= wxDateSpan::Day();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 wxDateSpan
* resultptr
;
23403 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23412 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "weeks", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23422 arg1
= (int)SWIG_As_int(obj0
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= wxDateSpan::Weeks(arg1
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23432 wxDateSpan
* resultptr
;
23433 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23442 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23445 char *kwnames
[] = {
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= wxDateSpan::Week();
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 wxDateSpan
* resultptr
;
23459 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23468 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "mon", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23478 arg1
= (int)SWIG_As_int(obj0
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= wxDateSpan::Months(arg1
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 wxDateSpan
* resultptr
;
23489 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23498 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23501 char *kwnames
[] = {
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= wxDateSpan::Month();
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23514 wxDateSpan
* resultptr
;
23515 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23524 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23528 PyObject
* obj0
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "years", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23534 arg1
= (int)SWIG_As_int(obj0
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= wxDateSpan::Years(arg1
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23544 wxDateSpan
* resultptr
;
23545 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23554 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23557 char *kwnames
[] = {
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= wxDateSpan::Year();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 wxDateSpan
* resultptr
;
23571 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23580 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23584 wxDateSpan
*result
;
23585 PyObject
* obj0
= 0 ;
23586 PyObject
* obj1
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "n", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 arg2
= (int)SWIG_As_int(obj1
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23600 result
= (wxDateSpan
*) &_result_ref
;
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23613 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23617 wxDateSpan
*result
;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "n", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 arg2
= (int)SWIG_As_int(obj1
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23633 result
= (wxDateSpan
*) &_result_ref
;
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23646 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23648 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23650 wxDateSpan
*result
;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "n", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 arg2
= (int)SWIG_As_int(obj1
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23666 result
= (wxDateSpan
*) &_result_ref
;
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23679 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23683 wxDateSpan
*result
;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "n", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 arg2
= (int)SWIG_As_int(obj1
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23699 result
= (wxDateSpan
*) &_result_ref
;
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23712 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_From_int((int)result
);
23738 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_From_int((int)result
);
23764 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_From_int((int)result
);
23790 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 resultobj
= SWIG_From_int((int)result
);
23816 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23820 PyObject
* obj0
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_From_int((int)result
);
23842 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23845 wxDateSpan
*arg2
= 0 ;
23846 wxDateSpan
*result
;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "other", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23859 if (arg2
== NULL
) {
23860 PyErr_SetString(PyExc_TypeError
,"null reference");
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23867 result
= (wxDateSpan
*) &_result_ref
;
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23880 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23883 wxDateSpan
*arg2
= 0 ;
23884 wxDateSpan
*result
;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "other", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23897 if (arg2
== NULL
) {
23898 PyErr_SetString(PyExc_TypeError
,"null reference");
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23905 result
= (wxDateSpan
*) &_result_ref
;
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23918 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23921 wxDateSpan
*result
;
23922 PyObject
* obj0
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23934 result
= (wxDateSpan
*) &_result_ref
;
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23947 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23951 wxDateSpan
*result
;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self",(char *) "factor", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 arg2
= (int)SWIG_As_int(obj1
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23967 result
= (wxDateSpan
*) &_result_ref
;
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23980 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23983 wxDateSpan
*arg2
= 0 ;
23984 wxDateSpan
*result
;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self",(char *) "other", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23993 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23997 if (arg2
== NULL
) {
23998 PyErr_SetString(PyExc_TypeError
,"null reference");
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24005 result
= (wxDateSpan
*) &_result_ref
;
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24018 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24021 wxDateSpan
*arg2
= 0 ;
24022 wxDateSpan
*result
;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "other", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24031 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24035 if (arg2
== NULL
) {
24036 PyErr_SetString(PyExc_TypeError
,"null reference");
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24043 result
= (wxDateSpan
*) &_result_ref
;
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24056 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24059 wxDateSpan
*result
;
24060 PyObject
* obj0
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24072 result
= (wxDateSpan
*) &_result_ref
;
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24085 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24089 wxDateSpan
*result
;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self",(char *) "factor", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24098 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24099 arg2
= (int)SWIG_As_int(obj1
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24105 result
= (wxDateSpan
*) &_result_ref
;
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24118 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24121 wxDateSpan
*arg2
= 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self",(char *) "other", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24135 if (arg2
== NULL
) {
24136 PyErr_SetString(PyExc_TypeError
,"null reference");
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 wxDateSpan
* resultptr
;
24148 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24157 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24160 wxDateSpan
*arg2
= 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "other", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24174 if (arg2
== NULL
) {
24175 PyErr_SetString(PyExc_TypeError
,"null reference");
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 wxDateSpan
* resultptr
;
24187 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24196 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "n", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 arg2
= (int)SWIG_As_int(obj1
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= wxDateSpan___mul__(arg1
,arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24220 wxDateSpan
* resultptr
;
24221 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24230 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24235 PyObject
* obj0
= 0 ;
24236 PyObject
* obj1
= 0 ;
24237 char *kwnames
[] = {
24238 (char *) "self",(char *) "n", NULL
24241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24244 arg2
= (int)SWIG_As_int(obj1
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= wxDateSpan___rmul__(arg1
,arg2
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 wxDateSpan
* resultptr
;
24255 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24264 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24267 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "other", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24296 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24299 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self",(char *) "other", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24328 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24331 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24333 return Py_BuildValue((char *)"");
24335 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24338 char *kwnames
[] = {
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (long)wxGetLocalTime();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_From_long((long)result
);
24357 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24360 char *kwnames
[] = {
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (long)wxGetUTCTime();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_From_long((long)result
);
24379 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24382 char *kwnames
[] = {
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (long)wxGetCurrentTime();
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= SWIG_From_long((long)result
);
24401 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24404 char *kwnames
[] = {
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= wxGetLocalTimeMillis();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24418 hi
= PyLong_FromLong( (&result
)->GetHi() );
24419 lo
= PyLong_FromLong( (&result
)->GetLo() );
24420 shifter
= PyLong_FromLong(32);
24421 shifted
= PyNumber_Lshift(hi
, shifter
);
24422 resultobj
= PyNumber_Or(shifted
, lo
);
24425 Py_DECREF(shifter
);
24426 Py_DECREF(shifted
);
24434 static int _wrap_DefaultDateTime_set(PyObject
*) {
24435 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24440 static PyObject
*_wrap_DefaultDateTime_get() {
24443 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24448 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24451 wxDataFormat
*result
;
24452 PyObject
* obj0
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "type", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24458 arg1
= (int)SWIG_As_int(obj0
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24474 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxString
*arg1
= 0 ;
24477 wxDataFormat
*result
;
24478 bool temp1
= false ;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "format", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24486 arg1
= wxString_in_helper(obj0
);
24487 if (arg1
== NULL
) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24512 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 Py_INCREF(Py_None
); resultobj
= Py_None
;
24537 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24538 PyObject
*resultobj
;
24539 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24545 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24548 arg2
= (int)SWIG_As_int(obj1
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24567 PyObject
*resultobj
;
24568 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24574 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24577 arg2
= (int)SWIG_As_int(obj1
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24595 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24596 PyObject
*resultobj
;
24597 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24598 wxDataFormat
*arg2
= 0 ;
24600 PyObject
* obj0
= 0 ;
24601 PyObject
* obj1
= 0 ;
24603 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24609 if (arg2
== NULL
) {
24610 PyErr_SetString(PyExc_TypeError
,"null reference");
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24629 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24634 argc
= PyObject_Length(args
);
24635 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24636 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24642 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24652 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24660 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24668 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24676 _v
= SWIG_Check_int(argv
[1]);
24678 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24683 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24688 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24689 PyObject
*resultobj
;
24690 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24691 wxDataFormat
*arg2
= 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24696 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24702 if (arg2
== NULL
) {
24703 PyErr_SetString(PyExc_TypeError
,"null reference");
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24722 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24727 argc
= PyObject_Length(args
);
24728 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24729 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24735 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24745 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24753 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24761 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24769 _v
= SWIG_Check_int(argv
[1]);
24771 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24776 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24781 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
;
24783 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self",(char *) "format", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24794 arg2
= (int)SWIG_As_int(obj1
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 (arg1
)->SetType((wxDataFormatId
)arg2
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24803 Py_INCREF(Py_None
); resultobj
= Py_None
;
24810 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
;
24812 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_From_int((int)result
);
24836 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= ((wxDataFormat
const *)arg1
)->GetId();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24868 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24871 wxString
*arg2
= 0 ;
24872 bool temp2
= false ;
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:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24883 arg2
= wxString_in_helper(obj1
);
24884 if (arg2
== NULL
) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 (arg1
)->SetId((wxString
const &)*arg2
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24912 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24914 return Py_BuildValue((char *)"");
24916 static int _wrap_FormatInvalid_set(PyObject
*) {
24917 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24922 static PyObject
*_wrap_FormatInvalid_get() {
24925 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24930 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24958 int arg2
= (int) wxDataObject::Get
;
24959 SwigValueWrapper
< wxDataFormat
> result
;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self",(char *) "dir", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 arg2
= (int)SWIG_As_int(obj1
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24981 wxDataFormat
* resultptr
;
24982 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24991 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24994 int arg2
= (int) wxDataObject::Get
;
24996 PyObject
* obj0
= 0 ;
24997 PyObject
* obj1
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self",(char *) "dir", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25006 arg2
= (int)SWIG_As_int(obj1
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25023 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25026 wxDataFormat
*arg2
= 0 ;
25027 int arg3
= (int) wxDataObject::Get
;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 PyObject
* obj2
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "self",(char *) "format",(char *) "dir", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25042 if (arg2
== NULL
) {
25043 PyErr_SetString(PyExc_TypeError
,"null reference");
25047 arg3
= (int)SWIG_As_int(obj2
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25066 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25069 wxDataFormat
*arg2
= 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "format", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25083 if (arg2
== NULL
) {
25084 PyErr_SetString(PyExc_TypeError
,"null reference");
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25101 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25104 int arg2
= (int) wxDataObject::Get
;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "dir", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25116 arg2
= (int)SWIG_As_int(obj1
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= result
;
25133 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25136 wxDataFormat
*arg2
= 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "format", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25150 if (arg2
== NULL
) {
25151 PyErr_SetString(PyExc_TypeError
,"null reference");
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= result
;
25168 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25171 wxDataFormat
*arg2
= 0 ;
25172 PyObject
*arg3
= (PyObject
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 PyObject
* obj2
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "format",(char *) "data", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25187 if (arg2
== NULL
) {
25188 PyErr_SetString(PyExc_TypeError
,"null reference");
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25208 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25211 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25213 return Py_BuildValue((char *)"");
25215 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25218 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25219 wxDataObjectSimple
*result
;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "format", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25230 if (arg1
== NULL
) {
25231 PyErr_SetString(PyExc_TypeError
,"null reference");
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25249 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
;
25251 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25252 wxDataFormat
*result
;
25253 PyObject
* obj0
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25265 result
= (wxDataFormat
*) &_result_ref
;
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25278 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25281 wxDataFormat
*arg2
= 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "format", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25294 if (arg2
== NULL
) {
25295 PyErr_SetString(PyExc_TypeError
,"null reference");
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25312 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25338 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25342 PyObject
* obj0
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= result
;
25364 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25367 PyObject
*arg2
= (PyObject
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "data", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25395 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25398 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25400 return Py_BuildValue((char *)"");
25402 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25405 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25406 wxPyDataObjectSimple
*result
;
25407 PyObject
* obj0
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "format", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25417 if (arg1
== NULL
) {
25418 PyErr_SetString(PyExc_TypeError
,"null reference");
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25436 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25439 PyObject
*arg2
= (PyObject
*) 0 ;
25440 PyObject
*arg3
= (PyObject
*) 0 ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 PyObject
* obj2
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "self",(char *) "_class", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25470 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25472 return Py_BuildValue((char *)"");
25474 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxDataObjectComposite
*result
;
25477 char *kwnames
[] = {
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25496 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25499 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25500 bool arg3
= (bool) false ;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 PyObject
* obj2
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25512 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25514 arg3
= (bool)SWIG_As_bool(obj2
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 (arg1
)->Add(arg2
,arg3
);
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 Py_INCREF(Py_None
); resultobj
= Py_None
;
25531 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25534 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25536 return Py_BuildValue((char *)"");
25538 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25541 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25542 wxTextDataObject
*result
;
25543 bool temp1
= false ;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "text", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25552 arg1
= wxString_in_helper(obj0
);
25553 if (arg1
== NULL
) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25579 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (size_t)(arg1
)->GetTextLength();
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25605 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
;
25607 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25609 PyObject
* obj0
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (arg1
)->GetText();
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25637 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25640 wxString
*arg2
= 0 ;
25641 bool temp2
= false ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self",(char *) "text", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25652 arg2
= wxString_in_helper(obj1
);
25653 if (arg2
== NULL
) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->SetText((wxString
const &)*arg2
);
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 Py_INCREF(Py_None
); resultobj
= Py_None
;
25678 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25681 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25683 return Py_BuildValue((char *)"");
25685 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25688 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25689 wxPyTextDataObject
*result
;
25690 bool temp1
= false ;
25691 PyObject
* obj0
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "text", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25699 arg1
= wxString_in_helper(obj0
);
25700 if (arg1
== NULL
) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25726 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25729 PyObject
*arg2
= (PyObject
*) 0 ;
25730 PyObject
*arg3
= (PyObject
*) 0 ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 PyObject
* obj2
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "self",(char *) "_class", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 Py_INCREF(Py_None
); resultobj
= Py_None
;
25757 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25760 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25762 return Py_BuildValue((char *)"");
25764 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25767 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25768 wxBitmapDataObject
*result
;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "bitmap", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25779 if (arg1
== NULL
) {
25780 PyErr_SetString(PyExc_TypeError
,"null reference");
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25798 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 wxBitmap
* resultptr
;
25819 resultptr
= new wxBitmap((wxBitmap
&) result
);
25820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25828 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25831 wxBitmap
*arg2
= 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "bitmap", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25844 if (arg2
== NULL
) {
25845 PyErr_SetString(PyExc_TypeError
,"null reference");
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 Py_INCREF(Py_None
); resultobj
= Py_None
;
25862 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25865 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25867 return Py_BuildValue((char *)"");
25869 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25872 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25873 wxPyBitmapDataObject
*result
;
25874 PyObject
* obj0
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "bitmap", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25884 if (arg1
== NULL
) {
25885 PyErr_SetString(PyExc_TypeError
,"null reference");
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25903 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
;
25905 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25906 PyObject
*arg2
= (PyObject
*) 0 ;
25907 PyObject
*arg3
= (PyObject
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 PyObject
* obj2
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "self",(char *) "_class", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 Py_INCREF(Py_None
); resultobj
= Py_None
;
25934 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25937 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25939 return Py_BuildValue((char *)"");
25941 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxFileDataObject
*result
;
25944 char *kwnames
[] = {
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (wxFileDataObject
*)new wxFileDataObject();
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25963 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25966 wxArrayString
*result
;
25967 PyObject
* obj0
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25979 result
= (wxArrayString
*) &_result_ref
;
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= wxArrayString2PyList_helper(*result
);
25994 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25997 wxString
*arg2
= 0 ;
25998 bool temp2
= false ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self",(char *) "filename", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 arg2
= wxString_in_helper(obj1
);
26010 if (arg2
== NULL
) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 (arg1
)->AddFile((wxString
const &)*arg2
);
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 Py_INCREF(Py_None
); resultobj
= Py_None
;
26035 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26038 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26040 return Py_BuildValue((char *)"");
26042 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26045 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26046 wxCustomDataObject
*result
;
26047 PyObject
* obj0
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "format", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26057 if (arg1
== NULL
) {
26058 PyErr_SetString(PyExc_TypeError
,"null reference");
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26076 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26079 PyObject
*arg2
= (PyObject
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self",(char *) "data", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26107 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
;
26109 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26111 PyObject
* obj0
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (size_t)(arg1
)->GetSize();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26133 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= result
;
26159 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26162 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26164 return Py_BuildValue((char *)"");
26166 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxURLDataObject
*result
;
26169 char *kwnames
[] = {
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (wxURLDataObject
*)new wxURLDataObject();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26188 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (arg1
)->GetURL();
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26220 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26223 wxString
*arg2
= 0 ;
26224 bool temp2
= false ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "url", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 arg2
= wxString_in_helper(obj1
);
26236 if (arg2
== NULL
) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 (arg1
)->SetURL((wxString
const &)*arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 Py_INCREF(Py_None
); resultobj
= Py_None
;
26261 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26264 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26266 return Py_BuildValue((char *)"");
26268 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxMetafileDataObject
*result
;
26271 char *kwnames
[] = {
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26290 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26293 wxMetafile
*arg2
= 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "metafile", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26306 if (arg2
== NULL
) {
26307 PyErr_SetString(PyExc_TypeError
,"null reference");
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 Py_INCREF(Py_None
); resultobj
= Py_None
;
26324 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
;
26326 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 char *kwnames
[] = {
26330 (char *) "self", NULL
26333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 wxMetafile
* resultptr
;
26345 resultptr
= new wxMetafile((wxMetafile
&) result
);
26346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26354 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26357 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26359 return Py_BuildValue((char *)"");
26361 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26365 PyObject
* obj0
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "res", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26371 arg1
= (int)SWIG_As_int(obj0
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26389 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxWindow
*arg1
= (wxWindow
*) 0 ;
26392 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26393 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26394 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26395 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26396 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26397 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26398 wxPyDropSource
*result
;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 PyObject
* obj2
= 0 ;
26402 PyObject
* obj3
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26414 if (arg2
== NULL
) {
26415 PyErr_SetString(PyExc_TypeError
,"null reference");
26420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26423 if (arg3
== NULL
) {
26424 PyErr_SetString(PyExc_TypeError
,"null reference");
26429 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26432 if (arg4
== NULL
) {
26433 PyErr_SetString(PyExc_TypeError
,"null reference");
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26451 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26454 PyObject
*arg2
= (PyObject
*) 0 ;
26455 PyObject
*arg3
= (PyObject
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 PyObject
* obj3
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 arg4
= (int)SWIG_As_int(obj3
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 Py_INCREF(Py_None
); resultobj
= Py_None
;
26486 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26514 wxDataObject
*arg2
= 0 ;
26515 PyObject
* obj0
= 0 ;
26516 PyObject
* obj1
= 0 ;
26517 char *kwnames
[] = {
26518 (char *) "self",(char *) "data", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26527 if (arg2
== NULL
) {
26528 PyErr_SetString(PyExc_TypeError
,"null reference");
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 (arg1
)->SetData(*arg2
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 Py_INCREF(Py_None
); resultobj
= Py_None
;
26545 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26548 wxDataObject
*result
;
26549 PyObject
* obj0
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26571 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26575 wxCursor
*arg3
= 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 PyObject
* obj2
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "self",(char *) "res",(char *) "cursor", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26586 arg2
= (int)SWIG_As_int(obj1
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26588 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26591 if (arg3
== NULL
) {
26592 PyErr_SetString(PyExc_TypeError
,"null reference");
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 Py_INCREF(Py_None
); resultobj
= Py_None
;
26609 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26612 int arg2
= (int) wxDrag_CopyOnly
;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "flags", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 arg2
= (int)SWIG_As_int(obj1
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (int)(arg1
)->DoDragDrop(arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= SWIG_From_int((int)result
);
26641 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "effect", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26655 arg2
= (int)SWIG_As_int(obj1
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26673 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26676 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26678 return Py_BuildValue((char *)"");
26680 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26683 wxPyDropTarget
*result
;
26684 PyObject
* obj0
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "dataObject", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26692 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26708 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26711 PyObject
*arg2
= (PyObject
*) 0 ;
26712 PyObject
*arg3
= (PyObject
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 PyObject
* obj2
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "self",(char *) "_class", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 Py_INCREF(Py_None
); resultobj
= Py_None
;
26739 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 Py_INCREF(Py_None
); resultobj
= Py_None
;
26764 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26767 wxDataObject
*result
;
26768 PyObject
* obj0
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26790 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26793 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "dataObject", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26804 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 (arg1
)->SetDataObject(arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 Py_INCREF(Py_None
); resultobj
= Py_None
;
26819 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 PyObject
* obj3
= 0 ;
26830 char *kwnames
[] = {
26831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 arg2
= (int)SWIG_As_int(obj1
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26839 arg3
= (int)SWIG_As_int(obj2
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26841 arg4
= (int)SWIG_As_int(obj3
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_From_int((int)result
);
26857 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
;
26859 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 PyObject
* obj2
= 0 ;
26867 PyObject
* obj3
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26875 arg2
= (int)SWIG_As_int(obj1
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26877 arg3
= (int)SWIG_As_int(obj2
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26879 arg4
= (int)SWIG_As_int(obj3
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_From_int((int)result
);
26895 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 (arg1
)->base_OnLeave();
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 Py_INCREF(Py_None
); resultobj
= Py_None
;
26920 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 PyObject
* obj2
= 0 ;
26929 char *kwnames
[] = {
26930 (char *) "self",(char *) "x",(char *) "y", NULL
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26936 arg2
= (int)SWIG_As_int(obj1
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26938 arg3
= (int)SWIG_As_int(obj2
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26956 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (bool)(arg1
)->GetData();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26987 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26989 return Py_BuildValue((char *)"");
26991 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxPyTextDropTarget
*result
;
26994 char *kwnames
[] = {
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
27013 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27016 PyObject
*arg2
= (PyObject
*) 0 ;
27017 PyObject
*arg3
= (PyObject
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "self",(char *) "_class", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27044 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27051 PyObject
* obj0
= 0 ;
27052 PyObject
* obj1
= 0 ;
27053 PyObject
* obj2
= 0 ;
27054 PyObject
* obj3
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27062 arg2
= (int)SWIG_As_int(obj1
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27064 arg3
= (int)SWIG_As_int(obj2
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27066 arg4
= (int)SWIG_As_int(obj3
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_From_int((int)result
);
27082 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 PyObject
* obj3
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 arg2
= (int)SWIG_As_int(obj1
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27102 arg3
= (int)SWIG_As_int(obj2
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27104 arg4
= (int)SWIG_As_int(obj3
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_From_int((int)result
);
27120 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 (arg1
)->base_OnLeave();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 Py_INCREF(Py_None
); resultobj
= Py_None
;
27145 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 PyObject
* obj2
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self",(char *) "x",(char *) "y", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27161 arg2
= (int)SWIG_As_int(obj1
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27163 arg3
= (int)SWIG_As_int(obj2
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27181 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
;
27183 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 PyObject
* obj2
= 0 ;
27191 PyObject
* obj3
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 arg2
= (int)SWIG_As_int(obj1
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27201 arg3
= (int)SWIG_As_int(obj2
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27203 arg4
= (int)SWIG_As_int(obj3
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_From_int((int)result
);
27219 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27222 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27224 return Py_BuildValue((char *)"");
27226 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxPyFileDropTarget
*result
;
27229 char *kwnames
[] = {
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27248 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27251 PyObject
*arg2
= (PyObject
*) 0 ;
27252 PyObject
*arg3
= (PyObject
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 PyObject
* obj2
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "self",(char *) "_class", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 Py_INCREF(Py_None
); resultobj
= Py_None
;
27279 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 PyObject
* obj3
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 arg2
= (int)SWIG_As_int(obj1
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27299 arg3
= (int)SWIG_As_int(obj2
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27301 arg4
= (int)SWIG_As_int(obj3
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= SWIG_From_int((int)result
);
27317 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 PyObject
* obj2
= 0 ;
27327 PyObject
* obj3
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27335 arg2
= (int)SWIG_As_int(obj1
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27337 arg3
= (int)SWIG_As_int(obj2
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27339 arg4
= (int)SWIG_As_int(obj3
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= SWIG_From_int((int)result
);
27355 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27358 PyObject
* obj0
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 (arg1
)->base_OnLeave();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 Py_INCREF(Py_None
); resultobj
= Py_None
;
27380 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 PyObject
* obj2
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "x",(char *) "y", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27396 arg2
= (int)SWIG_As_int(obj1
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27398 arg3
= (int)SWIG_As_int(obj2
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27416 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 PyObject
* obj2
= 0 ;
27426 PyObject
* obj3
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 arg2
= (int)SWIG_As_int(obj1
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27436 arg3
= (int)SWIG_As_int(obj2
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27438 arg4
= (int)SWIG_As_int(obj3
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_From_int((int)result
);
27454 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27457 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27459 return Py_BuildValue((char *)"");
27461 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxClipboard
*result
;
27464 char *kwnames
[] = {
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (wxClipboard
*)new wxClipboard();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27483 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 Py_INCREF(Py_None
); resultobj
= Py_None
;
27508 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (bool)(arg1
)->Open();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27536 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 Py_INCREF(Py_None
); resultobj
= Py_None
;
27561 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27589 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27592 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "data", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27604 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (bool)(arg1
)->AddData(arg2
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27621 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
;
27623 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27624 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "data", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27636 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (bool)(arg1
)->SetData(arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27653 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27656 wxDataFormat
*arg2
= 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self",(char *) "format", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27670 if (arg2
== NULL
) {
27671 PyErr_SetString(PyExc_TypeError
,"null reference");
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27690 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
;
27692 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27693 wxDataObject
*arg2
= 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "data", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27707 if (arg2
== NULL
) {
27708 PyErr_SetString(PyExc_TypeError
,"null reference");
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (bool)(arg1
)->GetData(*arg2
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27727 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 Py_INCREF(Py_None
); resultobj
= Py_None
;
27752 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (bool)(arg1
)->Flush();
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27780 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
;
27782 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27783 bool arg2
= (bool) true ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self",(char *) "primary", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 arg2
= (bool)SWIG_As_bool(obj1
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->UsePrimarySelection(arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxClipboard
*result
;
27814 char *kwnames
[] = {
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (wxClipboard
*)wxClipboard::Get();
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27833 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27836 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27838 return Py_BuildValue((char *)"");
27840 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27843 wxClipboardLocker
*result
;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "clipboard", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27868 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 Py_INCREF(Py_None
); resultobj
= Py_None
;
27893 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27921 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27924 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27926 return Py_BuildValue((char *)"");
27928 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 int arg1
= (int) 0 ;
27931 int arg2
= (int) 0 ;
27932 int arg3
= (int) 0 ;
27933 int arg4
= (int) 0 ;
27934 wxVideoMode
*result
;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 PyObject
* obj2
= 0 ;
27938 PyObject
* obj3
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27945 arg1
= (int)SWIG_As_int(obj0
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 arg2
= (int)SWIG_As_int(obj1
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 arg3
= (int)SWIG_As_int(obj2
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 arg4
= (int)SWIG_As_int(obj3
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27974 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 char *kwnames
[] = {
27979 (char *) "self", NULL
27982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 Py_INCREF(Py_None
); resultobj
= Py_None
;
27999 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28002 wxVideoMode
*arg2
= 0 ;
28004 PyObject
* obj0
= 0 ;
28005 PyObject
* obj1
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self",(char *) "other", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28016 if (arg2
== NULL
) {
28017 PyErr_SetString(PyExc_TypeError
,"null reference");
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28036 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28040 PyObject
* obj0
= 0 ;
28041 char *kwnames
[] = {
28042 (char *) "self", NULL
28045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
28046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 resultobj
= SWIG_From_int((int)result
);
28062 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28066 PyObject
* obj0
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28076 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= SWIG_From_int((int)result
);
28088 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_From_int((int)result
);
28114 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28142 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28145 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "other", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28174 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28177 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self",(char *) "other", NULL
28185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28206 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self",(char *) "w", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28219 arg2
= (int)SWIG_As_int(obj1
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28221 if (arg1
) (arg1
)->w
= arg2
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28242 result
= (int) ((arg1
)->w
);
28244 resultobj
= SWIG_From_int((int)result
);
28251 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self",(char *) "h", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 arg2
= (int)SWIG_As_int(obj1
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28266 if (arg1
) (arg1
)->h
= arg2
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28287 result
= (int) ((arg1
)->h
);
28289 resultobj
= SWIG_From_int((int)result
);
28296 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 PyObject
* obj1
= 0 ;
28302 char *kwnames
[] = {
28303 (char *) "self",(char *) "bpp", NULL
28306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 arg2
= (int)SWIG_As_int(obj1
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28311 if (arg1
) (arg1
)->bpp
= arg2
;
28313 Py_INCREF(Py_None
); resultobj
= Py_None
;
28320 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28332 result
= (int) ((arg1
)->bpp
);
28334 resultobj
= SWIG_From_int((int)result
);
28341 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28345 PyObject
* obj0
= 0 ;
28346 PyObject
* obj1
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "refresh", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28354 arg2
= (int)SWIG_As_int(obj1
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28356 if (arg1
) (arg1
)->refresh
= arg2
;
28358 Py_INCREF(Py_None
); resultobj
= Py_None
;
28365 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28369 PyObject
* obj0
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 result
= (int) ((arg1
)->refresh
);
28379 resultobj
= SWIG_From_int((int)result
);
28386 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28389 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28391 return Py_BuildValue((char *)"");
28393 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28394 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28399 static PyObject
*_wrap_DefaultVideoMode_get() {
28402 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28407 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 size_t arg1
= (size_t) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "index", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28418 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (wxDisplay
*)new wxDisplay(arg1
);
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28435 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28463 char *kwnames
[] = {
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (size_t)wxDisplay::GetCount();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28482 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxPoint
*arg1
= 0 ;
28487 PyObject
* obj0
= 0 ;
28488 char *kwnames
[] = {
28489 (char *) "pt", NULL
28492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28495 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= SWIG_From_int((int)result
);
28511 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxWindow
*arg1
= (wxWindow
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "window", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (int)wxDisplay::GetFromWindow(arg1
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_From_int((int)result
);
28537 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28541 PyObject
* obj0
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28565 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 wxRect
* resultptr
;
28586 resultptr
= new wxRect((wxRect
&) result
);
28587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28595 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28599 PyObject
* obj0
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= ((wxDisplay
const *)arg1
)->GetName();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28627 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28655 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28658 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28659 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "self",(char *) "mode", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28674 if (arg2
== NULL
) {
28675 PyErr_SetString(PyExc_TypeError
,"null reference");
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= result
;
28693 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28694 PyObject
*resultobj
;
28695 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28696 wxVideoMode result
;
28697 PyObject
* obj0
= 0 ;
28698 char *kwnames
[] = {
28699 (char *) "self", NULL
28702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28713 wxVideoMode
* resultptr
;
28714 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28723 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28726 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28727 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 char *kwnames
[] = {
28732 (char *) "self",(char *) "mode", NULL
28735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28742 if (arg2
== NULL
) {
28743 PyErr_SetString(PyExc_TypeError
,"null reference");
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28763 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 (arg1
)->ResetMode();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 Py_INCREF(Py_None
); resultobj
= Py_None
;
28788 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28791 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28793 return Py_BuildValue((char *)"");
28795 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxStandardPaths
*result
;
28798 char *kwnames
[] = {
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (wxStandardPaths
*)StandardPaths_Get();
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28817 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28849 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28850 PyObject
*resultobj
;
28851 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28853 PyObject
* obj0
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28881 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28913 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28917 PyObject
* obj0
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "self", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28945 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "self", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28977 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 char *kwnames
[] = {
28983 (char *) "self", NULL
28986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29009 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29013 PyObject
* obj0
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29041 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29044 wxString
*arg2
= 0 ;
29045 bool temp2
= false ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "prefix", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
29053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29056 arg2
= wxString_in_helper(obj1
);
29057 if (arg2
== NULL
) SWIG_fail
;
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 Py_INCREF(Py_None
); resultobj
= Py_None
;
29082 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= wxStandardPaths_GetInstallPrefix(arg1
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29114 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29117 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29119 return Py_BuildValue((char *)"");
29121 static PyMethodDef SwigMethods
[] = {
29122 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29129 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29136 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29200 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29208 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29224 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29229 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29232 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29235 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29241 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29255 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29261 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29267 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29270 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29284 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29287 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29288 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29291 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29318 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29320 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29322 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29324 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29331 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29337 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29351 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29355 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29358 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29375 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29383 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29429 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29457 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29467 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29483 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29499 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29513 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29522 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29565 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29568 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29571 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29575 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29668 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29669 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29670 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29671 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29672 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29673 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29674 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29675 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29676 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29677 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29688 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29726 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29733 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29767 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29775 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29776 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29781 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29790 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29797 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29800 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29803 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29808 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29811 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29815 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29818 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29822 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29827 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29831 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29833 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29835 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29845 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29856 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29864 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29872 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29886 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29890 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29908 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29922 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29933 { NULL
, NULL
, 0, NULL
}
29937 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29939 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29940 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29942 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29943 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29945 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29946 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29948 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29949 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29951 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29952 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29954 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29955 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29957 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29958 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29960 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29961 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29963 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29964 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29966 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29967 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29969 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29972 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29973 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29975 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29976 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29978 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29981 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29982 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29984 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29985 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29987 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29988 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29990 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29991 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29993 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29994 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29996 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29997 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29999 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30000 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30002 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30003 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30005 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30006 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30008 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30009 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30011 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30012 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30014 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30015 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30017 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30018 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30020 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30021 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30023 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30024 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30026 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30027 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30029 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
30030 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
30032 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30033 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30035 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30036 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30038 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30041 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30044 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30045 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30047 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30048 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30050 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30051 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30053 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
30054 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
30056 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30057 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30059 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30060 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30062 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30063 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30065 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30066 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30068 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30069 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30071 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30072 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30074 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30075 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30077 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30078 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30080 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30081 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30083 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30084 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30086 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30087 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30089 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30090 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30092 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30093 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30095 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30096 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30098 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30099 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30101 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30102 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30104 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30105 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30107 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30108 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30110 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30111 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30113 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30114 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30116 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30117 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30119 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30120 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30122 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30123 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30125 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30126 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30128 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30129 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30131 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30134 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30135 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30137 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30138 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30140 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30141 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30143 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30144 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30146 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30149 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30150 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30152 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30153 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30155 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30156 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30158 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30159 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30161 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30162 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30164 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30165 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30167 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30170 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30171 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30173 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30174 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30176 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30177 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30179 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30180 return (void *)((wxObject
*) ((wxSizer
*) x
));
30182 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30183 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30185 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30186 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30188 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30191 static void *_p_wxEventTo_p_wxObject(void *x
) {
30192 return (void *)((wxObject
*) ((wxEvent
*) x
));
30194 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30195 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30197 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30198 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30200 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30201 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30203 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30204 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30206 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30207 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30209 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30210 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30212 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30213 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30215 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30216 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30218 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30219 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30221 static void *_p_wxControlTo_p_wxObject(void *x
) {
30222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30224 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30225 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30227 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30228 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30230 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30231 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30233 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30234 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30236 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30237 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30239 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30240 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30242 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30243 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30245 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30246 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30248 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30249 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30251 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30252 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30254 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30255 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30257 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30260 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30261 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30263 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30264 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30266 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30267 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30269 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30270 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30272 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30273 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30275 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30276 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30278 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30279 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30281 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30282 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30284 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30287 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30290 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30293 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30296 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30297 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30299 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30300 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30302 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30303 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30305 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30308 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30309 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30311 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30314 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30315 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30317 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30318 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30320 static void *_p_wxImageTo_p_wxObject(void *x
) {
30321 return (void *)((wxObject
*) ((wxImage
*) x
));
30323 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30324 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30326 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30327 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30329 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30330 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30332 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30333 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30335 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30336 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30338 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30339 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30341 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30344 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30345 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30347 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30350 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30351 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30353 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30354 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30356 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30359 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30360 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30362 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30363 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30365 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30366 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30368 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30369 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30371 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30372 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30374 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30375 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30377 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30380 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30381 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30383 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30384 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30386 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30387 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30389 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30392 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30393 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30395 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30398 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30401 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30404 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30405 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30407 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30408 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30410 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30411 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30413 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30414 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30416 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30417 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30419 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30420 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30422 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30423 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30425 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30426 return (void *)((wxWindow
*) ((wxControl
*) x
));
30428 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30429 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30431 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30432 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30434 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30435 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30437 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30438 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30440 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}};
30441 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}};
30442 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}};
30443 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}};
30444 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}};
30445 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}};
30446 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}};
30447 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}};
30448 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}};
30449 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}};
30450 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}};
30451 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}};
30452 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}};
30453 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}};
30454 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}};
30455 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}};
30456 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}};
30457 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}};
30458 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}};
30459 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}};
30460 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}};
30461 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}};
30462 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}};
30463 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}};
30464 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}};
30465 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}};
30466 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}};
30467 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}};
30468 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}};
30469 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}};
30470 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}};
30471 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}};
30472 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}};
30473 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}};
30474 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}};
30475 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}};
30476 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}};
30477 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}};
30478 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}};
30479 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}};
30480 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}};
30481 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}};
30482 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}};
30483 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}};
30484 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}};
30485 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}};
30486 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}};
30487 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}};
30488 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}};
30489 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}};
30490 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}};
30491 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}};
30492 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}};
30493 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}};
30494 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}};
30495 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}};
30496 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}};
30497 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}};
30498 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}};
30499 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}};
30500 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}};
30501 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}};
30502 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}};
30503 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}};
30504 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}};
30505 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}};
30506 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}};
30507 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}};
30508 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}};
30509 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}};
30510 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}};
30511 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}};
30512 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}};
30513 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}};
30514 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}};
30515 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}};
30516 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}};
30517 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}};
30518 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}};
30519 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}};
30520 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}};
30521 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}};
30522 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}};
30523 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}};
30524 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}};
30525 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}};
30526 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}};
30528 static swig_type_info
*swig_types_initial
[] = {
30529 _swigt__p_wxLogChain
,
30530 _swigt__p_wxMutexGuiLocker
,
30531 _swigt__p_wxMetafile
,
30532 _swigt__p_wxFileHistory
,
30534 _swigt__p_wxDateTime__TimeZone
,
30537 _swigt__p_wxConfigBase
,
30538 _swigt__p_wxDisplay
,
30539 _swigt__p_wxFileType
,
30540 _swigt__p_wxLogGui
,
30542 _swigt__p_wxDataFormat
,
30543 _swigt__p_wxTimerEvent
,
30547 _swigt__p_wxClipboard
,
30548 _swigt__p_wxStopWatch
,
30550 _swigt__p_wxClipboardLocker
,
30552 _swigt__p_wxLogStderr
,
30553 _swigt__p_wxLogTextCtrl
,
30554 _swigt__p_wxTextCtrl
,
30555 _swigt__p_wxBusyCursor
,
30556 _swigt__p_wxPyBitmapDataObject
,
30557 _swigt__p_wxPyTextDataObject
,
30558 _swigt__p_wxBitmapDataObject
,
30559 _swigt__p_wxTextDataObject
,
30560 _swigt__p_wxDataObject
,
30561 _swigt__p_wxFileDataObject
,
30562 _swigt__p_wxCustomDataObject
,
30563 _swigt__p_wxURLDataObject
,
30564 _swigt__p_wxMetafileDataObject
,
30566 _swigt__p_wxTimerRunner
,
30567 _swigt__p_wxLogWindow
,
30568 _swigt__p_wxTimeSpan
,
30569 _swigt__p_wxArrayString
,
30570 _swigt__p_wxWindowDisabler
,
30571 _swigt__p_wxToolTip
,
30572 _swigt__p_wxDataObjectComposite
,
30573 _swigt__p_wxFileConfig
,
30574 _swigt__p_wxSystemSettings
,
30575 _swigt__p_wxVideoMode
,
30576 _swigt__p_wxPyDataObjectSimple
,
30577 _swigt__p_wxDataObjectSimple
,
30578 _swigt__p_wxEvtHandler
,
30581 _swigt__p_wxSingleInstanceChecker
,
30582 _swigt__p_wxStandardPaths
,
30583 _swigt__p_wxFileTypeInfo
,
30586 _swigt__p_wxMimeTypesManager
,
30587 _swigt__p_wxPyArtProvider
,
30588 _swigt__p_wxPyTipProvider
,
30589 _swigt__p_wxTipProvider
,
30590 _swigt__p_wxJoystick
,
30591 _swigt__p_wxSystemOptions
,
30593 _swigt__p_wxJoystickEvent
,
30594 _swigt__p_wxCursor
,
30595 _swigt__p_wxObject
,
30596 _swigt__p_wxOutputStream
,
30597 _swigt__p_wxDateTime
,
30598 _swigt__p_wxPyDropSource
,
30599 _swigt__p_wxWindow
,
30600 _swigt__p_wxString
,
30601 _swigt__p_wxPyProcess
,
30602 _swigt__p_wxBitmap
,
30603 _swigt__p_wxConfig
,
30605 _swigt__p_wxBusyInfo
,
30606 _swigt__p_wxPyDropTarget
,
30607 _swigt__p_wxPyTextDropTarget
,
30608 _swigt__p_wxPyFileDropTarget
,
30609 _swigt__p_wxProcessEvent
,
30611 _swigt__p_wxLogNull
,
30612 _swigt__p_wxColour
,
30613 _swigt__p_wxConfigPathChanger
,
30614 _swigt__p_wxPyTimer
,
30615 _swigt__p_wxDateSpan
,
30620 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30622 static swig_const_info swig_const_table
[] = {
30623 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30624 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30625 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30626 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30627 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30628 {0, 0, 0, 0.0, 0, 0}};
30637 SWIGEXPORT(void) SWIG_init(void) {
30638 static PyObject
*SWIG_globals
= 0;
30639 static int typeinit
= 0;
30642 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30643 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30644 d
= PyModule_GetDict(m
);
30647 for (i
= 0; swig_types_initial
[i
]; i
++) {
30648 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30652 SWIG_InstallConstants(d
,swig_const_table
);
30654 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30655 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30656 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30657 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30658 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30659 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30660 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30661 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30662 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30663 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30664 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30665 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30666 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30667 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30668 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30669 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30670 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30671 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30672 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30673 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30674 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30675 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30676 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30677 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30678 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30679 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30680 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30681 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30682 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30683 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30684 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30685 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30686 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30687 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30688 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30689 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30690 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30691 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30692 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30693 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30694 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30695 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30696 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30697 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30698 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30699 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30700 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30701 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30702 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30703 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30704 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30705 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30706 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30707 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30708 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30709 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30710 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30711 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30712 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30713 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30714 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30715 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30716 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30717 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30718 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30719 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30720 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30721 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30722 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30723 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30724 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30725 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30726 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30727 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30728 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30729 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30730 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30731 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30732 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30733 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30734 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30735 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30736 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30737 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30738 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30739 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30740 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30741 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30742 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30743 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30744 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30745 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30746 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30747 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30748 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30749 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30750 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30751 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30752 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30753 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30754 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30756 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30758 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30759 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30760 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30761 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30762 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30763 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30764 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30765 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30766 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30767 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30768 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30769 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30770 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30771 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30772 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30773 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30774 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30775 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30776 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30777 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30778 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30779 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30780 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30781 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30782 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30783 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30784 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30785 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30786 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30787 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30788 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30789 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30790 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30791 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30792 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30793 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30794 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30795 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30796 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30797 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30798 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30799 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30800 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30801 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30802 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30803 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30804 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30805 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30806 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30807 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30809 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30811 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30812 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30813 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30814 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30815 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30816 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30817 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30818 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30819 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30820 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30821 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30822 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30823 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30824 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30825 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30826 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30827 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30828 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30829 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30830 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30876 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30878 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30879 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30880 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30881 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30882 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30883 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30884 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30885 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30886 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30887 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30888 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30889 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30890 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30891 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30892 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30893 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30894 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30895 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30896 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30897 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30898 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30899 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30900 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30901 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30902 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30903 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30904 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30905 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30906 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30907 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30908 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30909 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30910 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30911 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30912 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30913 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30914 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30915 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30916 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30917 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30918 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30919 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30920 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30921 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30922 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30923 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30924 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30925 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30926 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30927 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30928 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30929 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30930 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30931 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30932 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30933 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30934 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30935 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30936 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30937 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30938 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30939 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30940 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30941 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30942 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30943 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30944 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30945 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30946 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30947 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30948 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30949 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30950 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30951 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30952 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30953 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30954 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30955 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30956 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30957 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30958 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30959 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30960 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30961 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30962 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30963 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30964 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30965 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30966 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30967 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30968 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30969 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30970 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30971 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30972 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30973 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30974 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30975 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30976 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30977 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30978 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30979 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30980 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30981 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30982 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30983 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30984 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30985 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30986 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30987 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30988 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30989 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30990 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30991 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30992 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30993 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30994 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30995 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30996 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30997 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30998 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30999 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
31000 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
31001 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
31002 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
31003 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
31004 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
31005 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
31006 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
31007 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
31008 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
31009 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
31010 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
31011 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
31012 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
31013 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
31014 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
31015 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
31016 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
31017 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
31018 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
31019 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
31020 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
31021 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
31022 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
31023 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
31024 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
31025 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
31026 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
31027 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
31028 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
31029 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
31030 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
31031 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
31032 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
31033 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
31034 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
31035 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
31036 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
31037 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
31038 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
31039 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
31040 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
31041 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
31042 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
31043 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
31044 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
31045 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
31046 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
31047 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
31048 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
31049 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
31050 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
31051 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
31052 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
31053 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
31054 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
31055 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
31056 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
31057 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
31058 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31059 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31060 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31061 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31062 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31063 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31064 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31065 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31066 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31067 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31068 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31069 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31070 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31071 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31072 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31073 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31074 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31075 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31076 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31077 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31079 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31080 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31081 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31082 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31084 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);