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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372 #include "wx/wxPython/pyistream.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(int)
469 SWIG_Check_int(PyObject
* obj
)
471 return SWIG_AsVal_int(obj
, (int*)0);
474 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
476 #include <wx/stockitem.h>
478 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
479 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
480 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
482 SWIGSTATICINLINE(long)
483 SWIG_As_long(PyObject
* obj
)
486 if (!SWIG_AsVal_long(obj
, &v
)) {
488 this is needed to make valgrind/purify happier. the other
489 solution is throw an exception, but since this code should work
492 memset((void*)&v
, 0, sizeof(long));
498 SWIGSTATICINLINE(int)
499 SWIG_Check_long(PyObject
* obj
)
501 return SWIG_AsVal_long(obj
, (long*)0);
505 SWIGSTATICINLINE(int)
506 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
508 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
509 if (obj
== Py_True
) {
510 if (val
) *val
= true;
513 if (obj
== Py_False
) {
514 if (val
) *val
= false;
518 if (SWIG_AsVal_int(obj
, &res
)) {
519 if (val
) *val
= (bool)res
;
523 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
529 SWIGSTATICINLINE(bool)
530 SWIG_As_bool(PyObject
* obj
)
533 if (!SWIG_AsVal_bool(obj
, &v
)) {
535 this is needed to make valgrind/purify happier. the other
536 solution is throw an exception, but since this code should work
539 memset((void*)&v
, 0, sizeof(bool));
545 SWIGSTATICINLINE(int)
546 SWIG_Check_bool(PyObject
* obj
)
548 return SWIG_AsVal_bool(obj
, (bool*)0);
552 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
558 } else if (target
== Py_None
) {
562 if (!PyTuple_Check(target
)) {
564 target
= PyTuple_New(1);
565 PyTuple_SetItem(target
, 0, o2
);
568 PyTuple_SetItem(o3
, 0, o
);
571 target
= PySequence_Concat(o2
, o3
);
580 // See my_fragments.i
581 SWIGSTATICINLINE(int)
582 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
585 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
586 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
590 *val
= (unsigned long)v
;
595 SWIGSTATICINLINE(unsigned long)
596 SWIG_As_unsigned_SS_long(PyObject
* obj
)
599 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
601 this is needed to make valgrind/purify happier. the other
602 solution is throw an exception, but since this code should work
605 memset((void*)&v
, 0, sizeof(unsigned long));
611 SWIGSTATICINLINE(int)
612 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
614 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
618 SWIGSTATICINLINE(PyObject
* )
619 SWIG_From_unsigned_SS_long(unsigned long value
)
621 return (value
> LONG_MAX
) ?
622 PyLong_FromUnsignedLong(value
)
623 : PyInt_FromLong(swig_numeric_cast(value
,long));
627 bool wxThread_IsMain() {
628 #ifdef WXP_WITH_THREAD
629 return wxThread::IsMain();
636 int wxCaret_GetBlinkTime() {
637 return wxCaret::GetBlinkTime();
640 void wxCaret_SetBlinkTime(int milliseconds
) {
641 wxCaret::SetBlinkTime(milliseconds
);
645 #include <wx/snglinst.h>
649 #include <wx/msw/private.h>
650 #include <wx/dynload.h>
655 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
662 // This one only partially works. Appears to be an undocumented
663 // "standard" convention that not all widgets adhear to. For
664 // example, for some widgets backgrounds or non-client areas may
666 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
670 // This one works much better, except for on XP. On Win2k nearly
671 // all widgets and their children are captured correctly[**]. On
672 // XP with Themes activated most native widgets draw only
673 // partially, if at all. Without themes it works just like on
676 // ** For example the radio buttons in a wxRadioBox are not its
677 // children by default, but you can capture it via the panel
678 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
679 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
680 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
681 PRF_ERASEBKGND
| PRF_OWNED
);
685 // This one is only defined in the latest SDK and is only
686 // available on XP. MSDN says it is similar to sending WM_PRINT
687 // so I expect that it will work similar to the above. Since it
688 // is avaialble only on XP, it can't be compiled like this and
689 // will have to be loaded dynamically.
690 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
695 // Use PrintWindow if available, or fallback to WM_PRINT
696 // otherwise. Unfortunately using PrintWindow is even worse than
697 // WM_PRINT. For most native widgets nothing is drawn to the dc
698 // at all, with or without Themes.
699 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
700 static bool s_triedToLoad
= false;
701 static PrintWindow_t pfnPrintWindow
= NULL
;
702 if ( !s_triedToLoad
)
705 s_triedToLoad
= true;
706 wxDynamicLibrary
dllUser32(_T("user32.dll"));
707 if ( dllUser32
.IsLoaded() )
709 wxLogNull nolog
; // Don't report errors here
710 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
715 printf("Using PrintWindow\n");
716 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
720 printf("Using WM_PRINT\n");
721 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
722 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
730 #include <wx/tipdlg.h>
733 class wxPyTipProvider
: public wxTipProvider
{
735 wxPyTipProvider(size_t currentTip
)
736 : wxTipProvider(currentTip
) {}
738 DEC_PYCALLBACK_STRING__pure(GetTip
);
739 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
743 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
744 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
747 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
749 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
751 void wxPyTimer::Notify() {
753 bool blocked
= wxPyBeginBlockThreads();
754 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
756 wxPyEndBlockThreads(blocked
);
760 void wxPyTimer::base_Notify() {
766 SWIGSTATICINLINE(PyObject
*)
767 SWIG_FromCharPtr(const char* cptr
)
770 size_t size
= strlen(cptr
);
771 if (size
> INT_MAX
) {
772 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
773 SWIG_TypeQuery("char *"), 0);
776 return PyString_FromStringAndSize(cptr
, size
);
778 return PyString_FromString(cptr
);
787 SWIGSTATICINLINE(int)
788 SWIG_CheckUnsignedLongInRange(unsigned long value
,
789 unsigned long max_value
,
792 if (value
> max_value
) {
794 PyErr_Format(PyExc_OverflowError
,
795 "value %ld is greater than '%s' minimum %ld",
796 value
, errmsg
, max_value
);
804 #if UINT_MAX != ULONG_MAX
805 SWIGSTATICINLINE(int)
806 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
808 const char* errmsg
= val
? "unsigned int" : 0;
810 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
811 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
812 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
819 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
827 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_As_unsigned_SS_int(PyObject
* obj
)
836 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
838 this is needed to make valgrind/purify happier. the other
839 solution is throw an exception, but since this code should work
842 memset((void*)&v
, 0, sizeof(unsigned int));
848 SWIGSTATICINLINE(int)
849 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
851 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
854 wxString
Log_TimeStamp(){
856 wxLog::TimeStamp(&msg
);
859 void wxLog_Destroy(wxLog
*self
){ delete self
; }
861 // A wxLog class that can be derived from in wxPython
862 class wxPyLog
: public wxLog
{
864 wxPyLog() : wxLog() {}
866 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
868 bool blocked
= wxPyBeginBlockThreads();
869 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
870 PyObject
* s
= wx2PyString(szString
);
871 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
874 wxPyEndBlockThreads(blocked
);
876 wxLog::DoLog(level
, szString
, t
);
879 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
881 bool blocked
= wxPyBeginBlockThreads();
882 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
883 PyObject
* s
= wx2PyString(szString
);
884 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
887 wxPyEndBlockThreads(blocked
);
889 wxLog::DoLogString(szString
, t
);
898 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
901 #include <wx/joystick.h>
904 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
905 // A C++ stub class for wxJoystick for platforms that don't have it.
906 class wxJoystick
: public wxObject
{
908 wxJoystick(int joystick
= wxJOYSTICK1
) {
909 bool blocked
= wxPyBeginBlockThreads();
910 PyErr_SetString(PyExc_NotImplementedError
,
911 "wxJoystick is not available on this platform.");
912 wxPyEndBlockThreads(blocked
);
914 wxPoint
GetPosition() { return wxPoint(-1,-1); }
915 int GetZPosition() { return -1; }
916 int GetButtonState() { return -1; }
917 int GetPOVPosition() { return -1; }
918 int GetPOVCTSPosition() { return -1; }
919 int GetRudderPosition() { return -1; }
920 int GetUPosition() { return -1; }
921 int GetVPosition() { return -1; }
922 int GetMovementThreshold() { return -1; }
923 void SetMovementThreshold(int threshold
) {}
925 bool IsOk(void) { return false; }
926 int GetNumberJoysticks() { return -1; }
927 int GetManufacturerId() { return -1; }
928 int GetProductId() { return -1; }
929 wxString
GetProductName() { return wxEmptyString
; }
930 int GetXMin() { return -1; }
931 int GetYMin() { return -1; }
932 int GetZMin() { return -1; }
933 int GetXMax() { return -1; }
934 int GetYMax() { return -1; }
935 int GetZMax() { return -1; }
936 int GetNumberButtons() { return -1; }
937 int GetNumberAxes() { return -1; }
938 int GetMaxButtons() { return -1; }
939 int GetMaxAxes() { return -1; }
940 int GetPollingMin() { return -1; }
941 int GetPollingMax() { return -1; }
942 int GetRudderMin() { return -1; }
943 int GetRudderMax() { return -1; }
944 int GetUMin() { return -1; }
945 int GetUMax() { return -1; }
946 int GetVMin() { return -1; }
947 int GetVMax() { return -1; }
949 bool HasRudder() { return false; }
950 bool HasZ() { return false; }
951 bool HasU() { return false; }
952 bool HasV() { return false; }
953 bool HasPOV() { return false; }
954 bool HasPOV4Dir() { return false; }
955 bool HasPOVCTS() { return false; }
957 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
958 bool ReleaseCapture() { return false; }
963 #include <wx/sound.h>
967 // A C++ stub class for wxWave for platforms that don't have it.
968 class wxSound
: public wxObject
972 bool blocked
= wxPyBeginBlockThreads();
973 PyErr_SetString(PyExc_NotImplementedError
,
974 "wxSound is not available on this platform.");
975 wxPyEndBlockThreads(blocked
);
977 wxSound(const wxString
&/*, bool*/) {
978 bool blocked
= wxPyBeginBlockThreads();
979 PyErr_SetString(PyExc_NotImplementedError
,
980 "wxSound is not available on this platform.");
981 wxPyEndBlockThreads(blocked
);
983 wxSound(int, const wxByte
*) {
984 bool blocked
= wxPyBeginBlockThreads();
985 PyErr_SetString(PyExc_NotImplementedError
,
986 "wxSound is not available on this platform.");
987 wxPyEndBlockThreads(blocked
);
992 bool Create(const wxString
&/*, bool*/) { return false; }
993 bool Create(int, const wxByte
*) { return false; };
994 bool IsOk() { return false; };
995 bool Play(unsigned) const { return false; }
996 static bool Play(const wxString
&, unsigned) { return false; }
997 static void Stop() {}
1002 wxSound
*new_wxSound(wxString
const &fileName
){
1003 if (fileName
.Length() == 0)
1006 return new wxSound(fileName
);
1008 wxSound
*new_wxSound(PyObject
*data
){
1009 unsigned char* buffer
; int size
;
1010 wxSound
*sound
= NULL
;
1012 bool blocked
= wxPyBeginBlockThreads();
1013 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1015 sound
= new wxSound(size
, buffer
);
1017 wxPyEndBlockThreads(blocked
);
1020 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1022 unsigned char* buffer
;
1026 bool blocked
= wxPyBeginBlockThreads();
1027 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1029 rv
= self
->Create(size
, buffer
);
1031 wxPyEndBlockThreads(blocked
);
1034 bool blocked
= wxPyBeginBlockThreads();
1035 PyErr_SetString(PyExc_NotImplementedError
,
1036 "Create from data is not available on this platform.");
1037 wxPyEndBlockThreads(blocked
);
1041 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
1043 #include <wx/mimetype.h>
1045 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1047 if (self
->GetMimeType(&str
))
1048 return wx2PyString(str
);
1052 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1054 if (self
->GetMimeTypes(arr
))
1055 return wxArrayString2PyList_helper(arr
);
1059 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1061 if (self
->GetExtensions(arr
))
1062 return wxArrayString2PyList_helper(arr
);
1066 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1068 if (self
->GetIcon(&loc
))
1069 return new wxIcon(loc
);
1073 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1075 if (self
->GetIcon(&loc
)) {
1076 wxString iconFile
= loc
.GetFileName();
1081 // Make a tuple and put the values in it
1082 bool blocked
= wxPyBeginBlockThreads();
1083 PyObject
* tuple
= PyTuple_New(3);
1084 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1085 wxT("wxIcon"), true));
1086 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1087 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1088 wxPyEndBlockThreads(blocked
);
1094 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1096 if (self
->GetDescription(&str
))
1097 return wx2PyString(str
);
1101 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1103 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1104 return wx2PyString(str
);
1108 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1110 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1111 return wx2PyString(str
);
1115 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1116 wxArrayString verbs
;
1117 wxArrayString commands
;
1118 if (self
->GetAllCommands(&verbs
, &commands
,
1119 wxFileType::MessageParameters(filename
, mimetype
))) {
1120 bool blocked
= wxPyBeginBlockThreads();
1121 PyObject
* tuple
= PyTuple_New(2);
1122 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1123 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1124 wxPyEndBlockThreads(blocked
);
1130 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1131 return wxFileType::ExpandCommand(command
,
1132 wxFileType::MessageParameters(filename
, mimetype
));
1134 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1136 self
->EnumAllFileTypes(arr
);
1137 return wxArrayString2PyList_helper(arr
);
1140 #include <wx/artprov.h>
1142 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1143 static const wxString
wxPyART_MENU(wxART_MENU
);
1144 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1145 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1146 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1147 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1148 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1149 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1150 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1151 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1152 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1153 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1154 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1155 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1156 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1157 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1158 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1159 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1160 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1161 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1162 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1163 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1164 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1165 static const wxString
wxPyART_HELP(wxART_HELP
);
1166 static const wxString
wxPyART_TIP(wxART_TIP
);
1167 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1168 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1169 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1170 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1171 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1172 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1173 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1174 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1175 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1176 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1177 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1178 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1179 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1180 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1181 // Python aware wxArtProvider
1182 class wxPyArtProvider
: public wxArtProvider
{
1185 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1186 const wxArtClient
& client
,
1187 const wxSize
& size
) {
1188 wxBitmap rval
= wxNullBitmap
;
1189 bool blocked
= wxPyBeginBlockThreads();
1190 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1191 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1195 s1
= wx2PyString(id
);
1196 s2
= wx2PyString(client
);
1197 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1202 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1207 wxPyEndBlockThreads(blocked
);
1214 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1218 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1219 PyObject
* ret
= PyTuple_New(3);
1221 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1222 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1223 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1228 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1233 cont
= self
->GetFirstGroup(value
, index
);
1234 return __EnumerationHelper(cont
, value
, index
);
1236 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1240 cont
= self
->GetNextGroup(value
, index
);
1241 return __EnumerationHelper(cont
, value
, index
);
1243 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1248 cont
= self
->GetFirstEntry(value
, index
);
1249 return __EnumerationHelper(cont
, value
, index
);
1251 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1255 cont
= self
->GetNextEntry(value
, index
);
1256 return __EnumerationHelper(cont
, value
, index
);
1258 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1260 self
->Read(key
, &rv
, defaultVal
);
1264 // See my_fragments.i
1265 SWIGSTATICINLINE(int)
1266 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1268 if (PyNumber_Check(obj
)) {
1269 if (val
) *val
= PyFloat_AsDouble(obj
);
1273 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1274 obj
->ob_type
->tp_name
);
1275 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1282 SWIGSTATICINLINE(double)
1283 SWIG_As_double(PyObject
* obj
)
1286 if (!SWIG_AsVal_double(obj
, &v
)) {
1288 this is needed to make valgrind/purify happier. the other
1289 solution is throw an exception, but since this code should work
1292 memset((void*)&v
, 0, sizeof(double));
1298 SWIGSTATICINLINE(int)
1299 SWIG_Check_double(PyObject
* obj
)
1301 return SWIG_AsVal_double(obj
, (double*)0);
1304 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1306 self
->Read(key
, &rv
, defaultVal
);
1309 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1311 self
->Read(key
, &rv
, defaultVal
);
1315 #include <wx/datetime.h>
1318 static const wxString
wxPyDateFormatStr(wxT("%c"));
1319 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1321 #define LOCAL_TZ wxDateTime::Local
1324 #if UINT_MAX < LONG_MAX
1325 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1326 #define SWIG_From_unsigned_SS_int SWIG_From_long
1329 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1330 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1334 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1335 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1336 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1337 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1338 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1339 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1340 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1341 return (*self
< *other
);
1343 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1344 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1345 return (*self
<= *other
);
1347 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1348 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1349 return (*self
> *other
);
1351 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1352 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1353 return (*self
>= *other
);
1355 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1356 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1357 return (*self
== *other
);
1359 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1360 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1361 return (*self
!= *other
);
1363 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1365 const wxChar
* _date
= date
;
1366 rv
= self
->ParseRfc822Date(_date
);
1367 if (rv
== NULL
) return -1;
1370 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1372 const wxChar
* _date
= date
;
1373 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1374 if (rv
== NULL
) return -1;
1377 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1379 const wxChar
* _datetime
= datetime
;
1380 rv
= self
->ParseDateTime(_datetime
);
1381 if (rv
== NULL
) return -1;
1382 return rv
- _datetime
;
1384 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1386 const wxChar
* _date
= date
;
1387 rv
= self
->ParseDate(_date
);
1388 if (rv
== NULL
) return -1;
1391 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1393 const wxChar
* _time
= time
;
1394 rv
= self
->ParseTime(_time
);
1395 if (rv
== NULL
) return -1;
1398 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1399 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1400 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1401 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1402 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1403 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1404 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1405 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1406 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1407 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1408 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1409 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1410 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1411 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1412 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1413 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1415 #include <wx/dataobj.h>
1417 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1418 size_t count
= self
->GetFormatCount(dir
);
1419 wxDataFormat
* formats
= new wxDataFormat
[count
];
1420 self
->GetAllFormats(formats
, dir
);
1422 bool blocked
= wxPyBeginBlockThreads();
1423 PyObject
* list
= PyList_New(count
);
1424 for (size_t i
=0; i
<count
; i
++) {
1425 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1426 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1427 PyList_Append(list
, obj
);
1430 wxPyEndBlockThreads(blocked
);
1434 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1435 PyObject
* rval
= NULL
;
1436 size_t size
= self
->GetDataSize(format
);
1437 bool blocked
= wxPyBeginBlockThreads();
1439 char* buf
= new char[size
];
1440 if (self
->GetDataHere(format
, buf
))
1441 rval
= PyString_FromStringAndSize(buf
, size
);
1448 wxPyEndBlockThreads(blocked
);
1451 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1453 bool blocked
= wxPyBeginBlockThreads();
1454 if (PyString_Check(data
)) {
1455 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1458 // raise a TypeError if not a string
1459 PyErr_SetString(PyExc_TypeError
, "String expected.");
1462 wxPyEndBlockThreads(blocked
);
1465 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1466 PyObject
* rval
= NULL
;
1467 size_t size
= self
->GetDataSize();
1468 bool blocked
= wxPyBeginBlockThreads();
1470 char* buf
= new char[size
];
1471 if (self
->GetDataHere(buf
))
1472 rval
= PyString_FromStringAndSize(buf
, size
);
1479 wxPyEndBlockThreads(blocked
);
1482 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1484 bool blocked
= wxPyBeginBlockThreads();
1485 if (PyString_Check(data
)) {
1486 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1489 // raise a TypeError if not a string
1490 PyErr_SetString(PyExc_TypeError
, "String expected.");
1493 wxPyEndBlockThreads(blocked
);
1496 // Create a new class for wxPython to use
1497 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1499 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1500 : wxDataObjectSimple(format
) {}
1502 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1503 bool GetDataHere(void *buf
) const;
1504 bool SetData(size_t len
, const void *buf
) const;
1508 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1510 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1511 // We need to get the data for this object and write it to buf. I think
1512 // the best way to do this for wxPython is to have the Python method
1513 // return either a string or None and then act appropriately with the
1517 bool blocked
= wxPyBeginBlockThreads();
1518 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1520 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1522 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1524 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1528 wxPyEndBlockThreads(blocked
);
1532 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1533 // For this one we simply need to make a string from buf and len
1534 // and send it to the Python method.
1536 bool blocked
= wxPyBeginBlockThreads();
1537 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1538 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1539 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1542 wxPyEndBlockThreads(blocked
);
1546 // Create a new class for wxPython to use
1547 class wxPyTextDataObject
: public wxTextDataObject
{
1549 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1550 : wxTextDataObject(text
) {}
1552 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1553 DEC_PYCALLBACK_STRING__const(GetText
);
1554 DEC_PYCALLBACK__STRING(SetText
);
1558 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1559 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1560 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1563 // Create a new class for wxPython to use
1564 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1566 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1567 : wxBitmapDataObject(bitmap
) {}
1569 wxBitmap
GetBitmap() const;
1570 void SetBitmap(const wxBitmap
& bitmap
);
1574 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1575 wxBitmap
* rval
= &wxNullBitmap
;
1576 bool blocked
= wxPyBeginBlockThreads();
1577 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1580 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1582 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1587 wxPyEndBlockThreads(blocked
);
1591 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1592 bool blocked
= wxPyBeginBlockThreads();
1593 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1594 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1595 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1598 wxPyEndBlockThreads(blocked
);
1601 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1603 bool blocked
= wxPyBeginBlockThreads();
1604 if (PyString_Check(data
)) {
1605 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1608 // raise a TypeError if not a string
1609 PyErr_SetString(PyExc_TypeError
, "String expected.");
1612 wxPyEndBlockThreads(blocked
);
1615 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1617 bool blocked
= wxPyBeginBlockThreads();
1618 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1619 wxPyEndBlockThreads(blocked
);
1623 #include <wx/metafile.h>
1626 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1629 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1630 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1631 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1632 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1633 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1636 class wxPyTextDropTarget
: public wxTextDropTarget
{
1638 wxPyTextDropTarget() {}
1640 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1642 DEC_PYCALLBACK__(OnLeave
);
1643 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1644 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1645 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1646 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1651 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1652 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1653 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1654 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1655 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1656 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1660 class wxPyFileDropTarget
: public wxFileDropTarget
{
1662 wxPyFileDropTarget() {}
1664 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1666 DEC_PYCALLBACK__(OnLeave
);
1667 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1668 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1669 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1670 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1675 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1676 const wxArrayString
& filenames
) {
1678 bool blocked
= wxPyBeginBlockThreads();
1679 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1680 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1681 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1684 wxPyEndBlockThreads(blocked
);
1690 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1691 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1692 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1693 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1694 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1699 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1701 #include <wx/display.h>
1703 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1704 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1706 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1708 #include <wx/dynarray.h>
1709 #include <wx/vidmode.h>
1711 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1712 #include "wx/arrimpl.cpp"
1713 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1714 const wxVideoMode wxDefaultVideoMode
;
1719 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1722 static size_t GetCount()
1723 { wxPyRaiseNotImplemented(); return 0; }
1725 static int GetFromPoint(const wxPoint
& pt
)
1726 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1727 static int GetFromWindow(wxWindow
*window
)
1728 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1730 virtual bool IsOk() const { return false; }
1731 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1732 virtual wxString
GetName() const { return wxEmptyString
; }
1733 bool IsPrimary() const { return false; }
1735 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1736 { wxArrayVideoModes a
; return a
; }
1738 virtual wxVideoMode
GetCurrentMode() const
1739 { return wxDefaultVideoMode
; }
1741 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1748 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1749 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1750 PyObject
* pyList
= NULL
;
1751 wxArrayVideoModes arr
= self
->GetModes(mode
);
1752 bool blocked
= wxPyBeginBlockThreads();
1753 pyList
= PyList_New(0);
1754 for (int i
=0; i
< arr
.GetCount(); i
++) {
1755 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1756 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1757 PyList_Append(pyList
, pyObj
);
1760 wxPyEndBlockThreads(blocked
);
1764 #include <wx/stdpaths.h>
1766 wxStandardPaths
*StandardPaths_Get(){
1767 return (wxStandardPaths
*) &wxStandardPaths::Get();
1769 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1770 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1774 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "index", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1784 arg1
= (int)SWIG_As_int(obj0
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1787 if (!wxPyCheckForApp()) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1795 wxColour
* resultptr
;
1796 resultptr
= new wxColour((wxColour
&) result
);
1797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1805 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "index", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1815 arg1
= (int)SWIG_As_int(obj0
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1818 if (!wxPyCheckForApp()) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1827 resultptr
= new wxFont((wxFont
&) result
);
1828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1836 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1840 PyObject
* obj0
= 0 ;
1842 (char *) "index", NULL
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1846 arg1
= (int)SWIG_As_int(obj0
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 if (!wxPyCheckForApp()) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1856 resultobj
= SWIG_From_int((int)result
);
1863 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1867 PyObject
* obj0
= 0 ;
1869 (char *) "index", NULL
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1873 arg1
= (int)SWIG_As_int(obj0
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 if (!wxPyCheckForApp()) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1892 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
*resultobj
;
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1901 if (!wxPyCheckForApp()) SWIG_fail
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 result
= (int)wxSystemSettings::GetScreenType();
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 resultobj
= SWIG_From_int((int)result
);
1915 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
*resultobj
;
1918 PyObject
* obj0
= 0 ;
1920 (char *) "screen", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1924 arg1
= (int)SWIG_As_int(obj0
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 if (!wxPyCheckForApp()) SWIG_fail
;
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 Py_INCREF(Py_None
); resultobj
= Py_None
;
1941 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1944 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1946 return Py_BuildValue((char *)"");
1948 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1949 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1954 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1959 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1961 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1968 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxSystemOptions
*result
;
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (wxSystemOptions
*)new wxSystemOptions();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1990 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxString
*arg1
= 0 ;
1993 wxString
*arg2
= 0 ;
1994 bool temp1
= false ;
1995 bool temp2
= false ;
1996 PyObject
* obj0
= 0 ;
1997 PyObject
* obj1
= 0 ;
1999 (char *) "name",(char *) "value", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2004 arg1
= wxString_in_helper(obj0
);
2005 if (arg1
== NULL
) SWIG_fail
;
2009 arg2
= wxString_in_helper(obj1
);
2010 if (arg2
== NULL
) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxString
*arg1
= 0 ;
2047 bool temp1
= false ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2051 (char *) "name",(char *) "value", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2056 arg1
= wxString_in_helper(obj0
);
2057 if (arg1
== NULL
) SWIG_fail
;
2060 arg2
= (int)SWIG_As_int(obj1
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2084 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxString
*arg1
= 0 ;
2088 bool temp1
= false ;
2089 PyObject
* obj0
= 0 ;
2091 (char *) "name", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2096 arg1
= wxString_in_helper(obj0
);
2097 if (arg1
== NULL
) SWIG_fail
;
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2128 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2130 wxString
*arg1
= 0 ;
2132 bool temp1
= false ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "name", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2140 arg1
= wxString_in_helper(obj0
);
2141 if (arg1
== NULL
) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 resultobj
= SWIG_From_int((int)result
);
2166 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxString
*arg1
= 0 ;
2170 bool temp1
= false ;
2171 PyObject
* obj0
= 0 ;
2173 (char *) "name", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2178 arg1
= wxString_in_helper(obj0
);
2179 if (arg1
== NULL
) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2206 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2209 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2211 return Py_BuildValue((char *)"");
2213 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2214 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2219 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2224 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2226 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2233 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2234 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2239 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2244 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2246 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2253 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2254 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2259 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2264 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2266 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2273 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 result
= (long)wxNewId();
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2288 resultobj
= SWIG_From_long((long)result
);
2295 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
*resultobj
;
2298 PyObject
* obj0
= 0 ;
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2304 arg1
= (long)SWIG_As_long(obj0
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 Py_INCREF(Py_None
); resultobj
= Py_None
;
2320 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (long)wxGetCurrentId();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 resultobj
= SWIG_From_long((long)result
);
2342 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2346 PyObject
* obj0
= 0 ;
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2352 arg1
= (int)SWIG_As_int(obj0
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 result
= (bool)wxIsStockID(arg1
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2370 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2373 wxString
*arg2
= 0 ;
2375 bool temp2
= false ;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2379 (char *) "id",(char *) "label", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2383 arg1
= (int)SWIG_As_int(obj0
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 arg2
= wxString_in_helper(obj1
);
2387 if (arg2
== NULL
) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2414 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2418 PyObject
* obj0
= 0 ;
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2424 arg1
= (int)SWIG_As_int(obj0
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= wxGetStockLabel(arg1
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2446 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2454 if (!wxPyCheckForApp()) SWIG_fail
;
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2476 if (!wxPyCheckForApp()) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 Py_INCREF(Py_None
); resultobj
= Py_None
;
2490 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 bool arg1
= (bool) true ;
2494 PyObject
* obj0
= 0 ;
2496 (char *) "resetTimer", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2501 arg1
= (bool)SWIG_As_bool(obj0
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 result
= (long)wxGetElapsedTime(arg1
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 resultobj
= SWIG_From_long((long)result
);
2518 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 int *arg1
= (int *) 0 ;
2521 int *arg2
= (int *) 0 ;
2530 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2531 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2534 if (!wxPyCheckForApp()) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 wxGetMousePosition(arg1
,arg2
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 Py_INCREF(Py_None
); resultobj
= Py_None
;
2542 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2543 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2544 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2545 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2552 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= (bool)wxIsBusy();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2576 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2604 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2607 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2609 bool temp1
= false ;
2610 PyObject
* obj0
= 0 ;
2612 (char *) "command", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2618 arg1
= wxString_in_helper(obj0
);
2619 if (arg1
== NULL
) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (bool)wxShell((wxString
const &)*arg1
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2647 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 int *arg1
= (int *) 0 ;
2671 int *arg2
= (int *) 0 ;
2681 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 result
= (int)wxGetOsVersion(arg1
,arg2
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= SWIG_From_int((int)result
);
2692 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2693 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2694 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2695 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2702 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= wxGetOsDescription();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2730 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (long)wxGetFreeMemory();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 resultobj
= SWIG_From_long((long)result
);
2752 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "wFlags", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2762 arg1
= (int)SWIG_As_int(obj0
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2765 if (!wxPyCheckForApp()) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2781 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "secs", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2790 arg1
= (int)SWIG_As_int(obj0
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2799 Py_INCREF(Py_None
); resultobj
= Py_None
;
2806 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 unsigned long arg1
;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "milliseconds", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2815 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2831 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 unsigned long arg1
;
2834 PyObject
* obj0
= 0 ;
2836 (char *) "microseconds", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2840 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2859 PyObject
* obj0
= 0 ;
2861 (char *) "enable", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2865 arg1
= (bool)SWIG_As_bool(obj0
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 wxEnableTopLevelWindows(arg1
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 Py_INCREF(Py_None
); resultobj
= Py_None
;
2881 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxString
*arg1
= 0 ;
2885 bool temp1
= false ;
2886 PyObject
* obj0
= 0 ;
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2893 arg1
= wxString_in_helper(obj0
);
2894 if (arg1
== NULL
) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2925 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= wxGetEmailAddress();
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2953 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 result
= wxGetHostName();
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2981 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 result
= wxGetFullHostName();
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3009 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= wxGetUserId();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3037 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= wxGetUserName();
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3065 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= wxGetHomeDir();
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3093 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3096 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3098 bool temp1
= false ;
3099 PyObject
* obj0
= 0 ;
3101 (char *) "user", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3107 arg1
= wxString_in_helper(obj0
);
3108 if (arg1
== NULL
) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= wxGetUserHome((wxString
const &)*arg1
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3140 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 unsigned long result
;
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= (unsigned long)wxGetProcessId();
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3162 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3176 Py_INCREF(Py_None
); resultobj
= Py_None
;
3183 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3186 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3187 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3188 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3191 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3192 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3193 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3194 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3195 int arg6
= (int) 0 ;
3196 wxWindow
*arg7
= (wxWindow
*) NULL
;
3197 int arg8
= (int) -1 ;
3198 int arg9
= (int) -1 ;
3200 bool temp1
= false ;
3201 bool temp2
= false ;
3202 bool temp3
= false ;
3203 bool temp4
= false ;
3204 bool temp5
= false ;
3205 PyObject
* obj0
= 0 ;
3206 PyObject
* obj1
= 0 ;
3207 PyObject
* obj2
= 0 ;
3208 PyObject
* obj3
= 0 ;
3209 PyObject
* obj4
= 0 ;
3210 PyObject
* obj5
= 0 ;
3211 PyObject
* obj6
= 0 ;
3212 PyObject
* obj7
= 0 ;
3213 PyObject
* obj8
= 0 ;
3215 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3221 arg1
= wxString_in_helper(obj0
);
3222 if (arg1
== NULL
) SWIG_fail
;
3228 arg2
= wxString_in_helper(obj1
);
3229 if (arg2
== NULL
) SWIG_fail
;
3235 arg3
= wxString_in_helper(obj2
);
3236 if (arg3
== NULL
) SWIG_fail
;
3242 arg4
= wxString_in_helper(obj3
);
3243 if (arg4
== NULL
) SWIG_fail
;
3249 arg5
= wxString_in_helper(obj4
);
3250 if (arg5
== NULL
) SWIG_fail
;
3255 arg6
= (int)SWIG_As_int(obj5
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3263 arg8
= (int)SWIG_As_int(obj7
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 arg9
= (int)SWIG_As_int(obj8
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 if (!wxPyCheckForApp()) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3331 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxString
*arg1
= 0 ;
3334 wxString
*arg2
= 0 ;
3335 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3336 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3337 wxWindow
*arg4
= (wxWindow
*) NULL
;
3339 bool temp1
= false ;
3340 bool temp2
= false ;
3341 bool temp3
= false ;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3344 PyObject
* obj2
= 0 ;
3345 PyObject
* obj3
= 0 ;
3347 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3352 arg1
= wxString_in_helper(obj0
);
3353 if (arg1
== NULL
) SWIG_fail
;
3357 arg2
= wxString_in_helper(obj1
);
3358 if (arg2
== NULL
) SWIG_fail
;
3363 arg3
= wxString_in_helper(obj2
);
3364 if (arg3
== NULL
) SWIG_fail
;
3369 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 if (!wxPyCheckForApp()) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3417 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxString
*arg1
= 0 ;
3420 wxString
*arg2
= 0 ;
3421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3423 wxWindow
*arg4
= (wxWindow
*) NULL
;
3425 bool temp1
= false ;
3426 bool temp2
= false ;
3427 bool temp3
= false ;
3428 PyObject
* obj0
= 0 ;
3429 PyObject
* obj1
= 0 ;
3430 PyObject
* obj2
= 0 ;
3431 PyObject
* obj3
= 0 ;
3433 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3438 arg1
= wxString_in_helper(obj0
);
3439 if (arg1
== NULL
) SWIG_fail
;
3443 arg2
= wxString_in_helper(obj1
);
3444 if (arg2
== NULL
) SWIG_fail
;
3449 arg3
= wxString_in_helper(obj2
);
3450 if (arg3
== NULL
) SWIG_fail
;
3455 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 if (!wxPyCheckForApp()) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3503 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3506 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3507 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3509 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3512 wxWindow
*arg5
= (wxWindow
*) NULL
;
3514 bool temp1
= false ;
3515 bool temp2
= false ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3519 PyObject
* obj2
= 0 ;
3520 PyObject
* obj3
= 0 ;
3521 PyObject
* obj4
= 0 ;
3523 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3529 arg1
= wxString_in_helper(obj0
);
3530 if (arg1
== NULL
) SWIG_fail
;
3536 arg2
= wxString_in_helper(obj1
);
3537 if (arg2
== NULL
) SWIG_fail
;
3542 arg3
= (long)SWIG_As_long(obj2
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3552 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3556 if (!wxPyCheckForApp()) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3592 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxString
*arg1
= 0 ;
3595 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3596 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3597 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3598 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3599 wxWindow
*arg4
= (wxWindow
*) NULL
;
3600 int arg5
= (int) -1 ;
3601 int arg6
= (int) -1 ;
3602 bool arg7
= (bool) true ;
3604 bool temp1
= false ;
3605 bool temp2
= false ;
3606 bool temp3
= false ;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj1
= 0 ;
3609 PyObject
* obj2
= 0 ;
3610 PyObject
* obj3
= 0 ;
3611 PyObject
* obj4
= 0 ;
3612 PyObject
* obj5
= 0 ;
3613 PyObject
* obj6
= 0 ;
3615 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3620 arg1
= wxString_in_helper(obj0
);
3621 if (arg1
== NULL
) SWIG_fail
;
3626 arg2
= wxString_in_helper(obj1
);
3627 if (arg2
== NULL
) SWIG_fail
;
3633 arg3
= wxString_in_helper(obj2
);
3634 if (arg3
== NULL
) SWIG_fail
;
3639 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg5
= (int)SWIG_As_int(obj4
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 arg6
= (int)SWIG_As_int(obj5
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 arg7
= (bool)SWIG_As_bool(obj6
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 if (!wxPyCheckForApp()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3699 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxString
*arg1
= 0 ;
3702 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3703 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3704 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3705 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3706 wxWindow
*arg4
= (wxWindow
*) NULL
;
3708 bool temp1
= false ;
3709 bool temp2
= false ;
3710 bool temp3
= false ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3713 PyObject
* obj2
= 0 ;
3714 PyObject
* obj3
= 0 ;
3716 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3721 arg1
= wxString_in_helper(obj0
);
3722 if (arg1
== NULL
) SWIG_fail
;
3727 arg2
= wxString_in_helper(obj1
);
3728 if (arg2
== NULL
) SWIG_fail
;
3734 arg3
= wxString_in_helper(obj2
);
3735 if (arg3
== NULL
) SWIG_fail
;
3740 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3788 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxString
*arg1
= 0 ;
3791 wxString
*arg2
= 0 ;
3793 wxString
*arg4
= (wxString
*) 0 ;
3794 wxWindow
*arg5
= (wxWindow
*) NULL
;
3795 int arg6
= (int) -1 ;
3796 int arg7
= (int) -1 ;
3797 bool arg8
= (bool) true ;
3798 int arg9
= (int) 150 ;
3799 int arg10
= (int) 200 ;
3801 bool temp1
= false ;
3802 bool temp2
= false ;
3803 PyObject
* obj0
= 0 ;
3804 PyObject
* obj1
= 0 ;
3805 PyObject
* obj2
= 0 ;
3806 PyObject
* obj3
= 0 ;
3807 PyObject
* obj4
= 0 ;
3808 PyObject
* obj5
= 0 ;
3809 PyObject
* obj6
= 0 ;
3810 PyObject
* obj7
= 0 ;
3811 PyObject
* obj8
= 0 ;
3813 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3818 arg1
= wxString_in_helper(obj0
);
3819 if (arg1
== NULL
) SWIG_fail
;
3823 arg2
= wxString_in_helper(obj1
);
3824 if (arg2
== NULL
) SWIG_fail
;
3828 arg3
= PyList_Size(obj2
);
3829 arg4
= wxString_LIST_helper(obj2
);
3830 if (arg4
== NULL
) SWIG_fail
;
3833 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 arg6
= (int)SWIG_As_int(obj4
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 arg7
= (int)SWIG_As_int(obj5
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3845 arg8
= (bool)SWIG_As_bool(obj6
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 arg9
= (int)SWIG_As_int(obj7
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3853 arg10
= (int)SWIG_As_int(obj8
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 if (!wxPyCheckForApp()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3880 if (arg4
) delete [] arg4
;
3893 if (arg4
) delete [] arg4
;
3899 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxString
*arg1
= 0 ;
3902 wxString
*arg2
= 0 ;
3904 wxString
*arg4
= (wxString
*) 0 ;
3905 wxWindow
*arg5
= (wxWindow
*) NULL
;
3906 int arg6
= (int) -1 ;
3907 int arg7
= (int) -1 ;
3908 bool arg8
= (bool) true ;
3909 int arg9
= (int) 150 ;
3910 int arg10
= (int) 200 ;
3912 bool temp1
= false ;
3913 bool temp2
= false ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 PyObject
* obj2
= 0 ;
3917 PyObject
* obj3
= 0 ;
3918 PyObject
* obj4
= 0 ;
3919 PyObject
* obj5
= 0 ;
3920 PyObject
* obj6
= 0 ;
3921 PyObject
* obj7
= 0 ;
3922 PyObject
* obj8
= 0 ;
3924 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3929 arg1
= wxString_in_helper(obj0
);
3930 if (arg1
== NULL
) SWIG_fail
;
3934 arg2
= wxString_in_helper(obj1
);
3935 if (arg2
== NULL
) SWIG_fail
;
3939 arg3
= PyList_Size(obj2
);
3940 arg4
= wxString_LIST_helper(obj2
);
3941 if (arg4
== NULL
) SWIG_fail
;
3944 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3948 arg6
= (int)SWIG_As_int(obj4
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3952 arg7
= (int)SWIG_As_int(obj5
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 arg8
= (bool)SWIG_As_bool(obj6
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 arg9
= (int)SWIG_As_int(obj7
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3964 arg10
= (int)SWIG_As_int(obj8
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 if (!wxPyCheckForApp()) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_From_int((int)result
);
3985 if (arg4
) delete [] arg4
;
3998 if (arg4
) delete [] arg4
;
4004 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxString
*arg1
= 0 ;
4007 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4008 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4009 int arg3
= (int) wxOK
|wxCENTRE
;
4010 wxWindow
*arg4
= (wxWindow
*) NULL
;
4011 int arg5
= (int) -1 ;
4012 int arg6
= (int) -1 ;
4014 bool temp1
= false ;
4015 bool temp2
= false ;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4018 PyObject
* obj2
= 0 ;
4019 PyObject
* obj3
= 0 ;
4020 PyObject
* obj4
= 0 ;
4021 PyObject
* obj5
= 0 ;
4023 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4028 arg1
= wxString_in_helper(obj0
);
4029 if (arg1
== NULL
) SWIG_fail
;
4034 arg2
= wxString_in_helper(obj1
);
4035 if (arg2
== NULL
) SWIG_fail
;
4040 arg3
= (int)SWIG_As_int(obj2
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 arg5
= (int)SWIG_As_int(obj4
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 arg6
= (int)SWIG_As_int(obj5
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4056 if (!wxPyCheckForApp()) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_From_int((int)result
);
4086 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxString
*arg1
= 0 ;
4089 wxString
*arg2
= 0 ;
4090 wxString
*arg3
= 0 ;
4092 long arg5
= (long) 0 ;
4093 long arg6
= (long) 100 ;
4094 wxWindow
*arg7
= (wxWindow
*) NULL
;
4095 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4096 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4098 bool temp1
= false ;
4099 bool temp2
= false ;
4100 bool temp3
= false ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 PyObject
* obj4
= 0 ;
4107 PyObject
* obj5
= 0 ;
4108 PyObject
* obj6
= 0 ;
4109 PyObject
* obj7
= 0 ;
4111 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4116 arg1
= wxString_in_helper(obj0
);
4117 if (arg1
== NULL
) SWIG_fail
;
4121 arg2
= wxString_in_helper(obj1
);
4122 if (arg2
== NULL
) SWIG_fail
;
4126 arg3
= wxString_in_helper(obj2
);
4127 if (arg3
== NULL
) SWIG_fail
;
4130 arg4
= (long)SWIG_As_long(obj3
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 arg5
= (long)SWIG_As_long(obj4
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4137 arg6
= (long)SWIG_As_long(obj5
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4151 if (!wxPyCheckForApp()) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_From_long((long)result
);
4189 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4198 if (!wxPyCheckForApp()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (bool)wxColourDisplay();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4223 if (!wxPyCheckForApp()) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (int)wxDisplayDepth();
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_From_int((int)result
);
4237 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4246 if (!wxPyCheckForApp()) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (int)wxGetDisplayDepth();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_From_int((int)result
);
4260 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 int *arg1
= (int *) 0 ;
4263 int *arg2
= (int *) 0 ;
4272 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4273 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4276 if (!wxPyCheckForApp()) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 wxDisplaySize(arg1
,arg2
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4285 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4286 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4287 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4294 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4303 if (!wxPyCheckForApp()) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= wxGetDisplaySize();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4312 resultptr
= new wxSize((wxSize
&) result
);
4313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4321 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 int *arg1
= (int *) 0 ;
4324 int *arg2
= (int *) 0 ;
4333 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4334 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4337 if (!wxPyCheckForApp()) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxDisplaySizeMM(arg1
,arg2
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4345 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4346 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4347 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4348 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4355 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4364 if (!wxPyCheckForApp()) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= wxGetDisplaySizeMM();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4373 resultptr
= new wxSize((wxSize
&) result
);
4374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4382 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 int *arg1
= (int *) 0 ;
4385 int *arg2
= (int *) 0 ;
4386 int *arg3
= (int *) 0 ;
4387 int *arg4
= (int *) 0 ;
4400 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4401 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4402 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4403 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4406 if (!wxPyCheckForApp()) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4415 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4416 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4417 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4418 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4419 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4420 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4421 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4428 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4437 if (!wxPyCheckForApp()) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= wxGetClientDisplayRect();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4446 resultptr
= new wxRect((wxRect
&) result
);
4447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4455 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxCursor
*arg1
= 0 ;
4458 PyObject
* obj0
= 0 ;
4460 (char *) "cursor", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4468 PyErr_SetString(PyExc_TypeError
,"null reference");
4472 if (!wxPyCheckForApp()) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 Py_INCREF(Py_None
); resultobj
= Py_None
;
4486 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4489 PyObject
* obj0
= 0 ;
4491 (char *) "cursor", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 if (!wxPyCheckForApp()) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxBeginBusyCursor(arg1
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4514 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4523 if (!wxPyCheckForApp()) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (wxWindow
*)wxGetActiveWindow();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= wxPyMake_wxObject(result
, 0);
4539 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4544 PyObject
* obj0
= 0 ;
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4552 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4555 if (!wxPyCheckForApp()) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= wxPyMake_wxObject(result
, 0);
4571 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4576 PyObject
* obj0
= 0 ;
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4584 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4587 if (!wxPyCheckForApp()) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= wxPyMake_wxObject(result
, 0);
4603 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxWindow
*arg1
= (wxWindow
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "win", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 if (!wxPyCheckForApp()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= wxPyMake_wxObject(result
, 0);
4632 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4636 PyObject
* obj0
= 0 ;
4638 (char *) "key", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4642 arg1
= (int)SWIG_As_int(obj0
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 if (!wxPyCheckForApp()) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4661 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4669 if (!wxPyCheckForApp()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxWakeUpMainThread();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 Py_INCREF(Py_None
); resultobj
= Py_None
;
4683 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4691 if (!wxPyCheckForApp()) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4713 if (!wxPyCheckForApp()) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 Py_INCREF(Py_None
); resultobj
= Py_None
;
4727 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxMutexGuiLocker
*result
;
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4736 if (!wxPyCheckForApp()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4750 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4755 (char *) "self", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4768 Py_INCREF(Py_None
); resultobj
= Py_None
;
4775 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4778 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4780 return Py_BuildValue((char *)"");
4782 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)wxThread_IsMain();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4806 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxString
*arg1
= 0 ;
4810 bool temp1
= false ;
4811 PyObject
* obj0
= 0 ;
4813 (char *) "tip", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4818 arg1
= wxString_in_helper(obj0
);
4819 if (arg1
== NULL
) SWIG_fail
;
4823 if (!wxPyCheckForApp()) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= wxPyMake_wxObject(result
, 1);
4847 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4850 wxString
*arg2
= 0 ;
4851 bool temp2
= false ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "tip", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4862 arg2
= wxString_in_helper(obj1
);
4863 if (arg2
== NULL
) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 (arg1
)->SetTip((wxString
const &)*arg2
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 Py_INCREF(Py_None
); resultobj
= Py_None
;
4888 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4894 (char *) "self", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (arg1
)->GetTip();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4920 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (wxWindow
*)(arg1
)->GetWindow();
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= wxPyMake_wxObject(result
, 0);
4948 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "flag", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4957 arg1
= (bool)SWIG_As_bool(obj0
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 wxToolTip::Enable(arg1
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4976 PyObject
* obj0
= 0 ;
4978 (char *) "milliseconds", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4982 arg1
= (long)SWIG_As_long(obj0
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 wxToolTip::SetDelay(arg1
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
4998 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5001 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5003 return Py_BuildValue((char *)"");
5005 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxWindow
*arg1
= (wxWindow
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5014 (char *) "window",(char *) "size", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5025 if (!wxPyCheckForApp()) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5039 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxCaret
*arg1
= (wxCaret
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5044 (char *) "self", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5064 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxCaret
*arg1
= (wxCaret
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5070 (char *) "self", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (bool)(arg1
)->IsOk();
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5092 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxCaret
*arg1
= (wxCaret
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5098 (char *) "self", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (bool)(arg1
)->IsVisible();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5120 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxCaret
*arg1
= (wxCaret
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (arg1
)->GetPosition();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 wxPoint
* resultptr
;
5141 resultptr
= new wxPoint((wxPoint
&) result
);
5142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5150 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxCaret
*arg1
= (wxCaret
*) 0 ;
5153 int *arg2
= (int *) 0 ;
5154 int *arg3
= (int *) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5165 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->GetPosition(arg2
,arg3
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5178 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5179 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5180 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5187 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxCaret
*arg1
= (wxCaret
*) 0 ;
5191 PyObject
* obj0
= 0 ;
5193 (char *) "self", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (arg1
)->GetSize();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5208 resultptr
= new wxSize((wxSize
&) result
);
5209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5217 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxCaret
*arg1
= (wxCaret
*) 0 ;
5220 int *arg2
= (int *) 0 ;
5221 int *arg3
= (int *) 0 ;
5226 PyObject
* obj0
= 0 ;
5228 (char *) "self", NULL
5231 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5232 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 (arg1
)->GetSize(arg2
,arg3
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 Py_INCREF(Py_None
); resultobj
= Py_None
;
5244 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5245 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5246 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5247 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5254 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxCaret
*arg1
= (wxCaret
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (wxWindow
*)(arg1
)->GetWindow();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= wxPyMake_wxObject(result
, 0);
5282 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxCaret
*arg1
= (wxCaret
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 PyObject
* obj2
= 0 ;
5291 (char *) "self",(char *) "x",(char *) "y", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5297 arg2
= (int)SWIG_As_int(obj1
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5299 arg3
= (int)SWIG_As_int(obj2
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 (arg1
)->Move(arg2
,arg3
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 Py_INCREF(Py_None
); resultobj
= Py_None
;
5315 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxCaret
*arg1
= (wxCaret
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5323 (char *) "self",(char *) "pt", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 (arg1
)->Move((wxPoint
const &)*arg2
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5347 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxCaret
*arg1
= (wxCaret
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 PyObject
* obj2
= 0 ;
5356 (char *) "self",(char *) "width",(char *) "height", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 arg2
= (int)SWIG_As_int(obj1
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5364 arg3
= (int)SWIG_As_int(obj2
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 (arg1
)->SetSize(arg2
,arg3
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxCaret
*arg1
= (wxCaret
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "size", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 (arg1
)->SetSize((wxSize
const &)*arg2
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 Py_INCREF(Py_None
); resultobj
= Py_None
;
5412 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxCaret
*arg1
= (wxCaret
*) 0 ;
5415 int arg2
= (int) true ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "show", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5426 arg2
= (int)SWIG_As_int(obj1
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxCaret
*arg1
= (wxCaret
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5471 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5473 return Py_BuildValue((char *)"");
5475 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (int)wxCaret_GetBlinkTime();
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= SWIG_From_int((int)result
);
5497 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "milliseconds", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5506 arg1
= (int)SWIG_As_int(obj0
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 wxCaret_SetBlinkTime(arg1
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5522 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5525 wxBusyCursor
*result
;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "cursor", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5537 if (!wxPyCheckForApp()) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5551 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5556 (char *) "self", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5579 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5581 return Py_BuildValue((char *)"");
5583 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxWindow
*arg1
= (wxWindow
*) NULL
;
5586 wxWindowDisabler
*result
;
5587 PyObject
* obj0
= 0 ;
5589 (char *) "winToSkip", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5612 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5640 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5642 return Py_BuildValue((char *)"");
5644 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxString
*arg1
= 0 ;
5648 bool temp1
= false ;
5649 PyObject
* obj0
= 0 ;
5651 (char *) "message", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5656 arg1
= wxString_in_helper(obj0
);
5657 if (arg1
== NULL
) SWIG_fail
;
5661 if (!wxPyCheckForApp()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5683 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "self", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5711 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5713 return Py_BuildValue((char *)"");
5715 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxStopWatch
*result
;
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (wxStopWatch
*)new wxStopWatch();
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5737 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5740 long arg2
= (long) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5744 (char *) "self",(char *) "t0", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 arg2
= (long)SWIG_As_long(obj1
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 (arg1
)->Start(arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5771 PyObject
* obj0
= 0 ;
5773 (char *) "self", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 Py_INCREF(Py_None
); resultobj
= Py_None
;
5793 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "self", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= SWIG_From_long((long)result
);
5844 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5847 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5849 return Py_BuildValue((char *)"");
5851 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 int arg1
= (int) 9 ;
5854 int arg2
= (int) wxID_FILE1
;
5855 wxFileHistory
*result
;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5859 (char *) "maxFiles",(char *) "idBase", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5864 arg1
= (int)SWIG_As_int(obj0
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 arg2
= (int)SWIG_As_int(obj1
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5885 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 Py_INCREF(Py_None
); resultobj
= Py_None
;
5910 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5913 wxString
*arg2
= 0 ;
5914 bool temp2
= false ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5918 (char *) "self",(char *) "file", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 arg2
= wxString_in_helper(obj1
);
5926 if (arg2
== NULL
) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5958 (char *) "self",(char *) "i", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 arg2
= (int)SWIG_As_int(obj1
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 (arg1
)->RemoveFileFromHistory(arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 Py_INCREF(Py_None
); resultobj
= Py_None
;
5980 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",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();
5994 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_From_int((int)result
);
6006 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6009 wxMenu
*arg2
= (wxMenu
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6011 PyObject
* obj1
= 0 ;
6013 (char *) "self",(char *) "menu", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 (arg1
)->UseMenu(arg2
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 Py_INCREF(Py_None
); resultobj
= Py_None
;
6035 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6038 wxMenu
*arg2
= (wxMenu
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6042 (char *) "self",(char *) "menu", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 (arg1
)->RemoveMenu(arg2
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6067 wxConfigBase
*arg2
= 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "config", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6081 PyErr_SetString(PyExc_TypeError
,"null reference");
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 (arg1
)->Load(*arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6101 wxConfigBase
*arg2
= 0 ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6105 (char *) "self",(char *) "config", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6115 PyErr_SetString(PyExc_TypeError
,"null reference");
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->Save(*arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "self", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->AddFilesToMenu();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6160 wxMenu
*arg2
= (wxMenu
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "menu", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->AddFilesToMenu(arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6186 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6194 (char *) "self",(char *) "i", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 arg2
= (int)SWIG_As_int(obj1
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6222 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_From_int((int)result
);
6248 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6251 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6253 return Py_BuildValue((char *)"");
6255 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxString
*arg1
= 0 ;
6258 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6259 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6260 wxSingleInstanceChecker
*result
;
6261 bool temp1
= false ;
6262 bool temp2
= false ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6266 (char *) "name",(char *) "path", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6271 arg1
= wxString_in_helper(obj0
);
6272 if (arg1
== NULL
) SWIG_fail
;
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6312 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxSingleInstanceChecker
*result
;
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6334 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6362 wxString
*arg2
= 0 ;
6363 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6364 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6366 bool temp2
= false ;
6367 bool temp3
= false ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6372 (char *) "self",(char *) "name",(char *) "path", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 arg2
= wxString_in_helper(obj1
);
6380 if (arg2
== NULL
) SWIG_fail
;
6385 arg3
= wxString_in_helper(obj2
);
6386 if (arg3
== NULL
) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6422 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6450 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6455 return Py_BuildValue((char *)"");
6457 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxWindow
*arg1
= (wxWindow
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6466 (char *) "window",(char *) "dc",(char *) "method", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6476 PyErr_SetString(PyExc_TypeError
,"null reference");
6479 arg3
= (int)SWIG_As_int(obj2
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6500 (char *) "self", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 Py_INCREF(Py_None
); resultobj
= Py_None
;
6520 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6526 (char *) "self", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (arg1
)->GetTip();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6552 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6558 (char *) "self", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (size_t)(arg1
)->GetCurrentTip();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6578 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6581 wxString
*arg2
= 0 ;
6583 bool temp2
= false ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6587 (char *) "self",(char *) "tip", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 arg2
= wxString_in_helper(obj1
);
6595 if (arg2
== NULL
) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6626 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6629 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6631 return Py_BuildValue((char *)"");
6633 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6636 wxPyTipProvider
*result
;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "currentTip", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6643 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6659 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6662 PyObject
*arg2
= (PyObject
*) 0 ;
6663 PyObject
*arg3
= (PyObject
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 PyObject
* obj2
= 0 ;
6668 (char *) "self",(char *) "self",(char *) "_class", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 Py_INCREF(Py_None
); resultobj
= Py_None
;
6690 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6693 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6695 return Py_BuildValue((char *)"");
6697 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxWindow
*arg1
= (wxWindow
*) 0 ;
6700 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6701 bool arg3
= (bool) true ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 PyObject
* obj2
= 0 ;
6707 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg3
= (bool)SWIG_As_bool(obj2
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 if (!wxPyCheckForApp()) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6736 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxString
*arg1
= 0 ;
6740 wxTipProvider
*result
;
6741 bool temp1
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6745 (char *) "filename",(char *) "currentTip", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6750 arg1
= wxString_in_helper(obj0
);
6751 if (arg1
== NULL
) SWIG_fail
;
6754 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 if (!wxPyCheckForApp()) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6779 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6782 int arg2
= (int) -1 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "owner",(char *) "id", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 arg2
= (int)SWIG_As_int(obj1
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6800 if (!wxPyCheckForApp()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6814 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6819 (char *) "self", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 Py_INCREF(Py_None
); resultobj
= Py_None
;
6839 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6842 PyObject
*arg2
= (PyObject
*) 0 ;
6843 PyObject
*arg3
= (PyObject
*) 0 ;
6844 int arg4
= (int) 1 ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 PyObject
* obj2
= 0 ;
6848 PyObject
* obj3
= 0 ;
6850 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 arg4
= (int)SWIG_As_int(obj3
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6879 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6880 int arg3
= (int) -1 ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6883 PyObject
* obj2
= 0 ;
6885 (char *) "self",(char *) "owner",(char *) "id", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 arg3
= (int)SWIG_As_int(obj2
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 (arg1
)->SetOwner(arg2
,arg3
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6914 wxEvtHandler
*result
;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= wxPyMake_wxObject(result
, 0);
6939 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6942 int arg2
= (int) -1 ;
6943 bool arg3
= (bool) false ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6947 PyObject
* obj2
= 0 ;
6949 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 arg2
= (int)SWIG_As_int(obj1
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6960 arg3
= (bool)SWIG_As_bool(obj2
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6979 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6984 (char *) "self", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 Py_INCREF(Py_None
); resultobj
= Py_None
;
7004 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7010 (char *) "self", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7032 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7038 (char *) "self", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_From_int((int)result
);
7058 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7086 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_From_int((int)result
);
7112 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7115 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7117 return Py_BuildValue((char *)"");
7119 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 int arg1
= (int) 0 ;
7122 int arg2
= (int) 0 ;
7123 wxTimerEvent
*result
;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "timerid",(char *) "interval", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7132 arg1
= (int)SWIG_As_int(obj0
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 arg2
= (int)SWIG_As_int(obj1
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7153 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7159 (char *) "self", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_From_int((int)result
);
7179 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7182 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7184 return Py_BuildValue((char *)"");
7186 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7187 PyObject
*resultobj
;
7189 wxTimerRunner
*result
;
7190 PyObject
* obj0
= 0 ;
7192 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7197 PyErr_SetString(PyExc_TypeError
,"null reference");
7201 if (!wxPyCheckForApp()) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7215 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7216 PyObject
*resultobj
;
7219 bool arg3
= (bool) false ;
7220 wxTimerRunner
*result
;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7223 PyObject
* obj2
= 0 ;
7225 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7230 PyErr_SetString(PyExc_TypeError
,"null reference");
7233 arg2
= (int)SWIG_As_int(obj1
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 arg3
= (bool)SWIG_As_bool(obj2
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 if (!wxPyCheckForApp()) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7254 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7259 argc
= PyObject_Length(args
);
7260 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7261 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7267 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7275 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7278 if ((argc
>= 2) && (argc
<= 3)) {
7282 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7290 _v
= SWIG_Check_int(argv
[1]);
7293 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7295 _v
= SWIG_Check_bool(argv
[2]);
7297 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7303 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7308 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7311 PyObject
* obj0
= 0 ;
7313 (char *) "self", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7337 bool arg3
= (bool) false ;
7338 PyObject
* obj0
= 0 ;
7339 PyObject
* obj1
= 0 ;
7340 PyObject
* obj2
= 0 ;
7342 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7348 arg2
= (int)SWIG_As_int(obj1
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 arg3
= (bool)SWIG_As_bool(obj2
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 (arg1
)->Start(arg2
,arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7373 return Py_BuildValue((char *)"");
7375 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (wxLog
*)new wxLog();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7397 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (bool)wxLog::IsEnabled();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7421 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 bool arg1
= (bool) true ;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "doIt", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7432 arg1
= (bool)SWIG_As_bool(obj0
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= (bool)wxLog::EnableLogging(arg1
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7451 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7454 wxChar
*arg2
= (wxChar
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 PyObject
* obj2
= 0 ;
7460 (char *) "level",(char *) "szString",(char *) "t", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7464 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7468 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 Py_INCREF(Py_None
); resultobj
= Py_None
;
7484 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxLog
*arg1
= (wxLog
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 wxLog::FlushActive();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 Py_INCREF(Py_None
); resultobj
= Py_None
;
7530 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (wxLog
*)wxLog::GetActiveTarget();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7552 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxLog
*arg1
= (wxLog
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "pLogger", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7578 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 Py_INCREF(Py_None
); resultobj
= Py_None
;
7599 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 bool arg1
= (bool) true ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "bVerbose", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7630 arg1
= (bool)SWIG_As_bool(obj0
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 wxLog::SetVerbose(arg1
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 Py_INCREF(Py_None
); resultobj
= Py_None
;
7647 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "logLevel", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7656 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxLog::SetLogLevel(arg1
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7672 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 wxLog::DontCreateOnDemand();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 Py_INCREF(Py_None
); resultobj
= Py_None
;
7693 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "ulMask", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7702 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 wxLog::SetTraceMask(arg1
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 Py_INCREF(Py_None
); resultobj
= Py_None
;
7718 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxString
*arg1
= 0 ;
7721 bool temp1
= false ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "str", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7729 arg1
= wxString_in_helper(obj0
);
7730 if (arg1
== NULL
) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 wxLog::AddTraceMask((wxString
const &)*arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7755 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxString
*arg1
= 0 ;
7758 bool temp1
= false ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "str", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7766 arg1
= wxString_in_helper(obj0
);
7767 if (arg1
== NULL
) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7792 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 wxLog::ClearTraceMasks();
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 Py_INCREF(Py_None
); resultobj
= Py_None
;
7813 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxArrayString
*result
;
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7825 result
= (wxArrayString
*) &_result_ref
;
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= wxArrayString2PyList_helper(*result
);
7840 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxChar
*arg1
= (wxChar
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 wxLog::SetTimestamp((wxChar
const *)arg1
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 Py_INCREF(Py_None
); resultobj
= Py_None
;
7865 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (bool)wxLog::GetVerbose();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7889 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (wxTraceMask
)wxLog::GetTraceMask();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7911 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxChar
*arg1
= (wxChar
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "mask", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7939 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (wxLogLevel
)wxLog::GetLogLevel();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7961 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (wxChar
*)wxLog::GetTimestamp();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7983 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= Log_TimeStamp();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8011 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxLog
*arg1
= (wxLog
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 wxLog_Destroy(arg1
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8039 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8041 return Py_BuildValue((char *)"");
8043 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxLogStderr
*result
;
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (wxLogStderr
*)new wxLogStderr();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8065 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8068 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8070 return Py_BuildValue((char *)"");
8072 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8075 wxLogTextCtrl
*result
;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "pTextCtrl", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8098 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8101 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8103 return Py_BuildValue((char *)"");
8105 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxLogGui
*)new wxLogGui();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8127 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8130 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8132 return Py_BuildValue((char *)"");
8134 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxFrame
*arg1
= (wxFrame
*) 0 ;
8137 wxString
*arg2
= 0 ;
8138 bool arg3
= (bool) true ;
8139 bool arg4
= (bool) true ;
8140 wxLogWindow
*result
;
8141 bool temp2
= false ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8145 PyObject
* obj3
= 0 ;
8147 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 arg2
= wxString_in_helper(obj1
);
8155 if (arg2
== NULL
) SWIG_fail
;
8159 arg3
= (bool)SWIG_As_bool(obj2
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8163 arg4
= (bool)SWIG_As_bool(obj3
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8188 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8191 bool arg2
= (bool) true ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8195 (char *) "self",(char *) "bShow", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8202 arg2
= (bool)SWIG_As_bool(obj1
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= wxPyMake_wxObject(result
, 0);
8247 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "self", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8273 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "self", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8301 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8308 (char *) "self",(char *) "bDoPass", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8314 arg2
= (bool)SWIG_As_bool(obj1
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 (arg1
)->PassMessages(arg2
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 Py_INCREF(Py_None
); resultobj
= Py_None
;
8330 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8333 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8335 return Py_BuildValue((char *)"");
8337 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxLog
*arg1
= (wxLog
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "logger", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxLogChain
*)new wxLogChain(arg1
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8363 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8366 wxLog
*arg2
= (wxLog
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8370 (char *) "self",(char *) "logger", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 (arg1
)->SetLog(arg2
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8399 (char *) "self",(char *) "bDoPass", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 arg2
= (bool)SWIG_As_bool(obj1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 (arg1
)->PassMessages(arg2
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8421 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (bool)(arg1
)->IsPassingMessages();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8449 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxLog
*)(arg1
)->GetOldLog();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8475 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8478 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8480 return Py_BuildValue((char *)"");
8482 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 unsigned long result
;
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (unsigned long)wxSysErrorCode();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8504 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 unsigned long arg1
= (unsigned long) 0 ;
8508 PyObject
* obj0
= 0 ;
8510 (char *) "nErrCode", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8515 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= wxSysErrorMsg(arg1
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8538 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxString
*arg1
= 0 ;
8541 bool temp1
= false ;
8542 PyObject
* obj0
= 0 ;
8544 (char *) "msg", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8549 arg1
= wxString_in_helper(obj0
);
8550 if (arg1
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 wxLogFatalError((wxString
const &)*arg1
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8575 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxString
*arg1
= 0 ;
8578 bool temp1
= false ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "msg", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8586 arg1
= wxString_in_helper(obj0
);
8587 if (arg1
== NULL
) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 wxLogError((wxString
const &)*arg1
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 Py_INCREF(Py_None
); resultobj
= Py_None
;
8612 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxString
*arg1
= 0 ;
8615 bool temp1
= false ;
8616 PyObject
* obj0
= 0 ;
8618 (char *) "msg", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8623 arg1
= wxString_in_helper(obj0
);
8624 if (arg1
== NULL
) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 wxLogWarning((wxString
const &)*arg1
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8649 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxString
*arg1
= 0 ;
8652 bool temp1
= false ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "msg", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8660 arg1
= wxString_in_helper(obj0
);
8661 if (arg1
== NULL
) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxLogMessage((wxString
const &)*arg1
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxString
*arg1
= 0 ;
8689 bool temp1
= false ;
8690 PyObject
* obj0
= 0 ;
8692 (char *) "msg", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8697 arg1
= wxString_in_helper(obj0
);
8698 if (arg1
== NULL
) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 wxLogInfo((wxString
const &)*arg1
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 Py_INCREF(Py_None
); resultobj
= Py_None
;
8723 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxString
*arg1
= 0 ;
8726 bool temp1
= false ;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "msg", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8734 arg1
= wxString_in_helper(obj0
);
8735 if (arg1
== NULL
) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 wxLogDebug((wxString
const &)*arg1
);
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxString
*arg1
= 0 ;
8763 bool temp1
= false ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "msg", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8771 arg1
= wxString_in_helper(obj0
);
8772 if (arg1
== NULL
) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 wxLogVerbose((wxString
const &)*arg1
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxString
*arg1
= 0 ;
8800 bool temp1
= false ;
8801 PyObject
* obj0
= 0 ;
8803 (char *) "msg", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8808 arg1
= wxString_in_helper(obj0
);
8809 if (arg1
== NULL
) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 wxLogStatus((wxString
const &)*arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8834 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxFrame
*arg1
= (wxFrame
*) 0 ;
8837 wxString
*arg2
= 0 ;
8838 bool temp2
= false ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8842 (char *) "pFrame",(char *) "msg", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 arg2
= wxString_in_helper(obj1
);
8850 if (arg2
== NULL
) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxString
*arg1
= 0 ;
8878 bool temp1
= false ;
8879 PyObject
* obj0
= 0 ;
8881 (char *) "msg", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8886 arg1
= wxString_in_helper(obj0
);
8887 if (arg1
== NULL
) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 wxLogSysError((wxString
const &)*arg1
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8913 PyObject
*resultobj
;
8914 unsigned long arg1
;
8915 wxString
*arg2
= 0 ;
8916 bool temp2
= false ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8921 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 arg2
= wxString_in_helper(obj1
);
8925 if (arg2
== NULL
) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8951 PyObject
*resultobj
;
8952 wxString
*arg1
= 0 ;
8953 wxString
*arg2
= 0 ;
8954 bool temp1
= false ;
8955 bool temp2
= false ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8959 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8961 arg1
= wxString_in_helper(obj0
);
8962 if (arg1
== NULL
) SWIG_fail
;
8966 arg2
= wxString_in_helper(obj1
);
8967 if (arg2
== NULL
) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9005 argc
= PyObject_Length(args
);
9006 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9007 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9012 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9016 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9019 return _wrap_LogTrace__SWIG_1(self
,args
);
9025 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9028 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9031 return _wrap_LogTrace__SWIG_0(self
,args
);
9036 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9041 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 unsigned long arg1
;
9044 wxString
*arg2
= 0 ;
9045 bool temp2
= false ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9049 (char *) "level",(char *) "msg", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9053 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 arg2
= wxString_in_helper(obj1
);
9057 if (arg2
== NULL
) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9082 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxString
*arg1
= 0 ;
9085 wxString
*arg2
= 0 ;
9086 bool temp1
= false ;
9087 bool temp2
= false ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "title",(char *) "text", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9096 arg1
= wxString_in_helper(obj0
);
9097 if (arg1
== NULL
) SWIG_fail
;
9101 arg2
= wxString_in_helper(obj1
);
9102 if (arg2
== NULL
) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (wxLogNull
*)new wxLogNull();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9157 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9185 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9187 return Py_BuildValue((char *)"");
9189 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (wxPyLog
*)new wxPyLog();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9211 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9214 PyObject
*arg2
= (PyObject
*) 0 ;
9215 PyObject
*arg3
= (PyObject
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9220 (char *) "self",(char *) "self",(char *) "_class", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9245 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9247 return Py_BuildValue((char *)"");
9249 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9252 int arg2
= (int) wxSIGTERM
;
9254 PyObject
* obj0
= 0 ;
9255 PyObject
* obj1
= 0 ;
9257 (char *) "pid",(char *) "sig", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9261 arg1
= (int)SWIG_As_int(obj0
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 arg2
= (int)SWIG_As_int(obj1
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_From_int((int)result
);
9281 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "pid", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9291 arg1
= (int)SWIG_As_int(obj0
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)wxPyProcess::Exists(arg1
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxString
*arg1
= 0 ;
9312 int arg2
= (int) wxEXEC_ASYNC
;
9313 wxPyProcess
*result
;
9314 bool temp1
= false ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9318 (char *) "cmd",(char *) "flags", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9323 arg1
= wxString_in_helper(obj0
);
9324 if (arg1
== NULL
) SWIG_fail
;
9328 arg2
= (int)SWIG_As_int(obj1
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9353 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9356 int arg2
= (int) -1 ;
9357 wxPyProcess
*result
;
9358 PyObject
* obj0
= 0 ;
9359 PyObject
* obj1
= 0 ;
9361 (char *) "parent",(char *) "id", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 arg2
= (int)SWIG_As_int(obj1
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9387 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9390 PyObject
*arg2
= (PyObject
*) 0 ;
9391 PyObject
*arg3
= (PyObject
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 PyObject
* obj2
= 0 ;
9396 (char *) "self",(char *) "self",(char *) "_class", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 PyObject
* obj2
= 0 ;
9427 (char *) "self",(char *) "pid",(char *) "status", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 arg2
= (int)SWIG_As_int(obj1
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9435 arg3
= (int)SWIG_As_int(obj2
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 (arg1
)->base_OnTerminate(arg2
,arg3
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 Py_INCREF(Py_None
); resultobj
= Py_None
;
9451 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 Py_INCREF(Py_None
); resultobj
= Py_None
;
9476 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9480 PyObject
* obj0
= 0 ;
9482 (char *) "self", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (bool)(arg1
)->IsRedirected();
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9504 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9532 wxInputStream
*result
;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 wxPyInputStream
* _ptr
= NULL
;
9552 _ptr
= new wxPyInputStream(result
);
9554 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9562 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9565 wxInputStream
*result
;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 wxPyInputStream
* _ptr
= NULL
;
9585 _ptr
= new wxPyInputStream(result
);
9587 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9595 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9598 wxOutputStream
*result
;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9621 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 (arg1
)->CloseOutput();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 Py_INCREF(Py_None
); resultobj
= Py_None
;
9646 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9680 (char *) "self", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9708 (char *) "self", NULL
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9730 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9733 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9735 return Py_BuildValue((char *)"");
9737 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 int arg1
= (int) 0 ;
9740 int arg2
= (int) 0 ;
9741 int arg3
= (int) 0 ;
9742 wxProcessEvent
*result
;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9745 PyObject
* obj2
= 0 ;
9747 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9752 arg1
= (int)SWIG_As_int(obj0
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 arg2
= (int)SWIG_As_int(obj1
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 arg3
= (int)SWIG_As_int(obj2
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9777 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (int)(arg1
)->GetPid();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_From_int((int)result
);
9803 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (int)(arg1
)->GetExitCode();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_From_int((int)result
);
9829 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9836 (char *) "self",(char *) "m_pid", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9842 arg2
= (int)SWIG_As_int(obj1
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9844 if (arg1
) (arg1
)->m_pid
= arg2
;
9846 Py_INCREF(Py_None
); resultobj
= Py_None
;
9853 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 result
= (int) ((arg1
)->m_pid
);
9867 resultobj
= SWIG_From_int((int)result
);
9874 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9881 (char *) "self",(char *) "m_exitcode", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 arg2
= (int)SWIG_As_int(obj1
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9889 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9891 Py_INCREF(Py_None
); resultobj
= Py_None
;
9898 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 (char *) "self", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 result
= (int) ((arg1
)->m_exitcode
);
9912 resultobj
= SWIG_From_int((int)result
);
9919 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9922 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9924 return Py_BuildValue((char *)"");
9926 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxString
*arg1
= 0 ;
9929 int arg2
= (int) wxEXEC_ASYNC
;
9930 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9932 bool temp1
= false ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 PyObject
* obj2
= 0 ;
9937 (char *) "command",(char *) "flags",(char *) "process", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9942 arg1
= wxString_in_helper(obj0
);
9943 if (arg1
== NULL
) SWIG_fail
;
9947 arg2
= (int)SWIG_As_int(obj1
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9951 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 if (!wxPyCheckForApp()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_From_long((long)result
);
9977 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 int arg1
= (int) wxJOYSTICK1
;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "joystick", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9988 arg1
= (int)SWIG_As_int(obj0
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 if (!wxPyCheckForApp()) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (wxJoystick
*)new wxJoystick(arg1
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10006 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (arg1
)->GetPosition();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 wxPoint
* resultptr
;
10052 resultptr
= new wxPoint((wxPoint
&) result
);
10053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10061 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (int)(arg1
)->GetZPosition();
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_From_int((int)result
);
10087 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (int)(arg1
)->GetButtonState();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_From_int((int)result
);
10113 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (int)(arg1
)->GetPOVPosition();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= SWIG_From_int((int)result
);
10139 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10143 PyObject
* obj0
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (int)(arg1
)->GetPOVCTSPosition();
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= SWIG_From_int((int)result
);
10165 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (int)(arg1
)->GetRudderPosition();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_From_int((int)result
);
10191 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)(arg1
)->GetUPosition();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_From_int((int)result
);
10217 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (int)(arg1
)->GetVPosition();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_From_int((int)result
);
10243 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)(arg1
)->GetMovementThreshold();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_From_int((int)result
);
10269 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self",(char *) "threshold", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 arg2
= (int)SWIG_As_int(obj1
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 (arg1
)->SetMovementThreshold(arg2
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 Py_INCREF(Py_None
); resultobj
= Py_None
;
10298 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (bool)(arg1
)->IsOk();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (int)(arg1
)->GetNumberJoysticks();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int((int)result
);
10352 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (int)(arg1
)->GetManufacturerId();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_From_int((int)result
);
10378 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (int)(arg1
)->GetProductId();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_From_int((int)result
);
10404 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (arg1
)->GetProductName();
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10436 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (int)(arg1
)->GetXMin();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_From_int((int)result
);
10462 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (int)(arg1
)->GetYMin();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_From_int((int)result
);
10488 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
;
10490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (int)(arg1
)->GetZMin();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_From_int((int)result
);
10514 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (int)(arg1
)->GetXMax();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_From_int((int)result
);
10540 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (int)(arg1
)->GetYMax();
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= SWIG_From_int((int)result
);
10566 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (int)(arg1
)->GetZMax();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_From_int((int)result
);
10592 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (int)(arg1
)->GetNumberButtons();
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_From_int((int)result
);
10618 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (int)(arg1
)->GetNumberAxes();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_From_int((int)result
);
10644 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (int)(arg1
)->GetMaxButtons();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_From_int((int)result
);
10670 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (int)(arg1
)->GetMaxAxes();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_From_int((int)result
);
10696 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (int)(arg1
)->GetPollingMin();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_From_int((int)result
);
10722 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (int)(arg1
)->GetPollingMax();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= SWIG_From_int((int)result
);
10748 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (int)(arg1
)->GetRudderMin();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_From_int((int)result
);
10774 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (int)(arg1
)->GetRudderMax();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_From_int((int)result
);
10800 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (int)(arg1
)->GetUMin();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_From_int((int)result
);
10826 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (int)(arg1
)->GetUMax();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_From_int((int)result
);
10852 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (int)(arg1
)->GetVMin();
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_From_int((int)result
);
10878 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (int)(arg1
)->GetVMax();
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= SWIG_From_int((int)result
);
10904 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 result
= (bool)(arg1
)->HasRudder();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10932 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (bool)(arg1
)->HasZ();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 result
= (bool)(arg1
)->HasU();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10988 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10992 PyObject
* obj0
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (bool)(arg1
)->HasV();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (bool)(arg1
)->HasPOV();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)(arg1
)->HasPOV4Dir();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11072 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)(arg1
)->HasPOVCTS();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11103 wxWindow
*arg2
= (wxWindow
*) 0 ;
11104 int arg3
= (int) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 PyObject
* obj2
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 arg3
= (int)SWIG_As_int(obj2
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)(arg1
)->ReleaseCapture();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11169 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11171 return Py_BuildValue((char *)"");
11173 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11176 wxPoint
*arg2
= (wxPoint
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "m_pos", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 if (arg1
) (arg1
)->m_pos
= *arg2
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11218 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "m_zPosition", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 arg2
= (int)SWIG_As_int(obj1
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11233 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11235 Py_INCREF(Py_None
); resultobj
= Py_None
;
11242 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11246 PyObject
* obj0
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 result
= (int) ((arg1
)->m_zPosition
);
11256 resultobj
= SWIG_From_int((int)result
);
11263 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self",(char *) "m_buttonChange", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11276 arg2
= (int)SWIG_As_int(obj1
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11278 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11280 Py_INCREF(Py_None
); resultobj
= Py_None
;
11287 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 result
= (int) ((arg1
)->m_buttonChange
);
11301 resultobj
= SWIG_From_int((int)result
);
11308 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "m_buttonState", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (int)SWIG_As_int(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11323 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11325 Py_INCREF(Py_None
); resultobj
= Py_None
;
11332 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 result
= (int) ((arg1
)->m_buttonState
);
11346 resultobj
= SWIG_From_int((int)result
);
11353 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self",(char *) "m_joyStick", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11366 arg2
= (int)SWIG_As_int(obj1
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11368 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11389 result
= (int) ((arg1
)->m_joyStick
);
11391 resultobj
= SWIG_From_int((int)result
);
11398 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11401 int arg2
= (int) 0 ;
11402 int arg3
= (int) wxJOYSTICK1
;
11403 int arg4
= (int) 0 ;
11404 wxJoystickEvent
*result
;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 PyObject
* obj2
= 0 ;
11408 PyObject
* obj3
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11415 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11419 arg2
= (int)SWIG_As_int(obj1
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 arg3
= (int)SWIG_As_int(obj2
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 arg4
= (int)SWIG_As_int(obj3
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11444 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11448 PyObject
* obj0
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 wxPoint
* resultptr
;
11465 resultptr
= new wxPoint((wxPoint
&) result
);
11466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11474 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
;
11476 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_From_int((int)result
);
11500 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_int((int)result
);
11526 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_From_int((int)result
);
11552 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= SWIG_From_int((int)result
);
11578 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 char *kwnames
[] = {
11585 (char *) "self",(char *) "stick", NULL
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11591 arg2
= (int)SWIG_As_int(obj1
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->SetJoystick(arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "state", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 arg2
= (int)SWIG_As_int(obj1
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->SetButtonState(arg2
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11636 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "change", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 arg2
= (int)SWIG_As_int(obj1
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 (arg1
)->SetButtonChange(arg2
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 Py_INCREF(Py_None
); resultobj
= Py_None
;
11665 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11668 wxPoint
*arg2
= 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self",(char *) "pos", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 Py_INCREF(Py_None
); resultobj
= Py_None
;
11697 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11701 PyObject
* obj0
= 0 ;
11702 PyObject
* obj1
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self",(char *) "zPos", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11710 arg2
= (int)SWIG_As_int(obj1
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 (arg1
)->SetZPosition(arg2
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 Py_INCREF(Py_None
); resultobj
= Py_None
;
11726 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11754 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11810 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11813 int arg2
= (int) wxJOY_BUTTON_ANY
;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self",(char *) "but", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 arg2
= (int)SWIG_As_int(obj1
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11844 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11847 int arg2
= (int) wxJOY_BUTTON_ANY
;
11849 PyObject
* obj0
= 0 ;
11850 PyObject
* obj1
= 0 ;
11851 char *kwnames
[] = {
11852 (char *) "self",(char *) "but", NULL
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11859 arg2
= (int)SWIG_As_int(obj1
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11878 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11881 int arg2
= (int) wxJOY_BUTTON_ANY
;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self",(char *) "but", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 arg2
= (int)SWIG_As_int(obj1
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11912 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11915 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11917 return Py_BuildValue((char *)"");
11919 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11922 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11924 bool temp1
= false ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "fileName", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11933 arg1
= wxString_in_helper(obj0
);
11934 if (arg1
== NULL
) SWIG_fail
;
11939 if (!wxPyCheckForApp()) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11961 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 PyObject
*arg1
= (PyObject
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "data", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11973 if (!wxPyCheckForApp()) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (wxSound
*)new_wxSound(arg1
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11987 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxSound
*arg1
= (wxSound
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxSound
*arg1
= (wxSound
*) 0 ;
12015 wxString
*arg2
= 0 ;
12017 bool temp2
= false ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "fileName", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12028 arg2
= wxString_in_helper(obj1
);
12029 if (arg2
== NULL
) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12056 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxSound
*arg1
= (wxSound
*) 0 ;
12059 PyObject
*arg2
= (PyObject
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "data", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12087 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxSound
*arg1
= (wxSound
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (bool)(arg1
)->IsOk();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12115 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
;
12117 wxSound
*arg1
= (wxSound
*) 0 ;
12118 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12120 PyObject
* obj0
= 0 ;
12121 PyObject
* obj1
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self",(char *) "flags", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12130 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12134 if (!wxPyCheckForApp()) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxString
*arg1
= 0 ;
12153 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12155 bool temp1
= false ;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "filename",(char *) "flags", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12164 arg1
= wxString_in_helper(obj0
);
12165 if (arg1
== NULL
) SWIG_fail
;
12169 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 if (!wxPyCheckForApp()) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12197 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 char *kwnames
[] = {
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12205 if (!wxPyCheckForApp()) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12222 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12224 return Py_BuildValue((char *)"");
12226 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxString
*arg1
= 0 ;
12229 wxString
*arg2
= 0 ;
12230 wxString
*arg3
= 0 ;
12231 wxString
*arg4
= 0 ;
12232 wxFileTypeInfo
*result
;
12233 bool temp1
= false ;
12234 bool temp2
= false ;
12235 bool temp3
= false ;
12236 bool temp4
= false ;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 PyObject
* obj2
= 0 ;
12240 PyObject
* obj3
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12247 arg1
= wxString_in_helper(obj0
);
12248 if (arg1
== NULL
) SWIG_fail
;
12252 arg2
= wxString_in_helper(obj1
);
12253 if (arg2
== NULL
) SWIG_fail
;
12257 arg3
= wxString_in_helper(obj2
);
12258 if (arg3
== NULL
) SWIG_fail
;
12262 arg4
= wxString_in_helper(obj3
);
12263 if (arg4
== NULL
) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12312 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxArrayString
*arg1
= 0 ;
12315 wxFileTypeInfo
*result
;
12316 bool temp1
= false ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "sArray", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12324 if (! PySequence_Check(obj0
)) {
12325 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12328 arg1
= new wxArrayString
;
12330 int i
, len
=PySequence_Length(obj0
);
12331 for (i
=0; i
<len
; i
++) {
12332 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12334 PyObject
* str
= PyObject_Unicode(item
);
12336 PyObject
* str
= PyObject_Str(item
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12339 arg1
->Add(Py2wxString(str
));
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12353 if (temp1
) delete arg1
;
12358 if (temp1
) delete arg1
;
12364 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxFileTypeInfo
*result
;
12367 char *kwnames
[] = {
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12386 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12414 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12417 wxString
*arg2
= 0 ;
12418 int arg3
= (int) 0 ;
12419 bool temp2
= false ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 PyObject
* obj2
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 arg2
= wxString_in_helper(obj1
);
12432 if (arg2
== NULL
) SWIG_fail
;
12436 arg3
= (int)SWIG_As_int(obj2
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12464 wxString
*arg2
= 0 ;
12465 bool temp2
= false ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "shortDesc", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 arg2
= wxString_in_helper(obj1
);
12477 if (arg2
== NULL
) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12502 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12518 result
= (wxString
*) &_result_ref
;
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12528 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12537 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12553 result
= (wxString
*) &_result_ref
;
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12563 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12572 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12588 result
= (wxString
*) &_result_ref
;
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12598 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12607 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12623 result
= (wxString
*) &_result_ref
;
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12642 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12658 result
= (wxString
*) &_result_ref
;
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12668 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12677 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12680 wxArrayString
*result
;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12693 result
= (wxArrayString
*) &_result_ref
;
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= wxArrayString2PyList_helper(*result
);
12708 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_From_int((int)result
);
12734 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12750 result
= (wxString
*) &_result_ref
;
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12769 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_From_int((int)result
);
12795 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12798 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12800 return Py_BuildValue((char *)"");
12802 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxFileTypeInfo
*arg1
= 0 ;
12805 wxFileType
*result
;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "ftInfo", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12815 if (arg1
== NULL
) {
12816 PyErr_SetString(PyExc_TypeError
,"null reference");
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12833 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxFileType
*arg1
= (wxFileType
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 Py_INCREF(Py_None
); resultobj
= Py_None
;
12858 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxFileType
*arg1
= (wxFileType
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= result
;
12884 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxFileType
*arg1
= (wxFileType
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= result
;
12910 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxFileType
*arg1
= (wxFileType
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= result
;
12936 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxFileType
*arg1
= (wxFileType
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12962 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxFileType
*arg1
= (wxFileType
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= result
;
12988 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxFileType
*arg1
= (wxFileType
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= result
;
13014 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxFileType
*arg1
= (wxFileType
*) 0 ;
13017 wxString
*arg2
= 0 ;
13018 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13021 bool temp2
= false ;
13022 bool temp3
= false ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13034 arg2
= wxString_in_helper(obj1
);
13035 if (arg2
== NULL
) SWIG_fail
;
13040 arg3
= wxString_in_helper(obj2
);
13041 if (arg3
== NULL
) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
;
13075 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxFileType
*arg1
= (wxFileType
*) 0 ;
13078 wxString
*arg2
= 0 ;
13079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13082 bool temp2
= false ;
13083 bool temp3
= false ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 PyObject
* obj2
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 arg2
= wxString_in_helper(obj1
);
13096 if (arg2
== NULL
) SWIG_fail
;
13101 arg3
= wxString_in_helper(obj2
);
13102 if (arg3
== NULL
) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= result
;
13136 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxFileType
*arg1
= (wxFileType
*) 0 ;
13139 wxString
*arg2
= 0 ;
13140 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13141 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13143 bool temp2
= false ;
13144 bool temp3
= false ;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 PyObject
* obj2
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 arg2
= wxString_in_helper(obj1
);
13157 if (arg2
== NULL
) SWIG_fail
;
13162 arg3
= wxString_in_helper(obj2
);
13163 if (arg3
== NULL
) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= result
;
13197 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxFileType
*arg1
= (wxFileType
*) 0 ;
13200 wxString
*arg2
= 0 ;
13201 wxString
*arg3
= 0 ;
13202 bool arg4
= (bool) true ;
13204 bool temp2
= false ;
13205 bool temp3
= false ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 PyObject
* obj2
= 0 ;
13209 PyObject
* obj3
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13218 arg2
= wxString_in_helper(obj1
);
13219 if (arg2
== NULL
) SWIG_fail
;
13223 arg3
= wxString_in_helper(obj2
);
13224 if (arg3
== NULL
) SWIG_fail
;
13228 arg4
= (bool)SWIG_As_bool(obj3
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13263 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxFileType
*arg1
= (wxFileType
*) 0 ;
13266 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13267 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13268 int arg3
= (int) 0 ;
13270 bool temp2
= false ;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 PyObject
* obj2
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "cmd",(char *) "index", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= wxString_in_helper(obj1
);
13284 if (arg2
== NULL
) SWIG_fail
;
13289 arg3
= (int)SWIG_As_int(obj2
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13316 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxFileType
*arg1
= (wxFileType
*) 0 ;
13320 PyObject
* obj0
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (bool)(arg1
)->Unassociate();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13344 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxString
*arg1
= 0 ;
13347 wxString
*arg2
= 0 ;
13348 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13349 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13351 bool temp1
= false ;
13352 bool temp2
= false ;
13353 bool temp3
= false ;
13354 PyObject
* obj0
= 0 ;
13355 PyObject
* obj1
= 0 ;
13356 PyObject
* obj2
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13363 arg1
= wxString_in_helper(obj0
);
13364 if (arg1
== NULL
) SWIG_fail
;
13368 arg2
= wxString_in_helper(obj1
);
13369 if (arg2
== NULL
) SWIG_fail
;
13374 arg3
= wxString_in_helper(obj2
);
13375 if (arg3
== NULL
) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13423 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13426 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13428 return Py_BuildValue((char *)"");
13430 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13431 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13436 static PyObject
*_wrap_TheMimeTypesManager_get() {
13439 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13444 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxString
*arg1
= 0 ;
13447 wxString
*arg2
= 0 ;
13449 bool temp1
= false ;
13450 bool temp2
= false ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "mimeType",(char *) "wildcard", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) 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
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13500 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxMimeTypesManager
*result
;
13503 char *kwnames
[] = {
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13522 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13525 int arg2
= (int) wxMAILCAP_ALL
;
13526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13528 bool temp3
= false ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj2
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 arg2
= (int)SWIG_As_int(obj1
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13545 arg3
= wxString_in_helper(obj2
);
13546 if (arg3
== NULL
) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 Py_INCREF(Py_None
); resultobj
= Py_None
;
13572 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 (arg1
)->ClearData();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 Py_INCREF(Py_None
); resultobj
= Py_None
;
13597 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13600 wxString
*arg2
= 0 ;
13601 wxFileType
*result
;
13602 bool temp2
= false ;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self",(char *) "ext", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13613 arg2
= wxString_in_helper(obj1
);
13614 if (arg2
== NULL
) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13639 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13642 wxString
*arg2
= 0 ;
13643 wxFileType
*result
;
13644 bool temp2
= false ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "mimeType", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 arg2
= wxString_in_helper(obj1
);
13656 if (arg2
== NULL
) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13681 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13684 wxString
*arg2
= 0 ;
13685 bool arg3
= (bool) false ;
13687 bool temp2
= false ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 PyObject
* obj2
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 arg2
= wxString_in_helper(obj1
);
13700 if (arg2
== NULL
) SWIG_fail
;
13704 arg3
= (bool)SWIG_As_bool(obj2
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13731 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13734 wxString
*arg2
= 0 ;
13736 bool temp2
= false ;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj1
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self",(char *) "filename", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 arg2
= wxString_in_helper(obj1
);
13748 if (arg2
== NULL
) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
;
13801 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13804 wxFileTypeInfo
*arg2
= 0 ;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self",(char *) "ft", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13817 if (arg2
== NULL
) {
13818 PyErr_SetString(PyExc_TypeError
,"null reference");
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 Py_INCREF(Py_None
); resultobj
= Py_None
;
13835 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13838 wxFileTypeInfo
*arg2
= 0 ;
13839 wxFileType
*result
;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self",(char *) "ftInfo", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13852 if (arg2
== NULL
) {
13853 PyErr_SetString(PyExc_TypeError
,"null reference");
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13870 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13873 wxFileType
*arg2
= (wxFileType
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self",(char *) "ft", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (bool)(arg1
)->Unassociate(arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13902 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 Py_INCREF(Py_None
); resultobj
= Py_None
;
13927 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13930 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13932 return Py_BuildValue((char *)"");
13934 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13935 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13940 static PyObject
*_wrap_ART_TOOLBAR_get() {
13945 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13947 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13954 static int _wrap_ART_MENU_set(PyObject
*) {
13955 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13960 static PyObject
*_wrap_ART_MENU_get() {
13965 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13967 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13974 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13975 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13980 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13985 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13987 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13994 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13995 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14000 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14005 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14007 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14014 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14015 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14020 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14025 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14027 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14034 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14035 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14040 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14045 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14047 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14054 static int _wrap_ART_BUTTON_set(PyObject
*) {
14055 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14060 static PyObject
*_wrap_ART_BUTTON_get() {
14065 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14067 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14074 static int _wrap_ART_OTHER_set(PyObject
*) {
14075 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14080 static PyObject
*_wrap_ART_OTHER_get() {
14085 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14087 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14094 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14095 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14100 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14105 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14107 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14114 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14115 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14120 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14125 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14127 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14134 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14135 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14140 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14145 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14147 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14154 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14155 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14160 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14165 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14167 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14174 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14175 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14180 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14185 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14187 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14194 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14195 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14200 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14205 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14207 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14214 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14215 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14220 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14225 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14227 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14234 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14235 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14240 static PyObject
*_wrap_ART_GO_BACK_get() {
14245 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14247 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14254 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14255 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14260 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14265 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14267 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14274 static int _wrap_ART_GO_UP_set(PyObject
*) {
14275 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14280 static PyObject
*_wrap_ART_GO_UP_get() {
14285 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14287 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14294 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14295 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14300 static PyObject
*_wrap_ART_GO_DOWN_get() {
14305 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14307 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14314 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14315 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14320 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14325 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14327 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14334 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14335 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14340 static PyObject
*_wrap_ART_GO_HOME_get() {
14345 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14347 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14354 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14355 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14360 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14365 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14367 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14374 static int _wrap_ART_PRINT_set(PyObject
*) {
14375 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14380 static PyObject
*_wrap_ART_PRINT_get() {
14385 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14387 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14394 static int _wrap_ART_HELP_set(PyObject
*) {
14395 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14400 static PyObject
*_wrap_ART_HELP_get() {
14405 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14407 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14414 static int _wrap_ART_TIP_set(PyObject
*) {
14415 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14420 static PyObject
*_wrap_ART_TIP_get() {
14425 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14427 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14434 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14435 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14440 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14445 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14447 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14454 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14455 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14460 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14465 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14467 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14474 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14475 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14480 static PyObject
*_wrap_ART_NEW_DIR_get() {
14485 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14487 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14494 static int _wrap_ART_FOLDER_set(PyObject
*) {
14495 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14500 static PyObject
*_wrap_ART_FOLDER_get() {
14505 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14507 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14514 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14515 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14520 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14525 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14527 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14534 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14535 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14540 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14545 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14547 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14554 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14555 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14560 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14565 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14567 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14574 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14575 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14580 static PyObject
*_wrap_ART_TICK_MARK_get() {
14585 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14587 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14594 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14595 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14600 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14605 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14607 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14614 static int _wrap_ART_ERROR_set(PyObject
*) {
14615 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14620 static PyObject
*_wrap_ART_ERROR_get() {
14625 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14627 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14634 static int _wrap_ART_QUESTION_set(PyObject
*) {
14635 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14640 static PyObject
*_wrap_ART_QUESTION_get() {
14645 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14647 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14654 static int _wrap_ART_WARNING_set(PyObject
*) {
14655 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14660 static PyObject
*_wrap_ART_WARNING_get() {
14665 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14667 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14674 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14675 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14680 static PyObject
*_wrap_ART_INFORMATION_get() {
14685 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14687 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14694 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14695 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14700 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14705 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14707 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14714 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxPyArtProvider
*result
;
14717 char *kwnames
[] = {
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14723 if (!wxPyCheckForApp()) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14737 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14740 PyObject
*arg2
= (PyObject
*) 0 ;
14741 PyObject
*arg3
= (PyObject
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "self",(char *) "_class", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "provider", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 wxPyArtProvider::PushProvider(arg1
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 Py_INCREF(Py_None
); resultobj
= Py_None
;
14793 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14796 char *kwnames
[] = {
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (bool)wxPyArtProvider::PopProvider();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14817 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "provider", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14845 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxString
*arg1
= 0 ;
14848 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14849 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14850 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14851 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14853 bool temp1
= false ;
14854 bool temp2
= false ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "id",(char *) "client",(char *) "size", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14865 arg1
= wxString_in_helper(obj0
);
14866 if (arg1
== NULL
) SWIG_fail
;
14871 arg2
= wxString_in_helper(obj1
);
14872 if (arg2
== NULL
) SWIG_fail
;
14879 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14883 if (!wxPyCheckForApp()) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 wxBitmap
* resultptr
;
14892 resultptr
= new wxBitmap((wxBitmap
&) result
);
14893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14917 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxString
*arg1
= 0 ;
14920 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14921 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14922 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14923 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14925 bool temp1
= false ;
14926 bool temp2
= false ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 PyObject
* obj2
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "id",(char *) "client",(char *) "size", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14937 arg1
= wxString_in_helper(obj0
);
14938 if (arg1
== NULL
) SWIG_fail
;
14943 arg2
= wxString_in_helper(obj1
);
14944 if (arg2
== NULL
) SWIG_fail
;
14951 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14955 if (!wxPyCheckForApp()) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 wxIcon
* resultptr
;
14964 resultptr
= new wxIcon((wxIcon
&) result
);
14965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14989 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 wxPyArtProvider_Destroy(arg1
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 Py_INCREF(Py_None
); resultobj
= Py_None
;
15014 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15017 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15019 return Py_BuildValue((char *)"");
15021 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 Py_INCREF(Py_None
); resultobj
= Py_None
;
15046 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15049 wxConfigBase
*result
;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "config", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15072 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 bool arg1
= (bool) true ;
15075 wxConfigBase
*result
;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "createOnDemand", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15083 arg1
= (bool)SWIG_As_bool(obj0
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15100 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxConfigBase
*result
;
15103 char *kwnames
[] = {
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (wxConfigBase
*)wxConfigBase::Create();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15122 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 char *kwnames
[] = {
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 wxConfigBase::DontCreateOnDemand();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15146 wxString
*arg2
= 0 ;
15147 bool temp2
= false ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "path", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 arg2
= wxString_in_helper(obj1
);
15159 if (arg2
== NULL
) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 (arg1
)->SetPath((wxString
const &)*arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 Py_INCREF(Py_None
); resultobj
= Py_None
;
15184 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15200 result
= (wxString
*) &_result_ref
;
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15219 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= result
;
15245 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "index", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15259 arg2
= (long)SWIG_As_long(obj1
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
;
15275 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
;
15301 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "index", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 arg2
= (long)SWIG_As_long(obj1
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
;
15331 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15334 bool arg2
= (bool) false ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "recursive", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 arg2
= (bool)SWIG_As_bool(obj1
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15363 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15366 bool arg2
= (bool) false ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "recursive", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 arg2
= (bool)SWIG_As_bool(obj1
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15395 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15398 wxString
*arg2
= 0 ;
15400 bool temp2
= false ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "name", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 arg2
= wxString_in_helper(obj1
);
15412 if (arg2
== NULL
) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15442 wxString
*arg2
= 0 ;
15444 bool temp2
= false ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self",(char *) "name", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 arg2
= wxString_in_helper(obj1
);
15456 if (arg2
== NULL
) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15483 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15486 wxString
*arg2
= 0 ;
15488 bool temp2
= false ;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self",(char *) "name", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 arg2
= wxString_in_helper(obj1
);
15500 if (arg2
== NULL
) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15527 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15530 wxString
*arg2
= 0 ;
15532 bool temp2
= false ;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self",(char *) "name", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15543 arg2
= wxString_in_helper(obj1
);
15544 if (arg2
== NULL
) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_From_int((int)result
);
15569 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15572 wxString
*arg2
= 0 ;
15573 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15574 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15576 bool temp2
= false ;
15577 bool temp3
= false ;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 PyObject
* obj2
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 arg2
= wxString_in_helper(obj1
);
15590 if (arg2
== NULL
) SWIG_fail
;
15595 arg3
= wxString_in_helper(obj2
);
15596 if (arg3
== NULL
) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15636 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15639 wxString
*arg2
= 0 ;
15640 long arg3
= (long) 0 ;
15642 bool temp2
= false ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15654 arg2
= wxString_in_helper(obj1
);
15655 if (arg2
== NULL
) SWIG_fail
;
15659 arg3
= (long)SWIG_As_long(obj2
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_From_long((long)result
);
15684 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15687 wxString
*arg2
= 0 ;
15688 double arg3
= (double) 0.0 ;
15690 bool temp2
= false ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 PyObject
* obj2
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15702 arg2
= wxString_in_helper(obj1
);
15703 if (arg2
== NULL
) SWIG_fail
;
15707 arg3
= (double)SWIG_As_double(obj2
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_From_double((double)result
);
15732 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15735 wxString
*arg2
= 0 ;
15736 bool arg3
= (bool) false ;
15738 bool temp2
= false ;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= wxString_in_helper(obj1
);
15751 if (arg2
== NULL
) SWIG_fail
;
15755 arg3
= (bool)SWIG_As_bool(obj2
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15782 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15785 wxString
*arg2
= 0 ;
15786 wxString
*arg3
= 0 ;
15788 bool temp2
= false ;
15789 bool temp3
= false ;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 PyObject
* obj2
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self",(char *) "key",(char *) "value", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 arg2
= wxString_in_helper(obj1
);
15802 if (arg2
== NULL
) SWIG_fail
;
15806 arg3
= wxString_in_helper(obj2
);
15807 if (arg3
== NULL
) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15845 wxString
*arg2
= 0 ;
15848 bool temp2
= false ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 PyObject
* obj2
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "key",(char *) "value", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 arg2
= wxString_in_helper(obj1
);
15861 if (arg2
== NULL
) SWIG_fail
;
15864 arg3
= (long)SWIG_As_long(obj2
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15890 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15893 wxString
*arg2
= 0 ;
15896 bool temp2
= false ;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 PyObject
* obj2
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "key",(char *) "value", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 arg2
= wxString_in_helper(obj1
);
15909 if (arg2
== NULL
) SWIG_fail
;
15912 arg3
= (double)SWIG_As_double(obj2
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15941 wxString
*arg2
= 0 ;
15944 bool temp2
= false ;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 PyObject
* obj2
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "key",(char *) "value", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 arg2
= wxString_in_helper(obj1
);
15957 if (arg2
== NULL
) SWIG_fail
;
15960 arg3
= (bool)SWIG_As_bool(obj2
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15986 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15989 bool arg2
= (bool) false ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "currentOnly", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 arg2
= (bool)SWIG_As_bool(obj1
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (bool)(arg1
)->Flush(arg2
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16020 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16023 wxString
*arg2
= 0 ;
16024 wxString
*arg3
= 0 ;
16026 bool temp2
= false ;
16027 bool temp3
= false ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 PyObject
* obj2
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 arg2
= wxString_in_helper(obj1
);
16040 if (arg2
== NULL
) SWIG_fail
;
16044 arg3
= wxString_in_helper(obj2
);
16045 if (arg3
== NULL
) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16083 wxString
*arg2
= 0 ;
16084 wxString
*arg3
= 0 ;
16086 bool temp2
= false ;
16087 bool temp3
= false ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 PyObject
* obj2
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 arg2
= wxString_in_helper(obj1
);
16100 if (arg2
== NULL
) SWIG_fail
;
16104 arg3
= wxString_in_helper(obj2
);
16105 if (arg3
== NULL
) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16140 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16143 wxString
*arg2
= 0 ;
16144 bool arg3
= (bool) true ;
16146 bool temp2
= false ;
16147 PyObject
* obj0
= 0 ;
16148 PyObject
* obj1
= 0 ;
16149 PyObject
* obj2
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 arg2
= wxString_in_helper(obj1
);
16159 if (arg2
== NULL
) SWIG_fail
;
16163 arg3
= (bool)SWIG_As_bool(obj2
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16190 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16193 wxString
*arg2
= 0 ;
16195 bool temp2
= false ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "key", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 arg2
= wxString_in_helper(obj1
);
16207 if (arg2
== NULL
) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16234 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)(arg1
)->DeleteAll();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16262 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16265 bool arg2
= (bool) true ;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self",(char *) "doIt", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 arg2
= (bool)SWIG_As_bool(obj1
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->SetExpandEnvVars(arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16321 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16324 bool arg2
= (bool) true ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "doIt", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16335 arg2
= (bool)SWIG_As_bool(obj1
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->SetRecordDefaults(arg2
);
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 Py_INCREF(Py_None
); resultobj
= Py_None
;
16352 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16383 wxString
*arg2
= 0 ;
16385 bool temp2
= false ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "str", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 arg2
= wxString_in_helper(obj1
);
16397 if (arg2
== NULL
) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16428 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16460 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16492 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16495 wxString
*arg2
= 0 ;
16496 bool temp2
= false ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "appName", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 arg2
= wxString_in_helper(obj1
);
16508 if (arg2
== NULL
) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->SetAppName((wxString
const &)*arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16533 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16536 wxString
*arg2
= 0 ;
16537 bool temp2
= false ;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self",(char *) "vendorName", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16548 arg2
= wxString_in_helper(obj1
);
16549 if (arg2
== NULL
) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "style", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 arg2
= (long)SWIG_As_long(obj1
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->SetStyle(arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_From_long((long)result
);
16629 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16632 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16634 return Py_BuildValue((char *)"");
16636 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16639 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16640 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16641 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16642 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16643 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16646 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16648 bool temp1
= false ;
16649 bool temp2
= false ;
16650 bool temp3
= false ;
16651 bool temp4
= false ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 PyObject
* obj2
= 0 ;
16655 PyObject
* obj3
= 0 ;
16656 PyObject
* obj4
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16664 arg1
= wxString_in_helper(obj0
);
16665 if (arg1
== NULL
) SWIG_fail
;
16671 arg2
= wxString_in_helper(obj1
);
16672 if (arg2
== NULL
) SWIG_fail
;
16678 arg3
= wxString_in_helper(obj2
);
16679 if (arg3
== NULL
) SWIG_fail
;
16685 arg4
= wxString_in_helper(obj3
);
16686 if (arg4
== NULL
) SWIG_fail
;
16691 arg5
= (long)SWIG_As_long(obj4
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16740 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxConfig
*arg1
= (wxConfig
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16765 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16768 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16770 return Py_BuildValue((char *)"");
16772 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16775 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16776 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16777 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16780 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16781 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16782 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16783 wxFileConfig
*result
;
16784 bool temp1
= false ;
16785 bool temp2
= false ;
16786 bool temp3
= false ;
16787 bool temp4
= false ;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 PyObject
* obj2
= 0 ;
16791 PyObject
* obj3
= 0 ;
16792 PyObject
* obj4
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16800 arg1
= wxString_in_helper(obj0
);
16801 if (arg1
== NULL
) SWIG_fail
;
16807 arg2
= wxString_in_helper(obj1
);
16808 if (arg2
== NULL
) SWIG_fail
;
16814 arg3
= wxString_in_helper(obj2
);
16815 if (arg3
== NULL
) SWIG_fail
;
16821 arg4
= wxString_in_helper(obj3
);
16822 if (arg4
== NULL
) SWIG_fail
;
16827 arg5
= (long)SWIG_As_long(obj4
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16876 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 Py_INCREF(Py_None
); resultobj
= Py_None
;
16901 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16904 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16906 return Py_BuildValue((char *)"");
16908 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16911 wxString
*arg2
= 0 ;
16912 wxConfigPathChanger
*result
;
16913 bool temp2
= false ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "config",(char *) "entry", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 arg2
= wxString_in_helper(obj1
);
16925 if (arg2
== NULL
) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16950 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 Py_INCREF(Py_None
); resultobj
= Py_None
;
16975 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16991 result
= (wxString
*) &_result_ref
;
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17001 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17010 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17013 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17015 return Py_BuildValue((char *)"");
17017 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxString
*arg1
= 0 ;
17021 bool temp1
= false ;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "sz", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17029 arg1
= wxString_in_helper(obj0
);
17030 if (arg1
== NULL
) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17061 static int _wrap_DateFormatStr_set(PyObject
*) {
17062 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17067 static PyObject
*_wrap_DateFormatStr_get() {
17072 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17074 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17081 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17082 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17087 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17092 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17094 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17101 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "country", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17110 arg1
= (int)SWIG_As_int(obj0
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 Py_INCREF(Py_None
); resultobj
= Py_None
;
17126 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17129 char *kwnames
[] = {
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (int)wxDateTime::GetCountry();
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= SWIG_From_int((int)result
);
17148 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 int arg1
= (int) wxDateTime::Country_Default
;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "country", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17159 arg1
= (int)SWIG_As_int(obj0
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17178 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 int arg1
= (int) wxDateTime::Gregorian
;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "cal", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17189 arg1
= (int)SWIG_As_int(obj0
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_From_int((int)result
);
17206 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "year", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17216 arg1
= (int)SWIG_As_int(obj0
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_From_int((int)result
);
17232 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 int arg1
= (int) wxDateTime::Gregorian
;
17236 PyObject
* obj0
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "cal", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17243 arg1
= (int)SWIG_As_int(obj0
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_From_int((int)result
);
17260 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 int arg1
= (int) wxDateTime::Inv_Year
;
17263 int arg2
= (int) wxDateTime::Gregorian
;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "year",(char *) "cal", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17273 arg1
= (int)SWIG_As_int(obj0
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 arg2
= (int)SWIG_As_int(obj1
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17296 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 int arg1
= (int) wxDateTime::Inv_Year
;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "year", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17307 arg1
= (int)SWIG_As_int(obj0
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (int)wxDateTime::GetCentury(arg1
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= SWIG_From_int((int)result
);
17324 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17327 int arg2
= (int) wxDateTime::Gregorian
;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "year",(char *) "cal", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17336 arg1
= (int)SWIG_As_int(obj0
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 arg2
= (int)SWIG_As_int(obj1
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= SWIG_From_int((int)result
);
17356 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17359 int arg2
= (int) wxDateTime::Inv_Year
;
17360 int arg3
= (int) wxDateTime::Gregorian
;
17362 PyObject
* obj0
= 0 ;
17363 PyObject
* obj1
= 0 ;
17364 PyObject
* obj2
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "month",(char *) "year",(char *) "cal", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17370 arg1
= (int)SWIG_As_int(obj0
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 arg2
= (int)SWIG_As_int(obj1
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17377 arg3
= (int)SWIG_As_int(obj2
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= SWIG_From_int((int)result
);
17394 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17397 int arg2
= (int) wxDateTime::Name_Full
;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "month",(char *) "flags", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 arg1
= (int)SWIG_As_int(obj0
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 arg2
= (int)SWIG_As_int(obj1
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17432 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17435 int arg2
= (int) wxDateTime::Name_Full
;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "weekday",(char *) "flags", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17444 arg1
= (int)SWIG_As_int(obj0
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 arg2
= (int)SWIG_As_int(obj1
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17470 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxString
*arg1
= (wxString
*) 0 ;
17473 wxString
*arg2
= (wxString
*) 0 ;
17474 bool temp1
= false ;
17475 bool temp2
= false ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17484 arg1
= wxString_in_helper(obj0
);
17485 if (arg1
== NULL
) SWIG_fail
;
17489 arg2
= wxString_in_helper(obj1
);
17490 if (arg2
== NULL
) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17523 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 int arg1
= (int) wxDateTime::Inv_Year
;
17526 int arg2
= (int) wxDateTime::Country_Default
;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "year",(char *) "country", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17536 arg1
= (int)SWIG_As_int(obj0
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17540 arg2
= (int)SWIG_As_int(obj1
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 int arg1
= (int) wxDateTime::Inv_Year
;
17562 int arg2
= (int) wxDateTime::Country_Default
;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "year",(char *) "country", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 arg1
= (int)SWIG_As_int(obj0
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 arg2
= (int)SWIG_As_int(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 wxDateTime
* resultptr
;
17588 resultptr
= new wxDateTime((wxDateTime
&) result
);
17589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17597 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 int arg1
= (int) wxDateTime::Inv_Year
;
17600 int arg2
= (int) wxDateTime::Country_Default
;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "year",(char *) "country", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17610 arg1
= (int)SWIG_As_int(obj0
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 arg2
= (int)SWIG_As_int(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 wxDateTime
* resultptr
;
17626 resultptr
= new wxDateTime((wxDateTime
&) result
);
17627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17635 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17638 char *kwnames
[] = {
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= wxDateTime::Now();
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 wxDateTime
* resultptr
;
17652 resultptr
= new wxDateTime((wxDateTime
&) result
);
17653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17661 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17664 char *kwnames
[] = {
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= wxDateTime::UNow();
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 wxDateTime
* resultptr
;
17678 resultptr
= new wxDateTime((wxDateTime
&) result
);
17679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17687 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17690 char *kwnames
[] = {
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= wxDateTime::Today();
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 wxDateTime
* resultptr
;
17704 resultptr
= new wxDateTime((wxDateTime
&) result
);
17705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17713 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxDateTime
*result
;
17716 char *kwnames
[] = {
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (wxDateTime
*)new wxDateTime();
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17735 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17738 wxDateTime
*result
;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "timet", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17745 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (wxDateTime
*)new wxDateTime(arg1
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17761 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17764 wxDateTime
*result
;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "jdn", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17771 arg1
= (double)SWIG_As_double(obj0
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (wxDateTime
*)new wxDateTime(arg1
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17787 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17790 int arg2
= (int) 0 ;
17791 int arg3
= (int) 0 ;
17792 int arg4
= (int) 0 ;
17793 wxDateTime
*result
;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 PyObject
* obj3
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17803 arg1
= (int)SWIG_As_int(obj0
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 arg2
= (int)SWIG_As_int(obj1
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 arg3
= (int)SWIG_As_int(obj2
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 arg4
= (int)SWIG_As_int(obj3
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17831 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17834 int arg2
= (int) wxDateTime::Inv_Month
;
17835 int arg3
= (int) wxDateTime::Inv_Year
;
17836 int arg4
= (int) 0 ;
17837 int arg5
= (int) 0 ;
17838 int arg6
= (int) 0 ;
17839 int arg7
= (int) 0 ;
17840 wxDateTime
*result
;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 PyObject
* obj3
= 0 ;
17845 PyObject
* obj4
= 0 ;
17846 PyObject
* obj5
= 0 ;
17847 PyObject
* obj6
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17853 arg1
= (int)SWIG_As_int(obj0
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 arg2
= (int)SWIG_As_int(obj1
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 arg3
= (int)SWIG_As_int(obj2
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 arg4
= (int)SWIG_As_int(obj3
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 arg5
= (int)SWIG_As_int(obj4
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 arg6
= (int)SWIG_As_int(obj5
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17876 arg7
= (int)SWIG_As_int(obj6
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17893 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 Py_INCREF(Py_None
); resultobj
= Py_None
;
17918 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17921 wxDateTime
*result
;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17934 result
= (wxDateTime
*) &_result_ref
;
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17947 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17951 wxDateTime
*result
;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "timet", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17967 result
= (wxDateTime
*) &_result_ref
;
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17980 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17984 wxDateTime
*result
;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "jdn", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 arg2
= (double)SWIG_As_double(obj1
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18000 result
= (wxDateTime
*) &_result_ref
;
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18013 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18017 int arg3
= (int) 0 ;
18018 int arg4
= (int) 0 ;
18019 int arg5
= (int) 0 ;
18020 wxDateTime
*result
;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 PyObject
* obj3
= 0 ;
18025 PyObject
* obj4
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 arg2
= (int)SWIG_As_int(obj1
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 arg3
= (int)SWIG_As_int(obj2
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 arg4
= (int)SWIG_As_int(obj3
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 arg5
= (int)SWIG_As_int(obj4
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18051 result
= (wxDateTime
*) &_result_ref
;
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18064 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18068 int arg3
= (int) wxDateTime::Inv_Month
;
18069 int arg4
= (int) wxDateTime::Inv_Year
;
18070 int arg5
= (int) 0 ;
18071 int arg6
= (int) 0 ;
18072 int arg7
= (int) 0 ;
18073 int arg8
= (int) 0 ;
18074 wxDateTime
*result
;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 PyObject
* obj2
= 0 ;
18078 PyObject
* obj3
= 0 ;
18079 PyObject
* obj4
= 0 ;
18080 PyObject
* obj5
= 0 ;
18081 PyObject
* obj6
= 0 ;
18082 PyObject
* obj7
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18090 arg2
= (int)SWIG_As_int(obj1
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 arg3
= (int)SWIG_As_int(obj2
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 arg4
= (int)SWIG_As_int(obj3
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 arg5
= (int)SWIG_As_int(obj4
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18105 arg6
= (int)SWIG_As_int(obj5
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 arg7
= (int)SWIG_As_int(obj6
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 arg8
= (int)SWIG_As_int(obj7
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18120 result
= (wxDateTime
*) &_result_ref
;
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18133 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18136 wxDateTime
*result
;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18149 result
= (wxDateTime
*) &_result_ref
;
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18162 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18166 wxDateTime
*result
;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "year", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 arg2
= (int)SWIG_As_int(obj1
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18182 result
= (wxDateTime
*) &_result_ref
;
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18195 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18199 wxDateTime
*result
;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "month", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 arg2
= (int)SWIG_As_int(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18215 result
= (wxDateTime
*) &_result_ref
;
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18228 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18232 wxDateTime
*result
;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "day", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 arg2
= (int)SWIG_As_int(obj1
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18248 result
= (wxDateTime
*) &_result_ref
;
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18261 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18265 wxDateTime
*result
;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self",(char *) "hour", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 arg2
= (int)SWIG_As_int(obj1
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18281 result
= (wxDateTime
*) &_result_ref
;
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18294 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18298 wxDateTime
*result
;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "minute", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18308 arg2
= (int)SWIG_As_int(obj1
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18314 result
= (wxDateTime
*) &_result_ref
;
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18327 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18331 wxDateTime
*result
;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "second", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 arg2
= (int)SWIG_As_int(obj1
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18347 result
= (wxDateTime
*) &_result_ref
;
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18360 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18364 wxDateTime
*result
;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "millisecond", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 arg2
= (int)SWIG_As_int(obj1
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18380 result
= (wxDateTime
*) &_result_ref
;
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18393 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18397 int arg3
= (int) wxDateTime::Monday_First
;
18398 wxDateTime
*result
;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 PyObject
* obj2
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 arg2
= (int)SWIG_As_int(obj1
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 arg3
= (int)SWIG_As_int(obj2
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18419 result
= (wxDateTime
*) &_result_ref
;
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18432 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18436 int arg3
= (int) wxDateTime::Monday_First
;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 PyObject
* obj2
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18448 arg2
= (int)SWIG_As_int(obj1
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 arg3
= (int)SWIG_As_int(obj2
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18462 wxDateTime
* resultptr
;
18463 resultptr
= new wxDateTime((wxDateTime
&) result
);
18464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18472 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18476 wxDateTime
*result
;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self",(char *) "weekday", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 arg2
= (int)SWIG_As_int(obj1
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18492 result
= (wxDateTime
*) &_result_ref
;
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18505 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self",(char *) "weekday", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18519 arg2
= (int)SWIG_As_int(obj1
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18529 wxDateTime
* resultptr
;
18530 resultptr
= new wxDateTime((wxDateTime
&) result
);
18531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18539 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18543 wxDateTime
*result
;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self",(char *) "weekday", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 arg2
= (int)SWIG_As_int(obj1
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18559 result
= (wxDateTime
*) &_result_ref
;
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18572 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self",(char *) "weekday", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 arg2
= (int)SWIG_As_int(obj1
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 wxDateTime
* resultptr
;
18597 resultptr
= new wxDateTime((wxDateTime
&) result
);
18598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18606 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18610 int arg3
= (int) 1 ;
18611 int arg4
= (int) wxDateTime::Inv_Month
;
18612 int arg5
= (int) wxDateTime::Inv_Year
;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 PyObject
* obj2
= 0 ;
18617 PyObject
* obj3
= 0 ;
18618 PyObject
* obj4
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 arg2
= (int)SWIG_As_int(obj1
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 arg3
= (int)SWIG_As_int(obj2
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 arg4
= (int)SWIG_As_int(obj3
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18637 arg5
= (int)SWIG_As_int(obj4
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18656 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18660 int arg3
= (int) wxDateTime::Inv_Month
;
18661 int arg4
= (int) wxDateTime::Inv_Year
;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 PyObject
* obj2
= 0 ;
18666 PyObject
* obj3
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 arg2
= (int)SWIG_As_int(obj1
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 arg3
= (int)SWIG_As_int(obj2
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18681 arg4
= (int)SWIG_As_int(obj3
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18700 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18704 int arg3
= (int) wxDateTime::Inv_Month
;
18705 int arg4
= (int) wxDateTime::Inv_Year
;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18709 PyObject
* obj2
= 0 ;
18710 PyObject
* obj3
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 arg2
= (int)SWIG_As_int(obj1
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 arg3
= (int)SWIG_As_int(obj2
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 arg4
= (int)SWIG_As_int(obj3
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 wxDateTime
* resultptr
;
18737 resultptr
= new wxDateTime((wxDateTime
&) result
);
18738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18746 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18750 int arg3
= (int) wxDateTime::Mon
;
18751 int arg4
= (int) wxDateTime::Monday_First
;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 PyObject
* obj2
= 0 ;
18756 PyObject
* obj3
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18764 arg2
= (int)SWIG_As_int(obj1
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 arg3
= (int)SWIG_As_int(obj2
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18771 arg4
= (int)SWIG_As_int(obj3
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18790 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18794 int arg3
= (int) wxDateTime::Mon
;
18795 int arg4
= (int) wxDateTime::Monday_First
;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 PyObject
* obj3
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18808 arg2
= (int)SWIG_As_int(obj1
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 arg3
= (int)SWIG_As_int(obj2
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 arg4
= (int)SWIG_As_int(obj3
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 wxDateTime
* resultptr
;
18827 resultptr
= new wxDateTime((wxDateTime
&) result
);
18828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18836 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18840 int arg3
= (int) wxDateTime::Mon
;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 PyObject
* obj2
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18850 arg1
= (int)SWIG_As_int(obj0
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18852 arg2
= (int)SWIG_As_int(obj1
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 arg3
= (int)SWIG_As_int(obj2
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 wxDateTime
* resultptr
;
18867 resultptr
= new wxDateTime((wxDateTime
&) result
);
18868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18876 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18879 int arg2
= (int) wxDateTime::Inv_Month
;
18880 int arg3
= (int) wxDateTime::Inv_Year
;
18881 wxDateTime
*result
;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 PyObject
* obj2
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self",(char *) "month",(char *) "year", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 arg2
= (int)SWIG_As_int(obj1
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 arg3
= (int)SWIG_As_int(obj2
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18904 result
= (wxDateTime
*) &_result_ref
;
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18917 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18920 int arg2
= (int) wxDateTime::Inv_Month
;
18921 int arg3
= (int) wxDateTime::Inv_Year
;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self",(char *) "month",(char *) "year", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 arg2
= (int)SWIG_As_int(obj1
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 arg3
= (int)SWIG_As_int(obj2
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 wxDateTime
* resultptr
;
18950 resultptr
= new wxDateTime((wxDateTime
&) result
);
18951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18959 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18963 wxDateTime
*result
;
18964 PyObject
* obj0
= 0 ;
18965 PyObject
* obj1
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self",(char *) "yday", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 arg2
= (int)SWIG_As_int(obj1
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18979 result
= (wxDateTime
*) &_result_ref
;
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18992 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "yday", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 arg2
= (int)SWIG_As_int(obj1
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (arg1
)->GetYearDay(arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 wxDateTime
* resultptr
;
19017 resultptr
= new wxDateTime((wxDateTime
&) result
);
19018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19026 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (double)(arg1
)->GetJulianDayNumber();
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_From_double((double)result
);
19052 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (double)(arg1
)->GetJDN();
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_From_double((double)result
);
19078 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_From_double((double)result
);
19104 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (double)(arg1
)->GetMJD();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= SWIG_From_double((double)result
);
19130 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (double)(arg1
)->GetRataDie();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_From_double((double)result
);
19156 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19159 wxDateTime::TimeZone
*arg2
= 0 ;
19160 bool arg3
= (bool) false ;
19162 bool temp2
= false ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19174 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19178 arg3
= (bool)SWIG_As_bool(obj2
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19189 wxDateTime
* resultptr
;
19190 resultptr
= new wxDateTime((wxDateTime
&) result
);
19191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19194 if (temp2
) delete arg2
;
19199 if (temp2
) delete arg2
;
19205 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19208 wxDateTime::TimeZone
*arg2
= 0 ;
19209 bool arg3
= (bool) false ;
19210 wxDateTime
*result
;
19211 bool temp2
= false ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 PyObject
* obj2
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19227 arg3
= (bool)SWIG_As_bool(obj2
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19234 result
= (wxDateTime
*) &_result_ref
;
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19242 if (temp2
) delete arg2
;
19247 if (temp2
) delete arg2
;
19253 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19256 bool arg2
= (bool) false ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "noDST", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19268 arg2
= (bool)SWIG_As_bool(obj1
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (arg1
)->ToGMT(arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19279 wxDateTime
* resultptr
;
19280 resultptr
= new wxDateTime((wxDateTime
&) result
);
19281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19289 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19292 bool arg2
= (bool) false ;
19293 wxDateTime
*result
;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "noDST", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19304 arg2
= (bool)SWIG_As_bool(obj1
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19311 result
= (wxDateTime
*) &_result_ref
;
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19324 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19327 int arg2
= (int) wxDateTime::Country_Default
;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "country", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 arg2
= (int)SWIG_As_int(obj1
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_From_int((int)result
);
19356 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self", NULL
19365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19384 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19410 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19413 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19414 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19416 bool temp2
= false ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "tz", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= SWIG_From_int((int)result
);
19441 if (temp2
) delete arg2
;
19446 if (temp2
) delete arg2
;
19452 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19455 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19456 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19458 bool temp2
= false ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self",(char *) "tz", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_From_int((int)result
);
19483 if (temp2
) delete arg2
;
19488 if (temp2
) delete arg2
;
19494 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19497 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19498 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19500 bool temp2
= false ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "tz", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= SWIG_From_int((int)result
);
19525 if (temp2
) delete arg2
;
19530 if (temp2
) delete arg2
;
19536 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19539 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19540 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19542 bool temp2
= false ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self",(char *) "tz", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= SWIG_From_int((int)result
);
19567 if (temp2
) delete arg2
;
19572 if (temp2
) delete arg2
;
19578 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19581 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19582 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19584 bool temp2
= false ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self",(char *) "tz", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19596 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_From_int((int)result
);
19609 if (temp2
) delete arg2
;
19614 if (temp2
) delete arg2
;
19620 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19623 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19624 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19626 bool temp2
= false ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self",(char *) "tz", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_From_int((int)result
);
19651 if (temp2
) delete arg2
;
19656 if (temp2
) delete arg2
;
19662 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19665 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19666 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19668 bool temp2
= false ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "tz", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_From_int((int)result
);
19693 if (temp2
) delete arg2
;
19698 if (temp2
) delete arg2
;
19704 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19707 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19708 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19710 bool temp2
= false ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self",(char *) "tz", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= SWIG_From_int((int)result
);
19735 if (temp2
) delete arg2
;
19740 if (temp2
) delete arg2
;
19746 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19749 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19750 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19752 bool temp2
= false ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self",(char *) "tz", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_From_int((int)result
);
19777 if (temp2
) delete arg2
;
19782 if (temp2
) delete arg2
;
19788 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19791 int arg2
= (int) wxDateTime::Monday_First
;
19792 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19793 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19795 bool temp3
= false ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 PyObject
* obj2
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "flags",(char *) "tz", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 arg2
= (int)SWIG_As_int(obj1
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19812 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_From_int((int)result
);
19825 if (temp3
) delete arg3
;
19830 if (temp3
) delete arg3
;
19836 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19839 int arg2
= (int) wxDateTime::Monday_First
;
19840 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19841 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19843 bool temp3
= false ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 PyObject
* obj2
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "flags",(char *) "tz", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 arg2
= (int)SWIG_As_int(obj1
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19860 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_From_int((int)result
);
19873 if (temp3
) delete arg3
;
19878 if (temp3
) delete arg3
;
19884 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19887 int arg2
= (int) wxDateTime::Country_Default
;
19889 PyObject
* obj0
= 0 ;
19890 PyObject
* obj1
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self",(char *) "country", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 arg2
= (int)SWIG_As_int(obj1
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19918 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19921 wxDateTime
*arg2
= 0 ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self",(char *) "datetime", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19935 if (arg2
== NULL
) {
19936 PyErr_SetString(PyExc_TypeError
,"null reference");
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19955 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19958 wxDateTime
*arg2
= 0 ;
19960 PyObject
* obj0
= 0 ;
19961 PyObject
* obj1
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "datetime", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19972 if (arg2
== NULL
) {
19973 PyErr_SetString(PyExc_TypeError
,"null reference");
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19992 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19995 wxDateTime
*arg2
= 0 ;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "datetime", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20009 if (arg2
== NULL
) {
20010 PyErr_SetString(PyExc_TypeError
,"null reference");
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20029 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20032 wxDateTime
*arg2
= 0 ;
20033 wxDateTime
*arg3
= 0 ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 PyObject
* obj2
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self",(char *) "t1",(char *) "t2", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20048 if (arg2
== NULL
) {
20049 PyErr_SetString(PyExc_TypeError
,"null reference");
20052 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20055 if (arg3
== NULL
) {
20056 PyErr_SetString(PyExc_TypeError
,"null reference");
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20078 wxDateTime
*arg2
= 0 ;
20079 wxDateTime
*arg3
= 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "t1",(char *) "t2", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20094 if (arg2
== NULL
) {
20095 PyErr_SetString(PyExc_TypeError
,"null reference");
20098 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20101 if (arg3
== NULL
) {
20102 PyErr_SetString(PyExc_TypeError
,"null reference");
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20124 wxDateTime
*arg2
= 0 ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "dt", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20138 if (arg2
== NULL
) {
20139 PyErr_SetString(PyExc_TypeError
,"null reference");
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20161 wxDateTime
*arg2
= 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "dt", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20175 if (arg2
== NULL
) {
20176 PyErr_SetString(PyExc_TypeError
,"null reference");
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20195 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20198 wxDateTime
*arg2
= 0 ;
20199 wxTimeSpan
*arg3
= 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 PyObject
* obj2
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "dt",(char *) "ts", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20214 if (arg2
== NULL
) {
20215 PyErr_SetString(PyExc_TypeError
,"null reference");
20218 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20221 if (arg3
== NULL
) {
20222 PyErr_SetString(PyExc_TypeError
,"null reference");
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20241 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20244 wxTimeSpan
*arg2
= 0 ;
20245 wxDateTime
*result
;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "diff", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20258 if (arg2
== NULL
) {
20259 PyErr_SetString(PyExc_TypeError
,"null reference");
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20266 result
= (wxDateTime
*) &_result_ref
;
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20279 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20282 wxDateSpan
*arg2
= 0 ;
20283 wxDateTime
*result
;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "diff", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20296 if (arg2
== NULL
) {
20297 PyErr_SetString(PyExc_TypeError
,"null reference");
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20304 result
= (wxDateTime
*) &_result_ref
;
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20317 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20320 wxTimeSpan
*arg2
= 0 ;
20321 wxDateTime
*result
;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "diff", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",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_wxTimeSpan
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20334 if (arg2
== NULL
) {
20335 PyErr_SetString(PyExc_TypeError
,"null reference");
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20342 result
= (wxDateTime
*) &_result_ref
;
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20355 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20358 wxDateSpan
*arg2
= 0 ;
20359 wxDateTime
*result
;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self",(char *) "diff", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20372 if (arg2
== NULL
) {
20373 PyErr_SetString(PyExc_TypeError
,"null reference");
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20380 result
= (wxDateTime
*) &_result_ref
;
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20393 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20396 wxDateTime
*arg2
= 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self",(char *) "dt", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) 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");
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 wxTimeSpan
* resultptr
;
20423 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20432 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20433 PyObject
*resultobj
;
20434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20435 wxTimeSpan
*arg2
= 0 ;
20436 wxDateTime
*result
;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20440 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20442 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20446 if (arg2
== NULL
) {
20447 PyErr_SetString(PyExc_TypeError
,"null reference");
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20454 result
= (wxDateTime
*) &_result_ref
;
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20467 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20468 PyObject
*resultobj
;
20469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20470 wxDateSpan
*arg2
= 0 ;
20471 wxDateTime
*result
;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20475 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20477 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20481 if (arg2
== NULL
) {
20482 PyErr_SetString(PyExc_TypeError
,"null reference");
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20489 result
= (wxDateTime
*) &_result_ref
;
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20502 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20507 argc
= PyObject_Length(args
);
20508 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20509 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20515 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20525 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20533 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20541 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20551 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20559 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20564 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20569 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20570 PyObject
*resultobj
;
20571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20572 wxTimeSpan
*arg2
= 0 ;
20573 wxDateTime
*result
;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20577 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20579 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20583 if (arg2
== NULL
) {
20584 PyErr_SetString(PyExc_TypeError
,"null reference");
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20591 result
= (wxDateTime
*) &_result_ref
;
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20604 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20605 PyObject
*resultobj
;
20606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20607 wxDateSpan
*arg2
= 0 ;
20608 wxDateTime
*result
;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20612 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20614 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20618 if (arg2
== NULL
) {
20619 PyErr_SetString(PyExc_TypeError
,"null reference");
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20626 result
= (wxDateTime
*) &_result_ref
;
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20639 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20644 argc
= PyObject_Length(args
);
20645 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20646 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20670 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20678 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20688 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20696 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20701 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20706 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20707 PyObject
*resultobj
;
20708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20709 wxTimeSpan
*arg2
= 0 ;
20711 PyObject
* obj0
= 0 ;
20712 PyObject
* obj1
= 0 ;
20714 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20720 if (arg2
== NULL
) {
20721 PyErr_SetString(PyExc_TypeError
,"null reference");
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20732 wxDateTime
* resultptr
;
20733 resultptr
= new wxDateTime((wxDateTime
&) result
);
20734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20742 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20743 PyObject
*resultobj
;
20744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20745 wxDateSpan
*arg2
= 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20750 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20756 if (arg2
== NULL
) {
20757 PyErr_SetString(PyExc_TypeError
,"null reference");
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 wxDateTime
* resultptr
;
20769 resultptr
= new wxDateTime((wxDateTime
&) result
);
20770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20778 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20783 argc
= PyObject_Length(args
);
20784 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20785 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20791 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20801 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20809 return _wrap_DateTime___add____SWIG_0(self
,args
);
20817 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20827 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20835 return _wrap_DateTime___add____SWIG_1(self
,args
);
20840 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20845 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20846 PyObject
*resultobj
;
20847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20848 wxDateTime
*arg2
= 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20853 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20859 if (arg2
== NULL
) {
20860 PyErr_SetString(PyExc_TypeError
,"null reference");
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20871 wxTimeSpan
* resultptr
;
20872 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20881 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20882 PyObject
*resultobj
;
20883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20884 wxTimeSpan
*arg2
= 0 ;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20889 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20895 if (arg2
== NULL
) {
20896 PyErr_SetString(PyExc_TypeError
,"null reference");
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20907 wxDateTime
* resultptr
;
20908 resultptr
= new wxDateTime((wxDateTime
&) result
);
20909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20917 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20918 PyObject
*resultobj
;
20919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20920 wxDateSpan
*arg2
= 0 ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20925 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20931 if (arg2
== NULL
) {
20932 PyErr_SetString(PyExc_TypeError
,"null reference");
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20943 wxDateTime
* resultptr
;
20944 resultptr
= new wxDateTime((wxDateTime
&) result
);
20945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20953 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20958 argc
= PyObject_Length(args
);
20959 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20960 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20966 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20976 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20984 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20992 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21002 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21010 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21018 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21028 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21036 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21041 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21046 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21047 PyObject
*resultobj
;
21048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21049 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21054 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21075 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21076 PyObject
*resultobj
;
21077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21078 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21083 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21104 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21105 PyObject
*resultobj
;
21106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21107 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21112 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21133 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21134 PyObject
*resultobj
;
21135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21136 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21141 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21162 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21163 PyObject
*resultobj
;
21164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21165 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21170 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21191 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21192 PyObject
*resultobj
;
21193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21194 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21199 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21220 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21223 wxString
*arg2
= 0 ;
21225 bool temp2
= false ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "date", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21236 arg2
= wxString_in_helper(obj1
);
21237 if (arg2
== NULL
) SWIG_fail
;
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_From_int((int)result
);
21262 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21265 wxString
*arg2
= 0 ;
21266 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21268 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21269 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21271 bool temp2
= false ;
21272 bool temp3
= false ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 PyObject
* obj3
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 arg2
= wxString_in_helper(obj1
);
21286 if (arg2
== NULL
) SWIG_fail
;
21291 arg3
= wxString_in_helper(obj2
);
21292 if (arg3
== NULL
) SWIG_fail
;
21297 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21300 if (arg4
== NULL
) {
21301 PyErr_SetString(PyExc_TypeError
,"null reference");
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 resultobj
= SWIG_From_int((int)result
);
21335 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21338 wxString
*arg2
= 0 ;
21340 bool temp2
= false ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "datetime", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 arg2
= wxString_in_helper(obj1
);
21352 if (arg2
== NULL
) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_From_int((int)result
);
21377 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21380 wxString
*arg2
= 0 ;
21382 bool temp2
= false ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self",(char *) "date", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 arg2
= wxString_in_helper(obj1
);
21394 if (arg2
== NULL
) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_From_int((int)result
);
21419 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21422 wxString
*arg2
= 0 ;
21424 bool temp2
= false ;
21425 PyObject
* obj0
= 0 ;
21426 PyObject
* obj1
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self",(char *) "time", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21435 arg2
= wxString_in_helper(obj1
);
21436 if (arg2
== NULL
) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_From_int((int)result
);
21461 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21464 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21465 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21466 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21467 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21469 bool temp2
= false ;
21470 bool temp3
= false ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 PyObject
* obj2
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "format",(char *) "tz", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 arg2
= wxString_in_helper(obj1
);
21484 if (arg2
== NULL
) SWIG_fail
;
21490 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21513 if (temp3
) delete arg3
;
21522 if (temp3
) delete arg3
;
21528 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21560 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21592 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21624 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21656 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21659 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21661 return Py_BuildValue((char *)"");
21663 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21667 PyObject
* obj0
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "sec", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21673 arg1
= (long)SWIG_As_long(obj0
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= wxTimeSpan::Seconds(arg1
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21683 wxTimeSpan
* resultptr
;
21684 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21693 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21696 char *kwnames
[] = {
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= wxTimeSpan::Second();
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 wxTimeSpan
* resultptr
;
21710 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21719 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "min", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21729 arg1
= (long)SWIG_As_long(obj0
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= wxTimeSpan::Minutes(arg1
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 wxTimeSpan
* resultptr
;
21740 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21749 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21752 char *kwnames
[] = {
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= wxTimeSpan::Minute();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 wxTimeSpan
* resultptr
;
21766 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21775 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21779 PyObject
* obj0
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "hours", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21785 arg1
= (long)SWIG_As_long(obj0
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= wxTimeSpan::Hours(arg1
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21795 wxTimeSpan
* resultptr
;
21796 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21805 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21808 char *kwnames
[] = {
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= wxTimeSpan::Hour();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 wxTimeSpan
* resultptr
;
21822 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21831 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21835 PyObject
* obj0
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "days", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21841 arg1
= (long)SWIG_As_long(obj0
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= wxTimeSpan::Days(arg1
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 wxTimeSpan
* resultptr
;
21852 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21861 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21864 char *kwnames
[] = {
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= wxTimeSpan::Day();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 wxTimeSpan
* resultptr
;
21878 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21887 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21891 PyObject
* obj0
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "days", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21897 arg1
= (long)SWIG_As_long(obj0
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= wxTimeSpan::Weeks(arg1
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21907 wxTimeSpan
* resultptr
;
21908 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21917 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21920 char *kwnames
[] = {
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 result
= wxTimeSpan::Week();
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 wxTimeSpan
* resultptr
;
21934 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21943 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 long arg1
= (long) 0 ;
21946 long arg2
= (long) 0 ;
21947 long arg3
= (long) 0 ;
21948 long arg4
= (long) 0 ;
21949 wxTimeSpan
*result
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 PyObject
* obj2
= 0 ;
21953 PyObject
* obj3
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21960 arg1
= (long)SWIG_As_long(obj0
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 arg2
= (long)SWIG_As_long(obj1
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 arg3
= (long)SWIG_As_long(obj2
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 arg4
= (long)SWIG_As_long(obj3
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21989 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22017 wxTimeSpan
*arg2
= 0 ;
22018 wxTimeSpan
*result
;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "diff", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22031 if (arg2
== NULL
) {
22032 PyErr_SetString(PyExc_TypeError
,"null reference");
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22039 result
= (wxTimeSpan
*) &_result_ref
;
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22052 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22055 wxTimeSpan
*arg2
= 0 ;
22056 wxTimeSpan
*result
;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "diff", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22069 if (arg2
== NULL
) {
22070 PyErr_SetString(PyExc_TypeError
,"null reference");
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22077 result
= (wxTimeSpan
*) &_result_ref
;
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22090 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22094 wxTimeSpan
*result
;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "n", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22104 arg2
= (int)SWIG_As_int(obj1
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22110 result
= (wxTimeSpan
*) &_result_ref
;
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22123 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22126 wxTimeSpan
*result
;
22127 PyObject
* obj0
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22139 result
= (wxTimeSpan
*) &_result_ref
;
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22152 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 wxTimeSpan
* resultptr
;
22173 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22182 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22184 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22185 wxTimeSpan
*arg2
= 0 ;
22186 wxTimeSpan
*result
;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "diff", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22195 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22199 if (arg2
== NULL
) {
22200 PyErr_SetString(PyExc_TypeError
,"null reference");
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22207 result
= (wxTimeSpan
*) &_result_ref
;
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22220 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22223 wxTimeSpan
*arg2
= 0 ;
22224 wxTimeSpan
*result
;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "diff", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22233 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22237 if (arg2
== NULL
) {
22238 PyErr_SetString(PyExc_TypeError
,"null reference");
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22245 result
= (wxTimeSpan
*) &_result_ref
;
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22258 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22262 wxTimeSpan
*result
;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "n", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22271 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22272 arg2
= (int)SWIG_As_int(obj1
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22278 result
= (wxTimeSpan
*) &_result_ref
;
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22291 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22294 wxTimeSpan
*result
;
22295 PyObject
* obj0
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22307 result
= (wxTimeSpan
*) &_result_ref
;
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22320 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22323 wxTimeSpan
*arg2
= 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "other", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22337 if (arg2
== NULL
) {
22338 PyErr_SetString(PyExc_TypeError
,"null reference");
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 wxTimeSpan
* resultptr
;
22350 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22359 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22362 wxTimeSpan
*arg2
= 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "other", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22376 if (arg2
== NULL
) {
22377 PyErr_SetString(PyExc_TypeError
,"null reference");
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 wxTimeSpan
* resultptr
;
22389 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22398 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "n", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22412 arg2
= (int)SWIG_As_int(obj1
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= wxTimeSpan___mul__(arg1
,arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22422 wxTimeSpan
* resultptr
;
22423 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22432 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self",(char *) "n", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22446 arg2
= (int)SWIG_As_int(obj1
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 wxTimeSpan
* resultptr
;
22457 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22466 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22469 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22471 PyObject
* obj0
= 0 ;
22472 PyObject
* obj1
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self",(char *) "other", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22498 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22501 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self",(char *) "other", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22530 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
;
22532 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22533 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self",(char *) "other", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22562 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22565 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self",(char *) "other", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22594 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22597 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "other", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22626 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22629 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "other", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22658 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22686 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22714 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22742 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22745 wxTimeSpan
*arg2
= 0 ;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self",(char *) "ts", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22759 if (arg2
== NULL
) {
22760 PyErr_SetString(PyExc_TypeError
,"null reference");
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22779 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22782 wxTimeSpan
*arg2
= 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "ts", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22796 if (arg2
== NULL
) {
22797 PyErr_SetString(PyExc_TypeError
,"null reference");
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22816 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22819 wxTimeSpan
*arg2
= 0 ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self",(char *) "t", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22833 if (arg2
== NULL
) {
22834 PyErr_SetString(PyExc_TypeError
,"null reference");
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22853 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_From_int((int)result
);
22879 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22883 PyObject
* obj0
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_From_int((int)result
);
22905 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_From_int((int)result
);
22931 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= SWIG_From_int((int)result
);
22957 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self", NULL
22966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22977 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22978 hi
= PyLong_FromLong( (&result
)->GetHi() );
22979 lo
= PyLong_FromLong( (&result
)->GetLo() );
22980 shifter
= PyLong_FromLong(32);
22981 shifted
= PyNumber_Lshift(hi
, shifter
);
22982 resultobj
= PyNumber_Or(shifted
, lo
);
22985 Py_DECREF(shifter
);
22986 Py_DECREF(shifted
);
22994 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23014 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23015 hi
= PyLong_FromLong( (&result
)->GetHi() );
23016 lo
= PyLong_FromLong( (&result
)->GetLo() );
23017 shifter
= PyLong_FromLong(32);
23018 shifted
= PyNumber_Lshift(hi
, shifter
);
23019 resultobj
= PyNumber_Or(shifted
, lo
);
23022 Py_DECREF(shifter
);
23023 Py_DECREF(shifted
);
23031 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23033 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23034 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23035 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23037 bool temp2
= false ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "format", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23049 arg2
= wxString_in_helper(obj1
);
23050 if (arg2
== NULL
) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23082 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23085 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23087 return Py_BuildValue((char *)"");
23089 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 int arg1
= (int) 0 ;
23092 int arg2
= (int) 0 ;
23093 int arg3
= (int) 0 ;
23094 int arg4
= (int) 0 ;
23095 wxDateSpan
*result
;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 PyObject
* obj2
= 0 ;
23099 PyObject
* obj3
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23106 arg1
= (int)SWIG_As_int(obj0
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 arg2
= (int)SWIG_As_int(obj1
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 arg3
= (int)SWIG_As_int(obj2
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 arg4
= (int)SWIG_As_int(obj3
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23135 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "days", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23170 arg1
= (int)SWIG_As_int(obj0
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= wxDateSpan::Days(arg1
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 wxDateSpan
* resultptr
;
23181 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23190 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23193 char *kwnames
[] = {
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= wxDateSpan::Day();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 wxDateSpan
* resultptr
;
23207 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23216 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "weeks", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23226 arg1
= (int)SWIG_As_int(obj0
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= wxDateSpan::Weeks(arg1
);
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23236 wxDateSpan
* resultptr
;
23237 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23246 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23249 char *kwnames
[] = {
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= wxDateSpan::Week();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 wxDateSpan
* resultptr
;
23263 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23272 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23276 PyObject
* obj0
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "mon", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23282 arg1
= (int)SWIG_As_int(obj0
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= wxDateSpan::Months(arg1
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23292 wxDateSpan
* resultptr
;
23293 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23302 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23305 char *kwnames
[] = {
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= wxDateSpan::Month();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 wxDateSpan
* resultptr
;
23319 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23328 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "years", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23338 arg1
= (int)SWIG_As_int(obj0
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= wxDateSpan::Years(arg1
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 wxDateSpan
* resultptr
;
23349 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23358 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23361 char *kwnames
[] = {
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= wxDateSpan::Year();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 wxDateSpan
* resultptr
;
23375 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23384 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23388 wxDateSpan
*result
;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "n", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 arg2
= (int)SWIG_As_int(obj1
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23404 result
= (wxDateSpan
*) &_result_ref
;
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23417 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23421 wxDateSpan
*result
;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self",(char *) "n", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 arg2
= (int)SWIG_As_int(obj1
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23437 result
= (wxDateSpan
*) &_result_ref
;
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23450 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23454 wxDateSpan
*result
;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "n", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 arg2
= (int)SWIG_As_int(obj1
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23470 result
= (wxDateSpan
*) &_result_ref
;
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23483 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23487 wxDateSpan
*result
;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "n", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 arg2
= (int)SWIG_As_int(obj1
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23503 result
= (wxDateSpan
*) &_result_ref
;
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23516 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_From_int((int)result
);
23542 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_From_int((int)result
);
23568 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_From_int((int)result
);
23594 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_From_int((int)result
);
23620 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_From_int((int)result
);
23646 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23648 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23649 wxDateSpan
*arg2
= 0 ;
23650 wxDateSpan
*result
;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "other", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23663 if (arg2
== NULL
) {
23664 PyErr_SetString(PyExc_TypeError
,"null reference");
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23671 result
= (wxDateSpan
*) &_result_ref
;
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23684 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23687 wxDateSpan
*arg2
= 0 ;
23688 wxDateSpan
*result
;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self",(char *) "other", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23701 if (arg2
== NULL
) {
23702 PyErr_SetString(PyExc_TypeError
,"null reference");
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23709 result
= (wxDateSpan
*) &_result_ref
;
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23722 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23725 wxDateSpan
*result
;
23726 PyObject
* obj0
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23738 result
= (wxDateSpan
*) &_result_ref
;
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23751 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23755 wxDateSpan
*result
;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "factor", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 arg2
= (int)SWIG_As_int(obj1
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23771 result
= (wxDateSpan
*) &_result_ref
;
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23784 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23787 wxDateSpan
*arg2
= 0 ;
23788 wxDateSpan
*result
;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "other", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23797 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23801 if (arg2
== NULL
) {
23802 PyErr_SetString(PyExc_TypeError
,"null reference");
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23809 result
= (wxDateSpan
*) &_result_ref
;
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23822 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23825 wxDateSpan
*arg2
= 0 ;
23826 wxDateSpan
*result
;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "self",(char *) "other", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23835 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23839 if (arg2
== NULL
) {
23840 PyErr_SetString(PyExc_TypeError
,"null reference");
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23847 result
= (wxDateSpan
*) &_result_ref
;
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23860 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23863 wxDateSpan
*result
;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23876 result
= (wxDateSpan
*) &_result_ref
;
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23889 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23893 wxDateSpan
*result
;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self",(char *) "factor", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23902 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23903 arg2
= (int)SWIG_As_int(obj1
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23909 result
= (wxDateSpan
*) &_result_ref
;
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23922 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23925 wxDateSpan
*arg2
= 0 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 char *kwnames
[] = {
23930 (char *) "self",(char *) "other", NULL
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23939 if (arg2
== NULL
) {
23940 PyErr_SetString(PyExc_TypeError
,"null reference");
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23951 wxDateSpan
* resultptr
;
23952 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23961 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23964 wxDateSpan
*arg2
= 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "other", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23978 if (arg2
== NULL
) {
23979 PyErr_SetString(PyExc_TypeError
,"null reference");
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23990 wxDateSpan
* resultptr
;
23991 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24000 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "n", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 arg2
= (int)SWIG_As_int(obj1
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= wxDateSpan___mul__(arg1
,arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 wxDateSpan
* resultptr
;
24025 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24034 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "n", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (int)SWIG_As_int(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= wxDateSpan___rmul__(arg1
,arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 wxDateSpan
* resultptr
;
24059 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24068 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24071 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self",(char *) "other", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24100 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24103 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self",(char *) "other", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24132 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24135 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24137 return Py_BuildValue((char *)"");
24139 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24142 char *kwnames
[] = {
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (long)wxGetLocalTime();
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= SWIG_From_long((long)result
);
24161 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24164 char *kwnames
[] = {
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (long)wxGetUTCTime();
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_From_long((long)result
);
24183 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24186 char *kwnames
[] = {
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (long)wxGetCurrentTime();
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_From_long((long)result
);
24205 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24208 char *kwnames
[] = {
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= wxGetLocalTimeMillis();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24222 hi
= PyLong_FromLong( (&result
)->GetHi() );
24223 lo
= PyLong_FromLong( (&result
)->GetLo() );
24224 shifter
= PyLong_FromLong(32);
24225 shifted
= PyNumber_Lshift(hi
, shifter
);
24226 resultobj
= PyNumber_Or(shifted
, lo
);
24229 Py_DECREF(shifter
);
24230 Py_DECREF(shifted
);
24238 static int _wrap_DefaultDateTime_set(PyObject
*) {
24239 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24244 static PyObject
*_wrap_DefaultDateTime_get() {
24247 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24252 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24255 wxDataFormat
*result
;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "type", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24262 arg1
= (int)SWIG_As_int(obj0
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24278 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxString
*arg1
= 0 ;
24281 wxDataFormat
*result
;
24282 bool temp1
= false ;
24283 PyObject
* obj0
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "format", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24290 arg1
= wxString_in_helper(obj0
);
24291 if (arg1
== NULL
) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24316 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 Py_INCREF(Py_None
); resultobj
= Py_None
;
24341 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24342 PyObject
*resultobj
;
24343 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24349 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24352 arg2
= (int)SWIG_As_int(obj1
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24370 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24371 PyObject
*resultobj
;
24372 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24378 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24381 arg2
= (int)SWIG_As_int(obj1
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24399 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24400 PyObject
*resultobj
;
24401 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24402 wxDataFormat
*arg2
= 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24407 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24413 if (arg2
== NULL
) {
24414 PyErr_SetString(PyExc_TypeError
,"null reference");
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24433 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24438 argc
= PyObject_Length(args
);
24439 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24440 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24446 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24456 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24464 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24472 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24480 _v
= SWIG_Check_int(argv
[1]);
24482 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24487 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24492 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24493 PyObject
*resultobj
;
24494 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24495 wxDataFormat
*arg2
= 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24500 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24506 if (arg2
== NULL
) {
24507 PyErr_SetString(PyExc_TypeError
,"null reference");
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24526 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24531 argc
= PyObject_Length(args
);
24532 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24533 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24539 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24549 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24557 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24573 _v
= SWIG_Check_int(argv
[1]);
24575 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24580 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24585 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self",(char *) "format", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 arg2
= (int)SWIG_As_int(obj1
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 (arg1
)->SetType((wxDataFormatId
)arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 Py_INCREF(Py_None
); resultobj
= Py_None
;
24614 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24618 PyObject
* obj0
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_From_int((int)result
);
24640 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= ((wxDataFormat
const *)arg1
)->GetId();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24672 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24675 wxString
*arg2
= 0 ;
24676 bool temp2
= false ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "format", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 arg2
= wxString_in_helper(obj1
);
24688 if (arg2
== NULL
) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 (arg1
)->SetId((wxString
const &)*arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24698 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24718 return Py_BuildValue((char *)"");
24720 static int _wrap_FormatInvalid_set(PyObject
*) {
24721 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24726 static PyObject
*_wrap_FormatInvalid_get() {
24729 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24734 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 Py_INCREF(Py_None
); resultobj
= Py_None
;
24759 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24762 int arg2
= (int) wxDataObject::Get
;
24763 SwigValueWrapper
< wxDataFormat
> result
;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "dir", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 arg2
= (int)SWIG_As_int(obj1
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 wxDataFormat
* resultptr
;
24786 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24795 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24798 int arg2
= (int) wxDataObject::Get
;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "dir", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 arg2
= (int)SWIG_As_int(obj1
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24827 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24830 wxDataFormat
*arg2
= 0 ;
24831 int arg3
= (int) wxDataObject::Get
;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 PyObject
* obj2
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "format",(char *) "dir", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24846 if (arg2
== NULL
) {
24847 PyErr_SetString(PyExc_TypeError
,"null reference");
24851 arg3
= (int)SWIG_As_int(obj2
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24870 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24873 wxDataFormat
*arg2
= 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "format", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24887 if (arg2
== NULL
) {
24888 PyErr_SetString(PyExc_TypeError
,"null reference");
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24905 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
;
24907 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24908 int arg2
= (int) wxDataObject::Get
;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self",(char *) "dir", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 arg2
= (int)SWIG_As_int(obj1
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= result
;
24937 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24940 wxDataFormat
*arg2
= 0 ;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "format", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24954 if (arg2
== NULL
) {
24955 PyErr_SetString(PyExc_TypeError
,"null reference");
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= result
;
24972 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24975 wxDataFormat
*arg2
= 0 ;
24976 PyObject
*arg3
= (PyObject
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 PyObject
* obj2
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "self",(char *) "format",(char *) "data", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24991 if (arg2
== NULL
) {
24992 PyErr_SetString(PyExc_TypeError
,"null reference");
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25012 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25015 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25017 return Py_BuildValue((char *)"");
25019 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25022 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25023 wxDataObjectSimple
*result
;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "format", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25034 if (arg1
== NULL
) {
25035 PyErr_SetString(PyExc_TypeError
,"null reference");
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25053 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25056 wxDataFormat
*result
;
25057 PyObject
* obj0
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25069 result
= (wxDataFormat
*) &_result_ref
;
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25082 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25085 wxDataFormat
*arg2
= 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "format", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25098 if (arg2
== NULL
) {
25099 PyErr_SetString(PyExc_TypeError
,"null reference");
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25142 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= result
;
25168 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25171 PyObject
*arg2
= (PyObject
*) 0 ;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self",(char *) "data", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25199 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25202 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25204 return Py_BuildValue((char *)"");
25206 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25209 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25210 wxPyDataObjectSimple
*result
;
25211 PyObject
* obj0
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "format", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25221 if (arg1
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference");
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25240 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25243 PyObject
*arg2
= (PyObject
*) 0 ;
25244 PyObject
*arg3
= (PyObject
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 PyObject
* obj2
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self",(char *) "self",(char *) "_class", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25274 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25276 return Py_BuildValue((char *)"");
25278 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxDataObjectComposite
*result
;
25281 char *kwnames
[] = {
25285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25300 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25303 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25304 bool arg3
= (bool) false ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 PyObject
* obj2
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25316 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25318 arg3
= (bool)SWIG_As_bool(obj2
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 (arg1
)->Add(arg2
,arg3
);
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 Py_INCREF(Py_None
); resultobj
= Py_None
;
25335 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25338 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25340 return Py_BuildValue((char *)"");
25342 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25345 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25346 wxTextDataObject
*result
;
25347 bool temp1
= false ;
25348 PyObject
* obj0
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "text", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25356 arg1
= wxString_in_helper(obj0
);
25357 if (arg1
== NULL
) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25383 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (size_t)(arg1
)->GetTextLength();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25409 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (arg1
)->GetText();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25441 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25444 wxString
*arg2
= 0 ;
25445 bool temp2
= false ;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self",(char *) "text", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25456 arg2
= wxString_in_helper(obj1
);
25457 if (arg2
== NULL
) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 (arg1
)->SetText((wxString
const &)*arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 Py_INCREF(Py_None
); resultobj
= Py_None
;
25482 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25485 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25487 return Py_BuildValue((char *)"");
25489 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25492 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25493 wxPyTextDataObject
*result
;
25494 bool temp1
= false ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "text", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25503 arg1
= wxString_in_helper(obj0
);
25504 if (arg1
== NULL
) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25530 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25533 PyObject
*arg2
= (PyObject
*) 0 ;
25534 PyObject
*arg3
= (PyObject
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 PyObject
* obj2
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "self",(char *) "_class", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 Py_INCREF(Py_None
); resultobj
= Py_None
;
25561 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25564 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25566 return Py_BuildValue((char *)"");
25568 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25571 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25572 wxBitmapDataObject
*result
;
25573 PyObject
* obj0
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "bitmap", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25583 if (arg1
== NULL
) {
25584 PyErr_SetString(PyExc_TypeError
,"null reference");
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25602 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25606 PyObject
* obj0
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 wxBitmap
* resultptr
;
25623 resultptr
= new wxBitmap((wxBitmap
&) result
);
25624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25632 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25635 wxBitmap
*arg2
= 0 ;
25636 PyObject
* obj0
= 0 ;
25637 PyObject
* obj1
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self",(char *) "bitmap", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25648 if (arg2
== NULL
) {
25649 PyErr_SetString(PyExc_TypeError
,"null reference");
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 Py_INCREF(Py_None
); resultobj
= Py_None
;
25666 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25669 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25671 return Py_BuildValue((char *)"");
25673 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25676 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25677 wxPyBitmapDataObject
*result
;
25678 PyObject
* obj0
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "bitmap", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25688 if (arg1
== NULL
) {
25689 PyErr_SetString(PyExc_TypeError
,"null reference");
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25707 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25710 PyObject
*arg2
= (PyObject
*) 0 ;
25711 PyObject
*arg3
= (PyObject
*) 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 PyObject
* obj2
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "self",(char *) "_class", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 Py_INCREF(Py_None
); resultobj
= Py_None
;
25738 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25741 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25743 return Py_BuildValue((char *)"");
25745 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxFileDataObject
*result
;
25748 char *kwnames
[] = {
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (wxFileDataObject
*)new wxFileDataObject();
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25767 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25770 wxArrayString
*result
;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25783 result
= (wxArrayString
*) &_result_ref
;
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= wxArrayString2PyList_helper(*result
);
25798 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25801 wxString
*arg2
= 0 ;
25802 bool temp2
= false ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "filename", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 arg2
= wxString_in_helper(obj1
);
25814 if (arg2
== NULL
) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->AddFile((wxString
const &)*arg2
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25839 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25842 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25844 return Py_BuildValue((char *)"");
25846 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25849 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25850 wxCustomDataObject
*result
;
25851 PyObject
* obj0
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "format", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25861 if (arg1
== NULL
) {
25862 PyErr_SetString(PyExc_TypeError
,"null reference");
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25880 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25883 PyObject
*arg2
= (PyObject
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "data", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25911 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25915 PyObject
* obj0
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (size_t)(arg1
)->GetSize();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25937 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25941 PyObject
* obj0
= 0 ;
25942 char *kwnames
[] = {
25943 (char *) "self", NULL
25946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= result
;
25963 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25966 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25968 return Py_BuildValue((char *)"");
25970 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxURLDataObject
*result
;
25973 char *kwnames
[] = {
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (wxURLDataObject
*)new wxURLDataObject();
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25992 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (arg1
)->GetURL();
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26024 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26027 wxString
*arg2
= 0 ;
26028 bool temp2
= false ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "url", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 arg2
= wxString_in_helper(obj1
);
26040 if (arg2
== NULL
) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 (arg1
)->SetURL((wxString
const &)*arg2
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26065 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26068 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26070 return Py_BuildValue((char *)"");
26072 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxMetafileDataObject
*result
;
26075 char *kwnames
[] = {
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26094 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26097 wxMetafile
*arg2
= 0 ;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self",(char *) "metafile", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26110 if (arg2
== NULL
) {
26111 PyErr_SetString(PyExc_TypeError
,"null reference");
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 Py_INCREF(Py_None
); resultobj
= Py_None
;
26128 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26148 wxMetafile
* resultptr
;
26149 resultptr
= new wxMetafile((wxMetafile
&) result
);
26150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26158 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26161 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26163 return Py_BuildValue((char *)"");
26165 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26169 PyObject
* obj0
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "res", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26175 arg1
= (int)SWIG_As_int(obj0
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26193 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxWindow
*arg1
= (wxWindow
*) 0 ;
26196 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26197 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26198 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26199 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26200 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26201 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26202 wxPyDropSource
*result
;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 PyObject
* obj2
= 0 ;
26206 PyObject
* obj3
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26218 if (arg2
== NULL
) {
26219 PyErr_SetString(PyExc_TypeError
,"null reference");
26224 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26227 if (arg3
== NULL
) {
26228 PyErr_SetString(PyExc_TypeError
,"null reference");
26233 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26236 if (arg4
== NULL
) {
26237 PyErr_SetString(PyExc_TypeError
,"null reference");
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26255 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26258 PyObject
*arg2
= (PyObject
*) 0 ;
26259 PyObject
*arg3
= (PyObject
*) 0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 PyObject
* obj2
= 0 ;
26264 PyObject
* obj3
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 arg4
= (int)SWIG_As_int(obj3
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 Py_INCREF(Py_None
); resultobj
= Py_None
;
26290 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26293 PyObject
* obj0
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 Py_INCREF(Py_None
); resultobj
= Py_None
;
26315 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26318 wxDataObject
*arg2
= 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self",(char *) "data", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26331 if (arg2
== NULL
) {
26332 PyErr_SetString(PyExc_TypeError
,"null reference");
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 (arg1
)->SetData(*arg2
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 Py_INCREF(Py_None
); resultobj
= Py_None
;
26349 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26352 wxDataObject
*result
;
26353 PyObject
* obj0
= 0 ;
26354 char *kwnames
[] = {
26355 (char *) "self", NULL
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26375 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26379 wxCursor
*arg3
= 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 PyObject
* obj2
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self",(char *) "res",(char *) "cursor", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26390 arg2
= (int)SWIG_As_int(obj1
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26395 if (arg3
== NULL
) {
26396 PyErr_SetString(PyExc_TypeError
,"null reference");
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 Py_INCREF(Py_None
); resultobj
= Py_None
;
26413 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26416 int arg2
= (int) wxDrag_CopyOnly
;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "flags", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26428 arg2
= (int)SWIG_As_int(obj1
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= (int)(arg1
)->DoDragDrop(arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_From_int((int)result
);
26445 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "effect", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 arg2
= (int)SWIG_As_int(obj1
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26477 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26480 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26482 return Py_BuildValue((char *)"");
26484 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26487 wxPyDropTarget
*result
;
26488 PyObject
* obj0
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "dataObject", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26496 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26512 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26515 PyObject
*arg2
= (PyObject
*) 0 ;
26516 PyObject
*arg3
= (PyObject
*) 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 PyObject
* obj2
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self",(char *) "self",(char *) "_class", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26571 wxDataObject
*result
;
26572 PyObject
* obj0
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26594 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26597 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self",(char *) "dataObject", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26608 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 (arg1
)->SetDataObject(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 Py_INCREF(Py_None
); resultobj
= Py_None
;
26623 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 PyObject
* obj2
= 0 ;
26633 PyObject
* obj3
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26641 arg2
= (int)SWIG_As_int(obj1
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26643 arg3
= (int)SWIG_As_int(obj2
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26645 arg4
= (int)SWIG_As_int(obj3
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_From_int((int)result
);
26661 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
;
26663 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 PyObject
* obj2
= 0 ;
26671 PyObject
* obj3
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26679 arg2
= (int)SWIG_As_int(obj1
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26681 arg3
= (int)SWIG_As_int(obj2
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26683 arg4
= (int)SWIG_As_int(obj3
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_From_int((int)result
);
26699 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26703 char *kwnames
[] = {
26704 (char *) "self", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 (arg1
)->base_OnLeave();
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 Py_INCREF(Py_None
); resultobj
= Py_None
;
26724 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
;
26726 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 PyObject
* obj2
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "x",(char *) "y", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26740 arg2
= (int)SWIG_As_int(obj1
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26742 arg3
= (int)SWIG_As_int(obj2
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26760 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (bool)(arg1
)->GetData();
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26788 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26791 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26793 return Py_BuildValue((char *)"");
26795 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxPyTextDropTarget
*result
;
26798 char *kwnames
[] = {
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26817 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26820 PyObject
*arg2
= (PyObject
*) 0 ;
26821 PyObject
*arg3
= (PyObject
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 PyObject
* obj2
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self",(char *) "self",(char *) "_class", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 Py_INCREF(Py_None
); resultobj
= Py_None
;
26848 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 PyObject
* obj3
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26866 arg2
= (int)SWIG_As_int(obj1
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26868 arg3
= (int)SWIG_As_int(obj2
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26870 arg4
= (int)SWIG_As_int(obj3
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= SWIG_From_int((int)result
);
26886 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 PyObject
* obj2
= 0 ;
26896 PyObject
* obj3
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26904 arg2
= (int)SWIG_As_int(obj1
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26906 arg3
= (int)SWIG_As_int(obj2
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26908 arg4
= (int)SWIG_As_int(obj3
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_From_int((int)result
);
26924 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26927 PyObject
* obj0
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->base_OnLeave();
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 Py_INCREF(Py_None
); resultobj
= Py_None
;
26949 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 PyObject
* obj2
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "x",(char *) "y", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 arg2
= (int)SWIG_As_int(obj1
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26967 arg3
= (int)SWIG_As_int(obj2
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26985 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 PyObject
* obj3
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27003 arg2
= (int)SWIG_As_int(obj1
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27005 arg3
= (int)SWIG_As_int(obj2
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27007 arg4
= (int)SWIG_As_int(obj3
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= SWIG_From_int((int)result
);
27023 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27026 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27028 return Py_BuildValue((char *)"");
27030 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxPyFileDropTarget
*result
;
27033 char *kwnames
[] = {
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27052 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27055 PyObject
*arg2
= (PyObject
*) 0 ;
27056 PyObject
*arg3
= (PyObject
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 PyObject
* obj2
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self",(char *) "self",(char *) "_class", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 Py_INCREF(Py_None
); resultobj
= Py_None
;
27083 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 PyObject
* obj2
= 0 ;
27093 PyObject
* obj3
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27101 arg2
= (int)SWIG_As_int(obj1
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27103 arg3
= (int)SWIG_As_int(obj2
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27105 arg4
= (int)SWIG_As_int(obj3
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_From_int((int)result
);
27121 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 PyObject
* obj2
= 0 ;
27131 PyObject
* obj3
= 0 ;
27132 char *kwnames
[] = {
27133 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27139 arg2
= (int)SWIG_As_int(obj1
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27141 arg3
= (int)SWIG_As_int(obj2
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27143 arg4
= (int)SWIG_As_int(obj3
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_From_int((int)result
);
27159 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->base_OnLeave();
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 Py_INCREF(Py_None
); resultobj
= Py_None
;
27184 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 PyObject
* obj2
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "x",(char *) "y", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 arg2
= (int)SWIG_As_int(obj1
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27202 arg3
= (int)SWIG_As_int(obj2
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27220 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
;
27222 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 PyObject
* obj2
= 0 ;
27230 PyObject
* obj3
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 arg2
= (int)SWIG_As_int(obj1
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27240 arg3
= (int)SWIG_As_int(obj2
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27242 arg4
= (int)SWIG_As_int(obj3
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= SWIG_From_int((int)result
);
27258 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27261 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27263 return Py_BuildValue((char *)"");
27265 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxClipboard
*result
;
27268 char *kwnames
[] = {
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= (wxClipboard
*)new wxClipboard();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27287 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "self", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 Py_INCREF(Py_None
); resultobj
= Py_None
;
27312 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
;
27314 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27316 PyObject
* obj0
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (bool)(arg1
)->Open();
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27340 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27343 PyObject
* obj0
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27393 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27396 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "data", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27408 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->AddData(arg2
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27425 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27428 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self",(char *) "data", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27440 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (bool)(arg1
)->SetData(arg2
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27457 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27460 wxDataFormat
*arg2
= 0 ;
27462 PyObject
* obj0
= 0 ;
27463 PyObject
* obj1
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "format", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27474 if (arg2
== NULL
) {
27475 PyErr_SetString(PyExc_TypeError
,"null reference");
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27494 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27497 wxDataObject
*arg2
= 0 ;
27499 PyObject
* obj0
= 0 ;
27500 PyObject
* obj1
= 0 ;
27501 char *kwnames
[] = {
27502 (char *) "self",(char *) "data", NULL
27505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27511 if (arg2
== NULL
) {
27512 PyErr_SetString(PyExc_TypeError
,"null reference");
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (bool)(arg1
)->GetData(*arg2
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27531 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
;
27533 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 Py_INCREF(Py_None
); resultobj
= Py_None
;
27556 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27560 PyObject
* obj0
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= (bool)(arg1
)->Flush();
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27584 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27587 bool arg2
= (bool) true ;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "primary", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 arg2
= (bool)SWIG_As_bool(obj1
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 (arg1
)->UsePrimarySelection(arg2
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 Py_INCREF(Py_None
); resultobj
= Py_None
;
27615 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxClipboard
*result
;
27618 char *kwnames
[] = {
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 result
= (wxClipboard
*)wxClipboard::Get();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27637 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27640 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27642 return Py_BuildValue((char *)"");
27644 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27647 wxClipboardLocker
*result
;
27648 PyObject
* obj0
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "clipboard", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27672 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27697 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27725 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27728 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27730 return Py_BuildValue((char *)"");
27732 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27734 int arg1
= (int) 0 ;
27735 int arg2
= (int) 0 ;
27736 int arg3
= (int) 0 ;
27737 int arg4
= (int) 0 ;
27738 wxVideoMode
*result
;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 PyObject
* obj2
= 0 ;
27742 PyObject
* obj3
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27749 arg1
= (int)SWIG_As_int(obj0
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 arg2
= (int)SWIG_As_int(obj1
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27757 arg3
= (int)SWIG_As_int(obj2
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 arg4
= (int)SWIG_As_int(obj3
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27778 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
;
27780 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27781 PyObject
* obj0
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 Py_INCREF(Py_None
); resultobj
= Py_None
;
27803 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27804 PyObject
*resultobj
;
27805 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27806 wxVideoMode
*arg2
= 0 ;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self",(char *) "other", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27820 if (arg2
== NULL
) {
27821 PyErr_SetString(PyExc_TypeError
,"null reference");
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27840 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= SWIG_From_int((int)result
);
27866 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27870 PyObject
* obj0
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= SWIG_From_int((int)result
);
27892 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_From_int((int)result
);
27918 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
;
27920 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27922 PyObject
* obj0
= 0 ;
27923 char *kwnames
[] = {
27924 (char *) "self", NULL
27927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27946 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27949 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "other", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27978 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27981 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "other", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28010 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "w", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 arg2
= (int)SWIG_As_int(obj1
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28025 if (arg1
) (arg1
)->w
= arg2
;
28027 Py_INCREF(Py_None
); resultobj
= Py_None
;
28034 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28038 PyObject
* obj0
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28046 result
= (int) ((arg1
)->w
);
28048 resultobj
= SWIG_From_int((int)result
);
28055 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self",(char *) "h", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28068 arg2
= (int)SWIG_As_int(obj1
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28070 if (arg1
) (arg1
)->h
= arg2
;
28072 Py_INCREF(Py_None
); resultobj
= Py_None
;
28079 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
;
28081 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28083 PyObject
* obj0
= 0 ;
28084 char *kwnames
[] = {
28085 (char *) "self", NULL
28088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28091 result
= (int) ((arg1
)->h
);
28093 resultobj
= SWIG_From_int((int)result
);
28100 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self",(char *) "bpp", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 arg2
= (int)SWIG_As_int(obj1
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28115 if (arg1
) (arg1
)->bpp
= arg2
;
28117 Py_INCREF(Py_None
); resultobj
= Py_None
;
28124 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 result
= (int) ((arg1
)->bpp
);
28138 resultobj
= SWIG_From_int((int)result
);
28145 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28147 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28149 PyObject
* obj0
= 0 ;
28150 PyObject
* obj1
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self",(char *) "refresh", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 arg2
= (int)SWIG_As_int(obj1
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28160 if (arg1
) (arg1
)->refresh
= arg2
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28181 result
= (int) ((arg1
)->refresh
);
28183 resultobj
= SWIG_From_int((int)result
);
28190 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28193 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28195 return Py_BuildValue((char *)"");
28197 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28198 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28203 static PyObject
*_wrap_DefaultVideoMode_get() {
28206 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28211 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 size_t arg1
= (size_t) 0 ;
28215 PyObject
* obj0
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "index", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28222 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 result
= (wxDisplay
*)new wxDisplay(arg1
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28239 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 Py_INCREF(Py_None
); resultobj
= Py_None
;
28264 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
;
28267 char *kwnames
[] = {
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 result
= (size_t)wxDisplay::GetCount();
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28286 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxPoint
*arg1
= 0 ;
28291 PyObject
* obj0
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "pt", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28299 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_From_int((int)result
);
28315 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
;
28317 wxWindow
*arg1
= (wxWindow
*) 0 ;
28319 PyObject
* obj0
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "window", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (int)Display_GetFromWindow(arg1
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_From_int((int)result
);
28341 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28345 PyObject
* obj0
= 0 ;
28346 char *kwnames
[] = {
28347 (char *) "self", NULL
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28369 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28389 wxRect
* resultptr
;
28390 resultptr
= new wxRect((wxRect
&) result
);
28391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28399 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28401 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28403 PyObject
* obj0
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= ((wxDisplay
const *)arg1
)->GetName();
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28431 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28435 PyObject
* obj0
= 0 ;
28436 char *kwnames
[] = {
28437 (char *) "self", NULL
28440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28459 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28462 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28463 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 char *kwnames
[] = {
28468 (char *) "self",(char *) "mode", NULL
28471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28478 if (arg2
== NULL
) {
28479 PyErr_SetString(PyExc_TypeError
,"null reference");
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= result
;
28497 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28498 PyObject
*resultobj
;
28499 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28500 wxVideoMode result
;
28501 PyObject
* obj0
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 wxVideoMode
* resultptr
;
28518 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28527 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28530 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28531 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28533 PyObject
* obj0
= 0 ;
28534 PyObject
* obj1
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self",(char *) "mode", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28546 if (arg2
== NULL
) {
28547 PyErr_SetString(PyExc_TypeError
,"null reference");
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28567 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28570 PyObject
* obj0
= 0 ;
28571 char *kwnames
[] = {
28572 (char *) "self", NULL
28575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 (arg1
)->ResetMode();
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 Py_INCREF(Py_None
); resultobj
= Py_None
;
28592 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28595 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28597 return Py_BuildValue((char *)"");
28599 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxStandardPaths
*result
;
28602 char *kwnames
[] = {
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= (wxStandardPaths
*)StandardPaths_Get();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28621 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28622 PyObject
*resultobj
;
28623 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28625 PyObject
* obj0
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28653 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
;
28655 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28657 PyObject
* obj0
= 0 ;
28658 char *kwnames
[] = {
28659 (char *) "self", NULL
28662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28685 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 char *kwnames
[] = {
28691 (char *) "self", NULL
28694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28717 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
;
28719 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28721 PyObject
* obj0
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28749 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28753 PyObject
* obj0
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28781 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28785 PyObject
* obj0
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28813 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
;
28815 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28817 PyObject
* obj0
= 0 ;
28818 char *kwnames
[] = {
28819 (char *) "self", NULL
28822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
28823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28845 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28848 wxString
*arg2
= 0 ;
28849 bool temp2
= false ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 char *kwnames
[] = {
28853 (char *) "self",(char *) "prefix", NULL
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
28857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28860 arg2
= wxString_in_helper(obj1
);
28861 if (arg2
== NULL
) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28866 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 Py_INCREF(Py_None
); resultobj
= Py_None
;
28886 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "self", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
28896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 result
= wxStandardPaths_GetInstallPrefix(arg1
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28918 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
28920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28921 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
28923 return Py_BuildValue((char *)"");
28925 static PyMethodDef SwigMethods
[] = {
28926 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28927 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28928 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28929 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28930 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28931 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28932 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28933 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28934 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28935 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28936 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28937 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28938 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28939 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28940 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28941 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28942 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28943 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28944 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28945 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28946 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28947 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28948 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28949 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28950 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28951 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28952 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28953 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28954 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28955 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28956 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28957 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28958 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28959 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28960 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28961 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28962 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28963 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28964 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28965 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28966 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28967 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28968 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28969 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28970 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28971 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28972 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28973 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28974 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28975 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28976 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28977 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28978 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28979 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28982 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28984 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28985 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28986 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28987 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28988 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28996 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28997 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28998 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29002 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29004 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29005 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29006 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29008 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29009 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29010 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29011 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29012 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29013 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29014 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29021 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29022 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29023 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29024 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29025 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29026 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29028 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29029 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29031 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29033 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29034 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29036 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29037 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29038 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29039 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29040 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29041 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29042 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29043 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29044 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29045 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29053 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29054 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29055 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29056 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29057 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29058 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29059 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29065 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29071 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29074 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29075 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29078 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29079 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29081 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29082 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29088 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29090 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29091 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29092 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29095 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29102 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29122 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29124 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29126 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29128 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29135 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29141 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29154 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29159 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29162 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29179 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29187 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29233 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29261 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29271 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29287 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29303 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29317 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29326 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29369 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29372 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29375 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29379 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29472 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29473 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29474 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29475 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29476 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29477 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29478 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29479 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29480 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29481 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29492 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29537 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29571 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29579 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29580 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29585 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29594 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29601 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29604 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29607 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29612 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29615 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29619 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29622 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29626 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29631 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29635 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29639 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29649 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29660 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29668 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29676 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29690 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29694 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29712 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29726 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29737 { NULL
, NULL
, 0, NULL
}
29741 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29743 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29746 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29747 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29749 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29750 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29752 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29753 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29755 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29756 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29758 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29759 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29761 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29762 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29764 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29765 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29767 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29768 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29770 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29771 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29773 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29774 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29776 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29777 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29779 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29780 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29782 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29783 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29785 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29786 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29788 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29789 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29791 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29792 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29794 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29795 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29797 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29798 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29800 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29801 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29803 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29804 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29806 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29807 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29809 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29810 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29812 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29813 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29815 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29816 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29818 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29819 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29821 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29822 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29824 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29825 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29827 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29828 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29830 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29831 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29833 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29834 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29836 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29837 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29839 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29840 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29842 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29845 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29848 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29849 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29851 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29852 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29854 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29855 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29857 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29858 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29860 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29861 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29863 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29864 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29866 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29867 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29869 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29870 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29872 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29873 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29875 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29876 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29878 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29879 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29881 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29882 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29884 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29885 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29887 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29888 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29890 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29891 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29893 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29894 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29896 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29897 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29899 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29900 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29902 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29903 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29905 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29906 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29908 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29909 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29911 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29912 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29914 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29915 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29917 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29918 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29920 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29921 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29923 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29924 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29926 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29927 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29929 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29930 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29932 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29933 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29935 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29938 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29939 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29941 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29942 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29944 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29945 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29947 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29948 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29950 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29951 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29953 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29954 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29956 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29957 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29959 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29960 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29962 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29963 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29965 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29966 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29968 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29969 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29971 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29974 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29975 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29977 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29978 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29980 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29981 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29983 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29984 return (void *)((wxObject
*) ((wxSizer
*) x
));
29986 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29987 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29989 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29990 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29992 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29995 static void *_p_wxEventTo_p_wxObject(void *x
) {
29996 return (void *)((wxObject
*) ((wxEvent
*) x
));
29998 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29999 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30001 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30002 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30004 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30005 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30007 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30008 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30010 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30011 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30013 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30014 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30016 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30017 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30019 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30020 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30022 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30023 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30025 static void *_p_wxControlTo_p_wxObject(void *x
) {
30026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30028 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30029 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30031 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30032 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30034 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30035 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30037 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30038 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30040 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30041 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30043 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30044 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30046 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30049 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30050 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30052 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30053 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30055 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30056 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30058 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30059 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30061 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30064 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30065 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30067 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30068 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30070 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30071 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30073 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30074 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30076 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30077 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30079 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30080 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30082 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30083 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30085 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30086 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30088 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30091 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30094 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30097 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30100 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30101 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30103 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30104 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30106 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30107 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30109 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30112 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30113 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30115 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30116 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30118 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30119 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30121 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30122 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30124 static void *_p_wxImageTo_p_wxObject(void *x
) {
30125 return (void *)((wxObject
*) ((wxImage
*) x
));
30127 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30128 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30130 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30131 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30133 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30134 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30136 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30139 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30140 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30142 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30143 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30145 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30148 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30151 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30154 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30157 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30158 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30160 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30163 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30164 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30166 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30167 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30169 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30170 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30172 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30173 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30175 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30176 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30178 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30179 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30181 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30184 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30185 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30187 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30188 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30190 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30191 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30193 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30196 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30197 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30199 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30202 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30205 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30206 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30208 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30211 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30212 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30214 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30215 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30217 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30218 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30220 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30221 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30223 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30224 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30226 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30227 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30229 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30230 return (void *)((wxWindow
*) ((wxControl
*) x
));
30232 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30233 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30235 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30236 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30238 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30239 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30241 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30242 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30244 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}};
30245 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}};
30246 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}};
30247 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}};
30248 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}};
30249 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}};
30250 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}};
30251 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}};
30252 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}};
30253 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}};
30254 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}};
30255 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}};
30256 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}};
30257 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}};
30258 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}};
30259 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}};
30260 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}};
30261 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}};
30262 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}};
30263 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}};
30264 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}};
30265 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}};
30266 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}};
30267 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}};
30268 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}};
30269 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}};
30270 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}};
30271 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}};
30272 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}};
30273 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}};
30274 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}};
30275 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}};
30276 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}};
30277 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}};
30278 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}};
30279 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}};
30280 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}};
30281 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}};
30282 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}};
30283 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}};
30284 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}};
30285 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}};
30286 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}};
30287 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}};
30288 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}};
30289 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}};
30290 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}};
30291 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}};
30292 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}};
30293 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}};
30294 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}};
30295 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}};
30296 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}};
30297 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}};
30298 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}};
30299 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}};
30300 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}};
30301 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}};
30302 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}};
30303 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}};
30304 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}};
30305 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}};
30306 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}};
30307 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}};
30308 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}};
30309 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}};
30310 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}};
30311 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}};
30312 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}};
30313 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}};
30314 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}};
30315 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}};
30316 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}};
30317 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}};
30318 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}};
30319 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}};
30320 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}};
30321 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}};
30322 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}};
30323 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}};
30324 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}};
30325 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}};
30326 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}};
30327 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}};
30328 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}};
30329 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}};
30330 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}};
30332 static swig_type_info
*swig_types_initial
[] = {
30333 _swigt__p_wxLogChain
,
30334 _swigt__p_wxMutexGuiLocker
,
30335 _swigt__p_wxMetafile
,
30336 _swigt__p_wxFileHistory
,
30338 _swigt__p_wxDateTime__TimeZone
,
30341 _swigt__p_wxConfigBase
,
30342 _swigt__p_wxDisplay
,
30343 _swigt__p_wxFileType
,
30344 _swigt__p_wxLogGui
,
30346 _swigt__p_wxDataFormat
,
30347 _swigt__p_wxTimerEvent
,
30351 _swigt__p_wxClipboard
,
30352 _swigt__p_wxStopWatch
,
30354 _swigt__p_wxClipboardLocker
,
30356 _swigt__p_wxLogStderr
,
30357 _swigt__p_wxLogTextCtrl
,
30358 _swigt__p_wxTextCtrl
,
30359 _swigt__p_wxBusyCursor
,
30360 _swigt__p_wxPyBitmapDataObject
,
30361 _swigt__p_wxPyTextDataObject
,
30362 _swigt__p_wxBitmapDataObject
,
30363 _swigt__p_wxTextDataObject
,
30364 _swigt__p_wxDataObject
,
30365 _swigt__p_wxFileDataObject
,
30366 _swigt__p_wxCustomDataObject
,
30367 _swigt__p_wxURLDataObject
,
30368 _swigt__p_wxMetafileDataObject
,
30370 _swigt__p_wxTimerRunner
,
30371 _swigt__p_wxLogWindow
,
30372 _swigt__p_wxTimeSpan
,
30373 _swigt__p_wxArrayString
,
30374 _swigt__p_wxWindowDisabler
,
30375 _swigt__p_wxToolTip
,
30376 _swigt__p_wxDataObjectComposite
,
30377 _swigt__p_wxFileConfig
,
30378 _swigt__p_wxSystemSettings
,
30379 _swigt__p_wxVideoMode
,
30380 _swigt__p_wxPyDataObjectSimple
,
30381 _swigt__p_wxDataObjectSimple
,
30382 _swigt__p_wxEvtHandler
,
30385 _swigt__p_wxSingleInstanceChecker
,
30386 _swigt__p_wxStandardPaths
,
30387 _swigt__p_wxFileTypeInfo
,
30390 _swigt__p_wxMimeTypesManager
,
30391 _swigt__p_wxPyArtProvider
,
30392 _swigt__p_wxPyTipProvider
,
30393 _swigt__p_wxTipProvider
,
30394 _swigt__p_wxJoystick
,
30395 _swigt__p_wxSystemOptions
,
30397 _swigt__p_wxJoystickEvent
,
30398 _swigt__p_wxCursor
,
30399 _swigt__p_wxObject
,
30400 _swigt__p_wxOutputStream
,
30401 _swigt__p_wxDateTime
,
30402 _swigt__p_wxPyDropSource
,
30403 _swigt__p_wxWindow
,
30404 _swigt__p_wxString
,
30405 _swigt__p_wxPyProcess
,
30406 _swigt__p_wxBitmap
,
30407 _swigt__p_wxConfig
,
30409 _swigt__p_wxBusyInfo
,
30410 _swigt__p_wxPyDropTarget
,
30411 _swigt__p_wxPyTextDropTarget
,
30412 _swigt__p_wxPyFileDropTarget
,
30413 _swigt__p_wxProcessEvent
,
30415 _swigt__p_wxLogNull
,
30416 _swigt__p_wxColour
,
30417 _swigt__p_wxConfigPathChanger
,
30418 _swigt__p_wxPyTimer
,
30419 _swigt__p_wxDateSpan
,
30424 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30426 static swig_const_info swig_const_table
[] = {
30427 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30428 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30429 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30430 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30431 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30432 {0, 0, 0, 0.0, 0, 0}};
30441 SWIGEXPORT(void) SWIG_init(void) {
30442 static PyObject
*SWIG_globals
= 0;
30443 static int typeinit
= 0;
30446 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30447 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30448 d
= PyModule_GetDict(m
);
30451 for (i
= 0; swig_types_initial
[i
]; i
++) {
30452 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30456 SWIG_InstallConstants(d
,swig_const_table
);
30458 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30459 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30460 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30461 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30462 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30463 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30464 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30465 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30466 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30467 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30468 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30469 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30470 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30471 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30472 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30473 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30474 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30475 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30476 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30477 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30478 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30479 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30480 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30481 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30482 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30483 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30484 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30485 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30486 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30487 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30488 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30489 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30490 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30491 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30492 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30493 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30494 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30495 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30496 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30497 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30498 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30499 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30500 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30501 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30502 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30503 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30504 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30505 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30506 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30507 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30508 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30509 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30510 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30511 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30512 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30513 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30514 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30515 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30516 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30517 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30518 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30519 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30520 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30521 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30522 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30523 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30524 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30525 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30526 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30527 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30528 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30529 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30530 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30531 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30532 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30533 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30534 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30535 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30536 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30537 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30538 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30539 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30540 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30541 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30542 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30543 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30544 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30545 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30546 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30547 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30548 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30549 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30550 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30551 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30552 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30553 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30554 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30555 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30556 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30557 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30558 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30560 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30562 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30563 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30564 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30565 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30566 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30567 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30568 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30569 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30570 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30571 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30572 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30573 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30574 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30575 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30576 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30577 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30578 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30579 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30580 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30581 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30582 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30583 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30584 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30585 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30586 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30587 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30588 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30589 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30590 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30591 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30592 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30593 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30594 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30595 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30596 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30597 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30598 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30599 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30600 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30601 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30602 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30603 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30604 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30605 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30606 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30607 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30608 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30609 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30610 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30611 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30613 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30615 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30616 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30617 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30618 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30619 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30620 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30621 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30622 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30623 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30624 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30625 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30626 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30627 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30628 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30629 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30630 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30631 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30632 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30633 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30634 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30635 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30636 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30637 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30638 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30639 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30640 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30641 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30642 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30643 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30644 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30645 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30646 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30647 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30648 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30649 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30650 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30651 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30652 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30653 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30654 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30655 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30656 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30657 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30658 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30659 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30660 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30661 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30662 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30663 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30664 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30665 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30666 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30667 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30672 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30673 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30675 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30677 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30678 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30679 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30680 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30681 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30682 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30683 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30684 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30685 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30686 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30687 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30688 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30689 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30690 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30691 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30692 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30693 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30694 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30695 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30696 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30697 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30698 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30699 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30700 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30701 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30702 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30703 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30704 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30705 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30706 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30707 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30708 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30709 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30710 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30711 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30712 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30713 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30714 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30715 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30716 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30717 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30718 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30719 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30720 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30721 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30722 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30723 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30724 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30725 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30726 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30727 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30728 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30729 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30730 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30731 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30732 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30733 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30734 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30735 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30736 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30737 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30738 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30739 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30740 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30741 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30742 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30743 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30744 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30745 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30746 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30747 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30748 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30749 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30750 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30751 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30752 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30753 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30754 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30755 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30756 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30757 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30758 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30759 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30760 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30761 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30762 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30763 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30764 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30765 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30766 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30767 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30768 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30769 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30770 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30771 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30772 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30773 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30774 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30775 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30776 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30777 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30778 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30779 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30780 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30781 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30782 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30783 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30784 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30785 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30786 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30787 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30788 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30789 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30790 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30791 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30792 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30793 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30794 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30795 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30796 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30797 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30798 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30799 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30800 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30801 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30802 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30803 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30804 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30805 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30806 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30807 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30808 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30809 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30810 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30811 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30812 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30813 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30814 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30815 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30816 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30817 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30818 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30819 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30820 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30821 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30822 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30823 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30824 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30825 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30826 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30827 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30828 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30829 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30830 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30831 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30832 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30833 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30834 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30835 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30836 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30837 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30838 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30839 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30840 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30841 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30842 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30843 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30844 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30845 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30846 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30847 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30848 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30849 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30850 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30851 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30852 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30853 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30854 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30855 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30856 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30857 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
30858 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
30859 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
30860 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
30861 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
30862 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
30863 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
30864 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30865 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
30866 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
30867 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
30868 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
30869 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
30870 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
30871 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
30872 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
30873 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
30874 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
30875 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
30876 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
30878 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30879 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30880 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30881 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30883 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);