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 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1767 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1771 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1775 PyObject
* obj0
= 0 ;
1777 (char *) "index", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1781 arg1
= (int)SWIG_As_int(obj0
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 if (!wxPyCheckForApp()) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1792 wxColour
* resultptr
;
1793 resultptr
= new wxColour((wxColour
&) result
);
1794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1802 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1806 PyObject
* obj0
= 0 ;
1808 (char *) "index", NULL
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1812 arg1
= (int)SWIG_As_int(obj0
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 if (!wxPyCheckForApp()) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1824 resultptr
= new wxFont((wxFont
&) result
);
1825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1833 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1837 PyObject
* obj0
= 0 ;
1839 (char *) "index", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1843 arg1
= (int)SWIG_As_int(obj0
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 if (!wxPyCheckForApp()) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 resultobj
= SWIG_From_int((int)result
);
1860 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "index", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1870 arg1
= (int)SWIG_As_int(obj0
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 if (!wxPyCheckForApp()) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1889 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1898 if (!wxPyCheckForApp()) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (int)wxSystemSettings::GetScreenType();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 resultobj
= SWIG_From_int((int)result
);
1912 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1915 PyObject
* obj0
= 0 ;
1917 (char *) "screen", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1921 arg1
= (int)SWIG_As_int(obj0
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 if (!wxPyCheckForApp()) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1941 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1943 return Py_BuildValue((char *)"");
1945 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1946 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1951 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1956 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1958 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1965 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxSystemOptions
*result
;
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (wxSystemOptions
*)new wxSystemOptions();
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1987 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxString
*arg1
= 0 ;
1990 wxString
*arg2
= 0 ;
1991 bool temp1
= false ;
1992 bool temp2
= false ;
1993 PyObject
* obj0
= 0 ;
1994 PyObject
* obj1
= 0 ;
1996 (char *) "name",(char *) "value", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2001 arg1
= wxString_in_helper(obj0
);
2002 if (arg1
== NULL
) SWIG_fail
;
2006 arg2
= wxString_in_helper(obj1
);
2007 if (arg2
== NULL
) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 Py_INCREF(Py_None
); resultobj
= Py_None
;
2040 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxString
*arg1
= 0 ;
2044 bool temp1
= false ;
2045 PyObject
* obj0
= 0 ;
2046 PyObject
* obj1
= 0 ;
2048 (char *) "name",(char *) "value", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2053 arg1
= wxString_in_helper(obj0
);
2054 if (arg1
== NULL
) SWIG_fail
;
2057 arg2
= (int)SWIG_As_int(obj1
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) SWIG_fail
;
2066 Py_INCREF(Py_None
); resultobj
= Py_None
;
2081 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2083 wxString
*arg1
= 0 ;
2085 bool temp1
= false ;
2086 PyObject
* obj0
= 0 ;
2088 (char *) "name", NULL
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2093 arg1
= wxString_in_helper(obj0
);
2094 if (arg1
== NULL
) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2125 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxString
*arg1
= 0 ;
2129 bool temp1
= false ;
2130 PyObject
* obj0
= 0 ;
2132 (char *) "name", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2137 arg1
= wxString_in_helper(obj0
);
2138 if (arg1
== NULL
) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 resultobj
= SWIG_From_int((int)result
);
2163 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
*resultobj
;
2165 wxString
*arg1
= 0 ;
2167 bool temp1
= false ;
2168 PyObject
* obj0
= 0 ;
2170 (char *) "name", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2175 arg1
= wxString_in_helper(obj0
);
2176 if (arg1
== NULL
) SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2203 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2206 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2208 return Py_BuildValue((char *)"");
2210 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2211 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2216 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2221 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2223 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2230 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2231 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2236 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2241 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2243 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2250 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2251 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2256 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2261 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2263 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2270 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 result
= (long)wxNewId();
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 resultobj
= SWIG_From_long((long)result
);
2292 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2295 PyObject
* obj0
= 0 ;
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2301 arg1
= (long)SWIG_As_long(obj0
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 Py_INCREF(Py_None
); resultobj
= Py_None
;
2317 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
*resultobj
;
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 result
= (long)wxGetCurrentId();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 resultobj
= SWIG_From_long((long)result
);
2339 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2343 PyObject
* obj0
= 0 ;
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2349 arg1
= (int)SWIG_As_int(obj0
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (bool)wxIsStockID(arg1
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2367 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2370 wxString
*arg2
= 0 ;
2372 bool temp2
= false ;
2373 PyObject
* obj0
= 0 ;
2374 PyObject
* obj1
= 0 ;
2376 (char *) "id",(char *) "label", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2380 arg1
= (int)SWIG_As_int(obj0
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 arg2
= wxString_in_helper(obj1
);
2384 if (arg2
== NULL
) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2411 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
*resultobj
;
2415 PyObject
* obj0
= 0 ;
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2421 arg1
= (int)SWIG_As_int(obj0
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 result
= wxGetStockLabel(arg1
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2443 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2451 if (!wxPyCheckForApp()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2465 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2473 if (!wxPyCheckForApp()) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 bool arg1
= (bool) true ;
2491 PyObject
* obj0
= 0 ;
2493 (char *) "resetTimer", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2498 arg1
= (bool)SWIG_As_bool(obj0
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 result
= (long)wxGetElapsedTime(arg1
);
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 resultobj
= SWIG_From_long((long)result
);
2515 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 int *arg1
= (int *) 0 ;
2518 int *arg2
= (int *) 0 ;
2527 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2528 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2531 if (!wxPyCheckForApp()) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 wxGetMousePosition(arg1
,arg2
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2539 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2540 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2541 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2542 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2549 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 result
= (bool)wxIsBusy();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2573 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2601 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2603 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2604 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2606 bool temp1
= false ;
2607 PyObject
* obj0
= 0 ;
2609 (char *) "command", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2615 arg1
= wxString_in_helper(obj0
);
2616 if (arg1
== NULL
) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (bool)wxShell((wxString
const &)*arg1
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2644 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 Py_INCREF(Py_None
); resultobj
= Py_None
;
2665 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 int *arg1
= (int *) 0 ;
2668 int *arg2
= (int *) 0 ;
2678 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2679 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 result
= (int)wxGetOsVersion(arg1
,arg2
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= SWIG_From_int((int)result
);
2689 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2690 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2691 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2692 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2699 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= wxGetOsDescription();
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2727 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (long)wxGetFreeMemory();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= SWIG_From_long((long)result
);
2749 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2753 PyObject
* obj0
= 0 ;
2755 (char *) "wFlags", NULL
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2759 arg1
= (int)SWIG_As_int(obj0
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 if (!wxPyCheckForApp()) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2778 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2781 PyObject
* obj0
= 0 ;
2783 (char *) "secs", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2787 arg1
= (int)SWIG_As_int(obj0
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2796 Py_INCREF(Py_None
); resultobj
= Py_None
;
2803 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
*resultobj
;
2805 unsigned long arg1
;
2806 PyObject
* obj0
= 0 ;
2808 (char *) "milliseconds", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2812 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 unsigned long arg1
;
2831 PyObject
* obj0
= 0 ;
2833 (char *) "microseconds", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2837 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 Py_INCREF(Py_None
); resultobj
= Py_None
;
2853 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "enable", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2862 arg1
= (bool)SWIG_As_bool(obj0
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxEnableTopLevelWindows(arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 Py_INCREF(Py_None
); resultobj
= Py_None
;
2878 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxString
*arg1
= 0 ;
2882 bool temp1
= false ;
2883 PyObject
* obj0
= 0 ;
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2890 arg1
= wxString_in_helper(obj0
);
2891 if (arg1
== NULL
) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2922 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= wxGetEmailAddress();
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2950 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= wxGetHostName();
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2978 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= wxGetFullHostName();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3006 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 result
= wxGetUserId();
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3034 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= wxGetUserName();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3062 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= wxGetHomeDir();
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3090 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3093 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3095 bool temp1
= false ;
3096 PyObject
* obj0
= 0 ;
3098 (char *) "user", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3104 arg1
= wxString_in_helper(obj0
);
3105 if (arg1
== NULL
) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= wxGetUserHome((wxString
const &)*arg1
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3137 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 unsigned long result
;
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 result
= (unsigned long)wxGetProcessId();
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3159 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 Py_INCREF(Py_None
); resultobj
= Py_None
;
3180 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3183 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3184 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3185 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3188 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3189 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3190 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3191 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3192 int arg6
= (int) 0 ;
3193 wxWindow
*arg7
= (wxWindow
*) NULL
;
3194 int arg8
= (int) -1 ;
3195 int arg9
= (int) -1 ;
3197 bool temp1
= false ;
3198 bool temp2
= false ;
3199 bool temp3
= false ;
3200 bool temp4
= false ;
3201 bool temp5
= false ;
3202 PyObject
* obj0
= 0 ;
3203 PyObject
* obj1
= 0 ;
3204 PyObject
* obj2
= 0 ;
3205 PyObject
* obj3
= 0 ;
3206 PyObject
* obj4
= 0 ;
3207 PyObject
* obj5
= 0 ;
3208 PyObject
* obj6
= 0 ;
3209 PyObject
* obj7
= 0 ;
3210 PyObject
* obj8
= 0 ;
3212 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3218 arg1
= wxString_in_helper(obj0
);
3219 if (arg1
== NULL
) SWIG_fail
;
3225 arg2
= wxString_in_helper(obj1
);
3226 if (arg2
== NULL
) SWIG_fail
;
3232 arg3
= wxString_in_helper(obj2
);
3233 if (arg3
== NULL
) SWIG_fail
;
3239 arg4
= wxString_in_helper(obj3
);
3240 if (arg4
== NULL
) SWIG_fail
;
3246 arg5
= wxString_in_helper(obj4
);
3247 if (arg5
== NULL
) SWIG_fail
;
3252 arg6
= (int)SWIG_As_int(obj5
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3256 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3260 arg8
= (int)SWIG_As_int(obj7
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3264 arg9
= (int)SWIG_As_int(obj8
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3268 if (!wxPyCheckForApp()) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3328 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxString
*arg1
= 0 ;
3331 wxString
*arg2
= 0 ;
3332 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3333 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3334 wxWindow
*arg4
= (wxWindow
*) NULL
;
3336 bool temp1
= false ;
3337 bool temp2
= false ;
3338 bool temp3
= false ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3341 PyObject
* obj2
= 0 ;
3342 PyObject
* obj3
= 0 ;
3344 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3349 arg1
= wxString_in_helper(obj0
);
3350 if (arg1
== NULL
) SWIG_fail
;
3354 arg2
= wxString_in_helper(obj1
);
3355 if (arg2
== NULL
) SWIG_fail
;
3360 arg3
= wxString_in_helper(obj2
);
3361 if (arg3
== NULL
) SWIG_fail
;
3366 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3370 if (!wxPyCheckForApp()) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3414 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxString
*arg1
= 0 ;
3417 wxString
*arg2
= 0 ;
3418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3420 wxWindow
*arg4
= (wxWindow
*) NULL
;
3422 bool temp1
= false ;
3423 bool temp2
= false ;
3424 bool temp3
= false ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3428 PyObject
* obj3
= 0 ;
3430 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3435 arg1
= wxString_in_helper(obj0
);
3436 if (arg1
== NULL
) SWIG_fail
;
3440 arg2
= wxString_in_helper(obj1
);
3441 if (arg2
== NULL
) SWIG_fail
;
3446 arg3
= wxString_in_helper(obj2
);
3447 if (arg3
== NULL
) SWIG_fail
;
3452 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3456 if (!wxPyCheckForApp()) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3500 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3503 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3504 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3505 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3506 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3507 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3508 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3509 wxWindow
*arg5
= (wxWindow
*) NULL
;
3511 bool temp1
= false ;
3512 bool temp2
= false ;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3516 PyObject
* obj2
= 0 ;
3517 PyObject
* obj3
= 0 ;
3518 PyObject
* obj4
= 0 ;
3520 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3526 arg1
= wxString_in_helper(obj0
);
3527 if (arg1
== NULL
) SWIG_fail
;
3533 arg2
= wxString_in_helper(obj1
);
3534 if (arg2
== NULL
) SWIG_fail
;
3539 arg3
= (long)SWIG_As_long(obj2
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3549 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 if (!wxPyCheckForApp()) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3589 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxString
*arg1
= 0 ;
3592 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3593 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3594 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3596 wxWindow
*arg4
= (wxWindow
*) NULL
;
3597 int arg5
= (int) -1 ;
3598 int arg6
= (int) -1 ;
3599 bool arg7
= (bool) true ;
3601 bool temp1
= false ;
3602 bool temp2
= false ;
3603 bool temp3
= false ;
3604 PyObject
* obj0
= 0 ;
3605 PyObject
* obj1
= 0 ;
3606 PyObject
* obj2
= 0 ;
3607 PyObject
* obj3
= 0 ;
3608 PyObject
* obj4
= 0 ;
3609 PyObject
* obj5
= 0 ;
3610 PyObject
* obj6
= 0 ;
3612 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3617 arg1
= wxString_in_helper(obj0
);
3618 if (arg1
== NULL
) SWIG_fail
;
3623 arg2
= wxString_in_helper(obj1
);
3624 if (arg2
== NULL
) SWIG_fail
;
3630 arg3
= wxString_in_helper(obj2
);
3631 if (arg3
== NULL
) SWIG_fail
;
3636 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 arg5
= (int)SWIG_As_int(obj4
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 arg6
= (int)SWIG_As_int(obj5
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 arg7
= (bool)SWIG_As_bool(obj6
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 if (!wxPyCheckForApp()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3696 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxString
*arg1
= 0 ;
3699 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3700 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3701 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3702 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3703 wxWindow
*arg4
= (wxWindow
*) NULL
;
3705 bool temp1
= false ;
3706 bool temp2
= false ;
3707 bool temp3
= false ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3710 PyObject
* obj2
= 0 ;
3711 PyObject
* obj3
= 0 ;
3713 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3718 arg1
= wxString_in_helper(obj0
);
3719 if (arg1
== NULL
) SWIG_fail
;
3724 arg2
= wxString_in_helper(obj1
);
3725 if (arg2
== NULL
) SWIG_fail
;
3731 arg3
= wxString_in_helper(obj2
);
3732 if (arg3
== NULL
) SWIG_fail
;
3737 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 if (!wxPyCheckForApp()) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3785 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxString
*arg1
= 0 ;
3788 wxString
*arg2
= 0 ;
3790 wxString
*arg4
= (wxString
*) 0 ;
3791 wxWindow
*arg5
= (wxWindow
*) NULL
;
3792 int arg6
= (int) -1 ;
3793 int arg7
= (int) -1 ;
3794 bool arg8
= (bool) true ;
3795 int arg9
= (int) 150 ;
3796 int arg10
= (int) 200 ;
3798 bool temp1
= false ;
3799 bool temp2
= false ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3804 PyObject
* obj4
= 0 ;
3805 PyObject
* obj5
= 0 ;
3806 PyObject
* obj6
= 0 ;
3807 PyObject
* obj7
= 0 ;
3808 PyObject
* obj8
= 0 ;
3810 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3815 arg1
= wxString_in_helper(obj0
);
3816 if (arg1
== NULL
) SWIG_fail
;
3820 arg2
= wxString_in_helper(obj1
);
3821 if (arg2
== NULL
) SWIG_fail
;
3825 arg3
= PyList_Size(obj2
);
3826 arg4
= wxString_LIST_helper(obj2
);
3827 if (arg4
== NULL
) SWIG_fail
;
3830 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3834 arg6
= (int)SWIG_As_int(obj4
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 arg7
= (int)SWIG_As_int(obj5
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3842 arg8
= (bool)SWIG_As_bool(obj6
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 arg9
= (int)SWIG_As_int(obj7
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 arg10
= (int)SWIG_As_int(obj8
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3854 if (!wxPyCheckForApp()) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3877 if (arg4
) delete [] arg4
;
3890 if (arg4
) delete [] arg4
;
3896 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxString
*arg1
= 0 ;
3899 wxString
*arg2
= 0 ;
3901 wxString
*arg4
= (wxString
*) 0 ;
3902 wxWindow
*arg5
= (wxWindow
*) NULL
;
3903 int arg6
= (int) -1 ;
3904 int arg7
= (int) -1 ;
3905 bool arg8
= (bool) true ;
3906 int arg9
= (int) 150 ;
3907 int arg10
= (int) 200 ;
3909 bool temp1
= false ;
3910 bool temp2
= false ;
3911 PyObject
* obj0
= 0 ;
3912 PyObject
* obj1
= 0 ;
3913 PyObject
* obj2
= 0 ;
3914 PyObject
* obj3
= 0 ;
3915 PyObject
* obj4
= 0 ;
3916 PyObject
* obj5
= 0 ;
3917 PyObject
* obj6
= 0 ;
3918 PyObject
* obj7
= 0 ;
3919 PyObject
* obj8
= 0 ;
3921 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3926 arg1
= wxString_in_helper(obj0
);
3927 if (arg1
== NULL
) SWIG_fail
;
3931 arg2
= wxString_in_helper(obj1
);
3932 if (arg2
== NULL
) SWIG_fail
;
3936 arg3
= PyList_Size(obj2
);
3937 arg4
= wxString_LIST_helper(obj2
);
3938 if (arg4
== NULL
) SWIG_fail
;
3941 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3945 arg6
= (int)SWIG_As_int(obj4
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 arg7
= (int)SWIG_As_int(obj5
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3953 arg8
= (bool)SWIG_As_bool(obj6
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 arg9
= (int)SWIG_As_int(obj7
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3961 arg10
= (int)SWIG_As_int(obj8
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 if (!wxPyCheckForApp()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= SWIG_From_int((int)result
);
3982 if (arg4
) delete [] arg4
;
3995 if (arg4
) delete [] arg4
;
4001 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxString
*arg1
= 0 ;
4004 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4005 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4006 int arg3
= (int) wxOK
|wxCENTRE
;
4007 wxWindow
*arg4
= (wxWindow
*) NULL
;
4008 int arg5
= (int) -1 ;
4009 int arg6
= (int) -1 ;
4011 bool temp1
= false ;
4012 bool temp2
= false ;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4015 PyObject
* obj2
= 0 ;
4016 PyObject
* obj3
= 0 ;
4017 PyObject
* obj4
= 0 ;
4018 PyObject
* obj5
= 0 ;
4020 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4025 arg1
= wxString_in_helper(obj0
);
4026 if (arg1
== NULL
) SWIG_fail
;
4031 arg2
= wxString_in_helper(obj1
);
4032 if (arg2
== NULL
) SWIG_fail
;
4037 arg3
= (int)SWIG_As_int(obj2
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4041 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 arg5
= (int)SWIG_As_int(obj4
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 arg6
= (int)SWIG_As_int(obj5
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4053 if (!wxPyCheckForApp()) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_From_int((int)result
);
4083 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxString
*arg1
= 0 ;
4086 wxString
*arg2
= 0 ;
4087 wxString
*arg3
= 0 ;
4089 long arg5
= (long) 0 ;
4090 long arg6
= (long) 100 ;
4091 wxWindow
*arg7
= (wxWindow
*) NULL
;
4092 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4093 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4095 bool temp1
= false ;
4096 bool temp2
= false ;
4097 bool temp3
= false ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4101 PyObject
* obj2
= 0 ;
4102 PyObject
* obj3
= 0 ;
4103 PyObject
* obj4
= 0 ;
4104 PyObject
* obj5
= 0 ;
4105 PyObject
* obj6
= 0 ;
4106 PyObject
* obj7
= 0 ;
4108 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4113 arg1
= wxString_in_helper(obj0
);
4114 if (arg1
== NULL
) SWIG_fail
;
4118 arg2
= wxString_in_helper(obj1
);
4119 if (arg2
== NULL
) SWIG_fail
;
4123 arg3
= wxString_in_helper(obj2
);
4124 if (arg3
== NULL
) SWIG_fail
;
4127 arg4
= (long)SWIG_As_long(obj3
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 arg5
= (long)SWIG_As_long(obj4
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4134 arg6
= (long)SWIG_As_long(obj5
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4148 if (!wxPyCheckForApp()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_From_long((long)result
);
4186 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4195 if (!wxPyCheckForApp()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (bool)wxColourDisplay();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4211 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4220 if (!wxPyCheckForApp()) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (int)wxDisplayDepth();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_From_int((int)result
);
4234 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4243 if (!wxPyCheckForApp()) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (int)wxGetDisplayDepth();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_From_int((int)result
);
4257 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 int *arg1
= (int *) 0 ;
4260 int *arg2
= (int *) 0 ;
4269 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4270 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4273 if (!wxPyCheckForApp()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxDisplaySize(arg1
,arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4281 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4282 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4283 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4284 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4291 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4300 if (!wxPyCheckForApp()) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= wxGetDisplaySize();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4309 resultptr
= new wxSize((wxSize
&) result
);
4310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4318 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 int *arg1
= (int *) 0 ;
4321 int *arg2
= (int *) 0 ;
4330 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4331 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4334 if (!wxPyCheckForApp()) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 wxDisplaySizeMM(arg1
,arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4343 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4344 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4345 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4352 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4361 if (!wxPyCheckForApp()) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= wxGetDisplaySizeMM();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4370 resultptr
= new wxSize((wxSize
&) result
);
4371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4379 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 int *arg1
= (int *) 0 ;
4382 int *arg2
= (int *) 0 ;
4383 int *arg3
= (int *) 0 ;
4384 int *arg4
= (int *) 0 ;
4397 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4398 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4399 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4400 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4403 if (!wxPyCheckForApp()) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 Py_INCREF(Py_None
); resultobj
= Py_None
;
4411 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4412 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4413 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4414 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4415 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4416 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4417 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4418 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4425 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4434 if (!wxPyCheckForApp()) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= wxGetClientDisplayRect();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4443 resultptr
= new wxRect((wxRect
&) result
);
4444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4452 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxCursor
*arg1
= 0 ;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "cursor", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4465 PyErr_SetString(PyExc_TypeError
,"null reference");
4469 if (!wxPyCheckForApp()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4486 PyObject
* obj0
= 0 ;
4488 (char *) "cursor", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4497 if (!wxPyCheckForApp()) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxBeginBusyCursor(arg1
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 Py_INCREF(Py_None
); resultobj
= Py_None
;
4511 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4520 if (!wxPyCheckForApp()) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (wxWindow
*)wxGetActiveWindow();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= wxPyMake_wxObject(result
, 0);
4536 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4541 PyObject
* obj0
= 0 ;
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4549 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4552 if (!wxPyCheckForApp()) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= wxPyMake_wxObject(result
, 0);
4568 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4573 PyObject
* obj0
= 0 ;
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4581 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4584 if (!wxPyCheckForApp()) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= wxPyMake_wxObject(result
, 0);
4600 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxWindow
*arg1
= (wxWindow
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "win", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= wxPyMake_wxObject(result
, 0);
4629 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "key", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4639 arg1
= (int)SWIG_As_int(obj0
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 if (!wxPyCheckForApp()) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4658 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4666 if (!wxPyCheckForApp()) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 wxWakeUpMainThread();
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 Py_INCREF(Py_None
); resultobj
= Py_None
;
4680 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4688 if (!wxPyCheckForApp()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 Py_INCREF(Py_None
); resultobj
= Py_None
;
4702 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4710 if (!wxPyCheckForApp()) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 Py_INCREF(Py_None
); resultobj
= Py_None
;
4724 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxMutexGuiLocker
*result
;
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4733 if (!wxPyCheckForApp()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4747 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 Py_INCREF(Py_None
); resultobj
= Py_None
;
4772 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4775 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4777 return Py_BuildValue((char *)"");
4779 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (bool)wxThread_IsMain();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4803 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
;
4805 wxString
*arg1
= 0 ;
4807 bool temp1
= false ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "tip", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4815 arg1
= wxString_in_helper(obj0
);
4816 if (arg1
== NULL
) SWIG_fail
;
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= wxPyMake_wxObject(result
, 1);
4844 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4847 wxString
*arg2
= 0 ;
4848 bool temp2
= false ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "tip", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4859 arg2
= wxString_in_helper(obj1
);
4860 if (arg2
== NULL
) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 (arg1
)->SetTip((wxString
const &)*arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (arg1
)->GetTip();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4917 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4923 (char *) "self", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= (wxWindow
*)(arg1
)->GetWindow();
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= wxPyMake_wxObject(result
, 0);
4945 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "flag", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4954 arg1
= (bool)SWIG_As_bool(obj0
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 wxToolTip::Enable(arg1
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "milliseconds", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4979 arg1
= (long)SWIG_As_long(obj0
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxToolTip::SetDelay(arg1
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4998 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5000 return Py_BuildValue((char *)"");
5002 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxWindow
*arg1
= (wxWindow
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5011 (char *) "window",(char *) "size", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5022 if (!wxPyCheckForApp()) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5036 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxCaret
*arg1
= (wxCaret
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5041 (char *) "self", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxCaret
*arg1
= (wxCaret
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (bool)(arg1
)->IsOk();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5089 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxCaret
*arg1
= (wxCaret
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5095 (char *) "self", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (bool)(arg1
)->IsVisible();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5117 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxCaret
*arg1
= (wxCaret
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5123 (char *) "self", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (arg1
)->GetPosition();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 wxPoint
* resultptr
;
5138 resultptr
= new wxPoint((wxPoint
&) result
);
5139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5147 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxCaret
*arg1
= (wxCaret
*) 0 ;
5150 int *arg2
= (int *) 0 ;
5151 int *arg3
= (int *) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5162 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->GetPosition(arg2
,arg3
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 Py_INCREF(Py_None
); resultobj
= Py_None
;
5174 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5175 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5176 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5177 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5184 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxCaret
*arg1
= (wxCaret
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (arg1
)->GetSize();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5205 resultptr
= new wxSize((wxSize
&) result
);
5206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5214 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxCaret
*arg1
= (wxCaret
*) 0 ;
5217 int *arg2
= (int *) 0 ;
5218 int *arg3
= (int *) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5229 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 (arg1
)->GetSize(arg2
,arg3
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 Py_INCREF(Py_None
); resultobj
= Py_None
;
5241 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5242 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5243 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5244 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5251 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxCaret
*arg1
= (wxCaret
*) 0 ;
5255 PyObject
* obj0
= 0 ;
5257 (char *) "self", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (wxWindow
*)(arg1
)->GetWindow();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= wxPyMake_wxObject(result
, 0);
5279 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxCaret
*arg1
= (wxCaret
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5286 PyObject
* obj2
= 0 ;
5288 (char *) "self",(char *) "x",(char *) "y", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5294 arg2
= (int)SWIG_As_int(obj1
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5296 arg3
= (int)SWIG_As_int(obj2
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->Move(arg2
,arg3
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 Py_INCREF(Py_None
); resultobj
= Py_None
;
5312 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxCaret
*arg1
= (wxCaret
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5320 (char *) "self",(char *) "pt", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->Move((wxPoint
const &)*arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 Py_INCREF(Py_None
); resultobj
= Py_None
;
5344 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxCaret
*arg1
= (wxCaret
*) 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5353 (char *) "self",(char *) "width",(char *) "height", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 arg2
= (int)SWIG_As_int(obj1
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5361 arg3
= (int)SWIG_As_int(obj2
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 (arg1
)->SetSize(arg2
,arg3
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxCaret
*arg1
= (wxCaret
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "size", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->SetSize((wxSize
const &)*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxCaret
*arg1
= (wxCaret
*) 0 ;
5412 int arg2
= (int) true ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5416 (char *) "self",(char *) "show", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5423 arg2
= (int)SWIG_As_int(obj1
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 Py_INCREF(Py_None
); resultobj
= Py_None
;
5440 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxCaret
*arg1
= (wxCaret
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 Py_INCREF(Py_None
); resultobj
= Py_None
;
5465 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5468 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5470 return Py_BuildValue((char *)"");
5472 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (int)wxCaret_GetBlinkTime();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_From_int((int)result
);
5494 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5497 PyObject
* obj0
= 0 ;
5499 (char *) "milliseconds", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5503 arg1
= (int)SWIG_As_int(obj0
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 wxCaret_SetBlinkTime(arg1
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5522 wxBusyCursor
*result
;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "cursor", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 if (!wxPyCheckForApp()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5548 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5553 (char *) "self", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5576 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5578 return Py_BuildValue((char *)"");
5580 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxWindow
*arg1
= (wxWindow
*) NULL
;
5583 wxWindowDisabler
*result
;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "winToSkip", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 if (!wxPyCheckForApp()) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5609 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5614 (char *) "self", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5637 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5639 return Py_BuildValue((char *)"");
5641 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxString
*arg1
= 0 ;
5645 bool temp1
= false ;
5646 PyObject
* obj0
= 0 ;
5648 (char *) "message", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5653 arg1
= wxString_in_helper(obj0
);
5654 if (arg1
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5680 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5685 (char *) "self", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5708 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5710 return Py_BuildValue((char *)"");
5712 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxStopWatch
*result
;
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (wxStopWatch
*)new wxStopWatch();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5734 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5737 long arg2
= (long) 0 ;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5741 (char *) "self",(char *) "t0", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 arg2
= (long)SWIG_As_long(obj1
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 (arg1
)->Start(arg2
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5768 PyObject
* obj0
= 0 ;
5770 (char *) "self", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 Py_INCREF(Py_None
); resultobj
= Py_None
;
5790 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5793 PyObject
* obj0
= 0 ;
5795 (char *) "self", NULL
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= SWIG_From_long((long)result
);
5841 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5844 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5846 return Py_BuildValue((char *)"");
5848 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 int arg1
= (int) 9 ;
5851 int arg2
= (int) wxID_FILE1
;
5852 wxFileHistory
*result
;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5856 (char *) "maxFiles",(char *) "idBase", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5861 arg1
= (int)SWIG_As_int(obj0
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 arg2
= (int)SWIG_As_int(obj1
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5882 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5887 (char *) "self", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5907 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5910 wxString
*arg2
= 0 ;
5911 bool temp2
= false ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5915 (char *) "self",(char *) "file", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5922 arg2
= wxString_in_helper(obj1
);
5923 if (arg2
== NULL
) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5952 PyObject
* obj0
= 0 ;
5953 PyObject
* obj1
= 0 ;
5955 (char *) "self",(char *) "i", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5961 arg2
= (int)SWIG_As_int(obj1
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 (arg1
)->RemoveFileFromHistory(arg2
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 Py_INCREF(Py_None
); resultobj
= Py_None
;
5977 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_From_int((int)result
);
6003 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6006 wxMenu
*arg2
= (wxMenu
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6010 (char *) "self",(char *) "menu", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 (arg1
)->UseMenu(arg2
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 Py_INCREF(Py_None
); resultobj
= Py_None
;
6032 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6035 wxMenu
*arg2
= (wxMenu
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "menu", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 (arg1
)->RemoveMenu(arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6064 wxConfigBase
*arg2
= 0 ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6068 (char *) "self",(char *) "config", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6078 PyErr_SetString(PyExc_TypeError
,"null reference");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 (arg1
)->Load(*arg2
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 Py_INCREF(Py_None
); resultobj
= Py_None
;
6095 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6098 wxConfigBase
*arg2
= 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "config", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6112 PyErr_SetString(PyExc_TypeError
,"null reference");
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 (arg1
)->Save(*arg2
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 Py_INCREF(Py_None
); resultobj
= Py_None
;
6129 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6134 (char *) "self", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 (arg1
)->AddFilesToMenu();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 Py_INCREF(Py_None
); resultobj
= Py_None
;
6154 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6157 wxMenu
*arg2
= (wxMenu
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6161 (char *) "self",(char *) "menu", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 (arg1
)->AddFilesToMenu(arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6191 (char *) "self",(char *) "i", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 arg2
= (int)SWIG_As_int(obj1
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6219 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_From_int((int)result
);
6245 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6248 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6250 return Py_BuildValue((char *)"");
6252 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxString
*arg1
= 0 ;
6255 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6256 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6257 wxSingleInstanceChecker
*result
;
6258 bool temp1
= false ;
6259 bool temp2
= false ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6263 (char *) "name",(char *) "path", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 arg1
= wxString_in_helper(obj0
);
6269 if (arg1
== NULL
) SWIG_fail
;
6274 arg2
= wxString_in_helper(obj1
);
6275 if (arg2
== NULL
) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6309 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxSingleInstanceChecker
*result
;
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6331 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6356 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6359 wxString
*arg2
= 0 ;
6360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6363 bool temp2
= false ;
6364 bool temp3
= false ;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 PyObject
* obj2
= 0 ;
6369 (char *) "self",(char *) "name",(char *) "path", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 arg2
= wxString_in_helper(obj1
);
6377 if (arg2
== NULL
) SWIG_fail
;
6382 arg3
= wxString_in_helper(obj2
);
6383 if (arg3
== NULL
) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "self", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6447 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6450 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6452 return Py_BuildValue((char *)"");
6454 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxWindow
*arg1
= (wxWindow
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 PyObject
* obj2
= 0 ;
6463 (char *) "window",(char *) "dc",(char *) "method", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6473 PyErr_SetString(PyExc_TypeError
,"null reference");
6476 arg3
= (int)SWIG_As_int(obj2
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 Py_INCREF(Py_None
); resultobj
= Py_None
;
6492 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 (char *) "self", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 Py_INCREF(Py_None
); resultobj
= Py_None
;
6517 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (arg1
)->GetTip();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6549 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6555 (char *) "self", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 result
= (size_t)(arg1
)->GetCurrentTip();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6575 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6578 wxString
*arg2
= 0 ;
6580 bool temp2
= false ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6584 (char *) "self",(char *) "tip", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6591 arg2
= wxString_in_helper(obj1
);
6592 if (arg2
== NULL
) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6623 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6626 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6628 return Py_BuildValue((char *)"");
6630 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6633 wxPyTipProvider
*result
;
6634 PyObject
* obj0
= 0 ;
6636 (char *) "currentTip", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6640 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6656 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6659 PyObject
*arg2
= (PyObject
*) 0 ;
6660 PyObject
*arg3
= (PyObject
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6662 PyObject
* obj1
= 0 ;
6663 PyObject
* obj2
= 0 ;
6665 (char *) "self",(char *) "self",(char *) "_class", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6690 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6692 return Py_BuildValue((char *)"");
6694 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxWindow
*arg1
= (wxWindow
*) 0 ;
6697 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6698 bool arg3
= (bool) true ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6704 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg3
= (bool)SWIG_As_bool(obj2
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6717 if (!wxPyCheckForApp()) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6733 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxString
*arg1
= 0 ;
6737 wxTipProvider
*result
;
6738 bool temp1
= false ;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6742 (char *) "filename",(char *) "currentTip", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6747 arg1
= wxString_in_helper(obj0
);
6748 if (arg1
== NULL
) SWIG_fail
;
6751 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 if (!wxPyCheckForApp()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6776 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6779 int arg2
= (int) -1 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "owner",(char *) "id", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6793 arg2
= (int)SWIG_As_int(obj1
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6797 if (!wxPyCheckForApp()) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6811 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "self", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 Py_INCREF(Py_None
); resultobj
= Py_None
;
6836 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6839 PyObject
*arg2
= (PyObject
*) 0 ;
6840 PyObject
*arg3
= (PyObject
*) 0 ;
6841 int arg4
= (int) 1 ;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 PyObject
* obj2
= 0 ;
6845 PyObject
* obj3
= 0 ;
6847 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6856 arg4
= (int)SWIG_As_int(obj3
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6873 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6876 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6877 int arg3
= (int) -1 ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6880 PyObject
* obj2
= 0 ;
6882 (char *) "self",(char *) "owner",(char *) "id", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 arg3
= (int)SWIG_As_int(obj2
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetOwner(arg2
,arg3
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6911 wxEvtHandler
*result
;
6912 PyObject
* obj0
= 0 ;
6914 (char *) "self", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= wxPyMake_wxObject(result
, 0);
6936 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6939 int arg2
= (int) -1 ;
6940 bool arg3
= (bool) false ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 PyObject
* obj2
= 0 ;
6946 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 arg2
= (int)SWIG_As_int(obj1
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 arg3
= (bool)SWIG_As_bool(obj2
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6976 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6981 (char *) "self", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 Py_INCREF(Py_None
); resultobj
= Py_None
;
7001 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7007 (char *) "self", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7029 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7035 (char *) "self", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_From_int((int)result
);
7055 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7083 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_From_int((int)result
);
7109 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7112 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7114 return Py_BuildValue((char *)"");
7116 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 int arg1
= (int) 0 ;
7119 int arg2
= (int) 0 ;
7120 wxTimerEvent
*result
;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7124 (char *) "timerid",(char *) "interval", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7129 arg1
= (int)SWIG_As_int(obj0
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 arg2
= (int)SWIG_As_int(obj1
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7150 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "self", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_From_int((int)result
);
7176 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7179 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7181 return Py_BuildValue((char *)"");
7183 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7184 PyObject
*resultobj
;
7186 wxTimerRunner
*result
;
7187 PyObject
* obj0
= 0 ;
7189 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7194 PyErr_SetString(PyExc_TypeError
,"null reference");
7198 if (!wxPyCheckForApp()) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7212 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7213 PyObject
*resultobj
;
7216 bool arg3
= (bool) false ;
7217 wxTimerRunner
*result
;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7222 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7227 PyErr_SetString(PyExc_TypeError
,"null reference");
7230 arg2
= (int)SWIG_As_int(obj1
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 arg3
= (bool)SWIG_As_bool(obj2
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7237 if (!wxPyCheckForApp()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7251 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7256 argc
= PyObject_Length(args
);
7257 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7258 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7264 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7272 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7275 if ((argc
>= 2) && (argc
<= 3)) {
7279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7287 _v
= SWIG_Check_int(argv
[1]);
7290 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7292 _v
= SWIG_Check_bool(argv
[2]);
7294 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7300 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7305 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7310 (char *) "self", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 Py_INCREF(Py_None
); resultobj
= Py_None
;
7330 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7334 bool arg3
= (bool) false ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7337 PyObject
* obj2
= 0 ;
7339 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 arg2
= (int)SWIG_As_int(obj1
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 arg3
= (bool)SWIG_As_bool(obj2
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 (arg1
)->Start(arg2
,arg3
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7368 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7370 return Py_BuildValue((char *)"");
7372 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxLog
*)new wxLog();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7394 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (bool)wxLog::IsEnabled();
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7418 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 bool arg1
= (bool) true ;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "doIt", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7429 arg1
= (bool)SWIG_As_bool(obj0
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (bool)wxLog::EnableLogging(arg1
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7451 wxChar
*arg2
= (wxChar
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7455 PyObject
* obj2
= 0 ;
7457 (char *) "level",(char *) "szString",(char *) "t", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7461 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxLog
*arg1
= (wxLog
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 Py_INCREF(Py_None
); resultobj
= Py_None
;
7506 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 wxLog::FlushActive();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxLog
*)wxLog::GetActiveTarget();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7549 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxLog
*arg1
= (wxLog
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "pLogger", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7575 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 Py_INCREF(Py_None
); resultobj
= Py_None
;
7596 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 Py_INCREF(Py_None
); resultobj
= Py_None
;
7617 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 bool arg1
= (bool) true ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "bVerbose", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7627 arg1
= (bool)SWIG_As_bool(obj0
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxLog::SetVerbose(arg1
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "logLevel", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7653 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 wxLog::SetLogLevel(arg1
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 wxLog::DontCreateOnDemand();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7690 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "ulMask", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7699 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 wxLog::SetTraceMask(arg1
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxString
*arg1
= 0 ;
7718 bool temp1
= false ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "str", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7726 arg1
= wxString_in_helper(obj0
);
7727 if (arg1
== NULL
) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 wxLog::AddTraceMask((wxString
const &)*arg1
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxString
*arg1
= 0 ;
7755 bool temp1
= false ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "str", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7763 arg1
= wxString_in_helper(obj0
);
7764 if (arg1
== NULL
) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7789 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 wxLog::ClearTraceMasks();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxArrayString
*result
;
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7822 result
= (wxArrayString
*) &_result_ref
;
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= wxArrayString2PyList_helper(*result
);
7837 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxChar
*arg1
= (wxChar
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 wxLog::SetTimestamp((wxChar
const *)arg1
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7862 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (bool)wxLog::GetVerbose();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7886 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxTraceMask
)wxLog::GetTraceMask();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7908 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxChar
*arg1
= (wxChar
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "mask", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7936 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (wxLogLevel
)wxLog::GetLogLevel();
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7958 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (wxChar
*)wxLog::GetTimestamp();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7980 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= Log_TimeStamp();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8008 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxLog
*arg1
= (wxLog
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxLog_Destroy(arg1
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8036 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8038 return Py_BuildValue((char *)"");
8040 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxLogStderr
*result
;
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (wxLogStderr
*)new wxLogStderr();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8062 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8065 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8067 return Py_BuildValue((char *)"");
8069 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8072 wxLogTextCtrl
*result
;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "pTextCtrl", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8095 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8098 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8100 return Py_BuildValue((char *)"");
8102 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (wxLogGui
*)new wxLogGui();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8124 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8127 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8129 return Py_BuildValue((char *)"");
8131 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxFrame
*arg1
= (wxFrame
*) 0 ;
8134 wxString
*arg2
= 0 ;
8135 bool arg3
= (bool) true ;
8136 bool arg4
= (bool) true ;
8137 wxLogWindow
*result
;
8138 bool temp2
= false ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8141 PyObject
* obj2
= 0 ;
8142 PyObject
* obj3
= 0 ;
8144 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8151 arg2
= wxString_in_helper(obj1
);
8152 if (arg2
== NULL
) SWIG_fail
;
8156 arg3
= (bool)SWIG_As_bool(obj2
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8160 arg4
= (bool)SWIG_As_bool(obj3
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8185 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8188 bool arg2
= (bool) true ;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8192 (char *) "self",(char *) "bShow", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8199 arg2
= (bool)SWIG_As_bool(obj1
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 Py_INCREF(Py_None
); resultobj
= Py_None
;
8216 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= wxPyMake_wxObject(result
, 0);
8244 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8250 (char *) "self", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8270 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8276 (char *) "self", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8298 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "bDoPass", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= (bool)SWIG_As_bool(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->PassMessages(arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8330 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8332 return Py_BuildValue((char *)"");
8334 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxLog
*arg1
= (wxLog
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "logger", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (wxLogChain
*)new wxLogChain(arg1
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8360 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8363 wxLog
*arg2
= (wxLog
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8367 (char *) "self",(char *) "logger", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->SetLog(arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "self",(char *) "bDoPass", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 arg2
= (bool)SWIG_As_bool(obj1
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 (arg1
)->PassMessages(arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8424 (char *) "self", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (bool)(arg1
)->IsPassingMessages();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8446 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (wxLog
*)(arg1
)->GetOldLog();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8472 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8475 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8477 return Py_BuildValue((char *)"");
8479 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 unsigned long result
;
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (unsigned long)wxSysErrorCode();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8501 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 unsigned long arg1
= (unsigned long) 0 ;
8505 PyObject
* obj0
= 0 ;
8507 (char *) "nErrCode", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8512 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= wxSysErrorMsg(arg1
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8535 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxString
*arg1
= 0 ;
8538 bool temp1
= false ;
8539 PyObject
* obj0
= 0 ;
8541 (char *) "msg", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8546 arg1
= wxString_in_helper(obj0
);
8547 if (arg1
== NULL
) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 wxLogFatalError((wxString
const &)*arg1
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxString
*arg1
= 0 ;
8575 bool temp1
= false ;
8576 PyObject
* obj0
= 0 ;
8578 (char *) "msg", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8583 arg1
= wxString_in_helper(obj0
);
8584 if (arg1
== NULL
) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 wxLogError((wxString
const &)*arg1
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxString
*arg1
= 0 ;
8612 bool temp1
= false ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "msg", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8620 arg1
= wxString_in_helper(obj0
);
8621 if (arg1
== NULL
) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 wxLogWarning((wxString
const &)*arg1
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxString
*arg1
= 0 ;
8649 bool temp1
= false ;
8650 PyObject
* obj0
= 0 ;
8652 (char *) "msg", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8657 arg1
= wxString_in_helper(obj0
);
8658 if (arg1
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 wxLogMessage((wxString
const &)*arg1
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8683 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
;
8685 wxString
*arg1
= 0 ;
8686 bool temp1
= false ;
8687 PyObject
* obj0
= 0 ;
8689 (char *) "msg", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8694 arg1
= wxString_in_helper(obj0
);
8695 if (arg1
== NULL
) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 wxLogInfo((wxString
const &)*arg1
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxString
*arg1
= 0 ;
8723 bool temp1
= false ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "msg", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8731 arg1
= wxString_in_helper(obj0
);
8732 if (arg1
== NULL
) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 wxLogDebug((wxString
const &)*arg1
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxString
*arg1
= 0 ;
8760 bool temp1
= false ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "msg", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8768 arg1
= wxString_in_helper(obj0
);
8769 if (arg1
== NULL
) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 wxLogVerbose((wxString
const &)*arg1
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxString
*arg1
= 0 ;
8797 bool temp1
= false ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "msg", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8805 arg1
= wxString_in_helper(obj0
);
8806 if (arg1
== NULL
) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 wxLogStatus((wxString
const &)*arg1
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxFrame
*arg1
= (wxFrame
*) 0 ;
8834 wxString
*arg2
= 0 ;
8835 bool temp2
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "pFrame",(char *) "msg", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8846 arg2
= wxString_in_helper(obj1
);
8847 if (arg2
== NULL
) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxString
*arg1
= 0 ;
8875 bool temp1
= false ;
8876 PyObject
* obj0
= 0 ;
8878 (char *) "msg", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8883 arg1
= wxString_in_helper(obj0
);
8884 if (arg1
== NULL
) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 wxLogSysError((wxString
const &)*arg1
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 Py_INCREF(Py_None
); resultobj
= Py_None
;
8909 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8910 PyObject
*resultobj
;
8911 unsigned long arg1
;
8912 wxString
*arg2
= 0 ;
8913 bool temp2
= false ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8917 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8918 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 arg2
= wxString_in_helper(obj1
);
8922 if (arg2
== NULL
) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8948 PyObject
*resultobj
;
8949 wxString
*arg1
= 0 ;
8950 wxString
*arg2
= 0 ;
8951 bool temp1
= false ;
8952 bool temp2
= false ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8956 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8958 arg1
= wxString_in_helper(obj0
);
8959 if (arg1
== NULL
) SWIG_fail
;
8963 arg2
= wxString_in_helper(obj1
);
8964 if (arg2
== NULL
) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9002 argc
= PyObject_Length(args
);
9003 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9004 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9009 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9013 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9016 return _wrap_LogTrace__SWIG_1(self
,args
);
9022 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9025 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9028 return _wrap_LogTrace__SWIG_0(self
,args
);
9033 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9038 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 unsigned long arg1
;
9041 wxString
*arg2
= 0 ;
9042 bool temp2
= false ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "level",(char *) "msg", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 arg2
= wxString_in_helper(obj1
);
9054 if (arg2
== NULL
) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxString
*arg1
= 0 ;
9082 wxString
*arg2
= 0 ;
9083 bool temp1
= false ;
9084 bool temp2
= false ;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9088 (char *) "title",(char *) "text", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9093 arg1
= wxString_in_helper(obj0
);
9094 if (arg1
== NULL
) SWIG_fail
;
9098 arg2
= wxString_in_helper(obj1
);
9099 if (arg2
== NULL
) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (wxLogNull
*)new wxLogNull();
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9154 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9179 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9182 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9184 return Py_BuildValue((char *)"");
9186 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxPyLog
*)new wxPyLog();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9208 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9211 PyObject
*arg2
= (PyObject
*) 0 ;
9212 PyObject
*arg3
= (PyObject
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9215 PyObject
* obj2
= 0 ;
9217 (char *) "self",(char *) "self",(char *) "_class", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 Py_INCREF(Py_None
); resultobj
= Py_None
;
9239 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9242 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9244 return Py_BuildValue((char *)"");
9246 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9249 int arg2
= (int) wxSIGTERM
;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9254 (char *) "pid",(char *) "sig", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9258 arg1
= (int)SWIG_As_int(obj0
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 arg2
= (int)SWIG_As_int(obj1
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_From_int((int)result
);
9278 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "pid", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9288 arg1
= (int)SWIG_As_int(obj0
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)wxPyProcess::Exists(arg1
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxString
*arg1
= 0 ;
9309 int arg2
= (int) wxEXEC_ASYNC
;
9310 wxPyProcess
*result
;
9311 bool temp1
= false ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9315 (char *) "cmd",(char *) "flags", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9320 arg1
= wxString_in_helper(obj0
);
9321 if (arg1
== NULL
) SWIG_fail
;
9325 arg2
= (int)SWIG_As_int(obj1
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9350 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9353 int arg2
= (int) -1 ;
9354 wxPyProcess
*result
;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9358 (char *) "parent",(char *) "id", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 arg2
= (int)SWIG_As_int(obj1
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9384 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9387 PyObject
*arg2
= (PyObject
*) 0 ;
9388 PyObject
*arg3
= (PyObject
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 PyObject
* obj2
= 0 ;
9393 (char *) "self",(char *) "self",(char *) "_class", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 Py_INCREF(Py_None
); resultobj
= Py_None
;
9415 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9422 PyObject
* obj2
= 0 ;
9424 (char *) "self",(char *) "pid",(char *) "status", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 arg2
= (int)SWIG_As_int(obj1
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9432 arg3
= (int)SWIG_As_int(obj2
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 (arg1
)->base_OnTerminate(arg2
,arg3
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 Py_INCREF(Py_None
); resultobj
= Py_None
;
9448 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "self", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9473 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (bool)(arg1
)->IsRedirected();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9501 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 Py_INCREF(Py_None
); resultobj
= Py_None
;
9526 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9529 wxInputStream
*result
;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9546 wxPyInputStream
* _ptr
= NULL
;
9549 _ptr
= new wxPyInputStream(result
);
9551 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9559 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9562 wxInputStream
*result
;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9579 wxPyInputStream
* _ptr
= NULL
;
9582 _ptr
= new wxPyInputStream(result
);
9584 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9592 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9595 wxOutputStream
*result
;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9618 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 (arg1
)->CloseOutput();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 Py_INCREF(Py_None
); resultobj
= Py_None
;
9643 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9671 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9705 (char *) "self", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9727 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9730 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9732 return Py_BuildValue((char *)"");
9734 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 int arg1
= (int) 0 ;
9737 int arg2
= (int) 0 ;
9738 int arg3
= (int) 0 ;
9739 wxProcessEvent
*result
;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 PyObject
* obj2
= 0 ;
9744 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9749 arg1
= (int)SWIG_As_int(obj0
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9753 arg2
= (int)SWIG_As_int(obj1
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 arg3
= (int)SWIG_As_int(obj2
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9774 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "self", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (int)(arg1
)->GetPid();
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_From_int((int)result
);
9800 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (int)(arg1
)->GetExitCode();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_From_int((int)result
);
9826 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9833 (char *) "self",(char *) "m_pid", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9839 arg2
= (int)SWIG_As_int(obj1
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9841 if (arg1
) (arg1
)->m_pid
= arg2
;
9843 Py_INCREF(Py_None
); resultobj
= Py_None
;
9850 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9862 result
= (int) ((arg1
)->m_pid
);
9864 resultobj
= SWIG_From_int((int)result
);
9871 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9878 (char *) "self",(char *) "m_exitcode", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9884 arg2
= (int)SWIG_As_int(obj1
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9886 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9907 result
= (int) ((arg1
)->m_exitcode
);
9909 resultobj
= SWIG_From_int((int)result
);
9916 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9919 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9921 return Py_BuildValue((char *)"");
9923 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxString
*arg1
= 0 ;
9926 int arg2
= (int) wxEXEC_ASYNC
;
9927 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9929 bool temp1
= false ;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9932 PyObject
* obj2
= 0 ;
9934 (char *) "command",(char *) "flags",(char *) "process", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9939 arg1
= wxString_in_helper(obj0
);
9940 if (arg1
== NULL
) SWIG_fail
;
9944 arg2
= (int)SWIG_As_int(obj1
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9952 if (!wxPyCheckForApp()) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_From_long((long)result
);
9974 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 int arg1
= (int) wxJOYSTICK1
;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "joystick", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9985 arg1
= (int)SWIG_As_int(obj0
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 if (!wxPyCheckForApp()) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (wxJoystick
*)new wxJoystick(arg1
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10003 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10028 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (arg1
)->GetPosition();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 wxPoint
* resultptr
;
10049 resultptr
= new wxPoint((wxPoint
&) result
);
10050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10058 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (int)(arg1
)->GetZPosition();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_From_int((int)result
);
10084 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (int)(arg1
)->GetButtonState();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_From_int((int)result
);
10110 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (int)(arg1
)->GetPOVPosition();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_From_int((int)result
);
10136 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10140 PyObject
* obj0
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (int)(arg1
)->GetPOVCTSPosition();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= SWIG_From_int((int)result
);
10162 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10166 PyObject
* obj0
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (int)(arg1
)->GetRudderPosition();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_From_int((int)result
);
10188 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (int)(arg1
)->GetUPosition();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_From_int((int)result
);
10214 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (int)(arg1
)->GetVPosition();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_From_int((int)result
);
10240 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)(arg1
)->GetMovementThreshold();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_From_int((int)result
);
10266 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "threshold", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 arg2
= (int)SWIG_As_int(obj1
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 (arg1
)->SetMovementThreshold(arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 Py_INCREF(Py_None
); resultobj
= Py_None
;
10295 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (bool)(arg1
)->IsOk();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (int)(arg1
)->GetNumberJoysticks();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_From_int((int)result
);
10349 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (int)(arg1
)->GetManufacturerId();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_From_int((int)result
);
10375 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)(arg1
)->GetProductId();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= SWIG_From_int((int)result
);
10401 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (arg1
)->GetProductName();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10433 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (int)(arg1
)->GetXMin();
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 resultobj
= SWIG_From_int((int)result
);
10459 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10463 PyObject
* obj0
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (int)(arg1
)->GetYMin();
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_From_int((int)result
);
10485 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (int)(arg1
)->GetZMin();
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_From_int((int)result
);
10511 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= (int)(arg1
)->GetXMax();
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_From_int((int)result
);
10537 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10541 PyObject
* obj0
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (int)(arg1
)->GetYMax();
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_From_int((int)result
);
10563 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (int)(arg1
)->GetZMax();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_From_int((int)result
);
10589 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (int)(arg1
)->GetNumberButtons();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_From_int((int)result
);
10615 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (int)(arg1
)->GetNumberAxes();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_From_int((int)result
);
10641 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (int)(arg1
)->GetMaxButtons();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_From_int((int)result
);
10667 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (int)(arg1
)->GetMaxAxes();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_From_int((int)result
);
10693 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (int)(arg1
)->GetPollingMin();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int((int)result
);
10719 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (int)(arg1
)->GetPollingMax();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_From_int((int)result
);
10745 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (int)(arg1
)->GetRudderMin();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_From_int((int)result
);
10771 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (int)(arg1
)->GetRudderMax();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= SWIG_From_int((int)result
);
10797 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (int)(arg1
)->GetUMin();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_From_int((int)result
);
10823 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (int)(arg1
)->GetUMax();
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_From_int((int)result
);
10849 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (int)(arg1
)->GetVMin();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_From_int((int)result
);
10875 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (int)(arg1
)->GetVMax();
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_From_int((int)result
);
10901 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (bool)(arg1
)->HasRudder();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10929 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (bool)(arg1
)->HasZ();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10957 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)(arg1
)->HasU();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (bool)(arg1
)->HasV();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)(arg1
)->HasPOV();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (bool)(arg1
)->HasPOV4Dir();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (bool)(arg1
)->HasPOVCTS();
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11097 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11100 wxWindow
*arg2
= (wxWindow
*) 0 ;
11101 int arg3
= (int) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 PyObject
* obj2
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 arg3
= (int)SWIG_As_int(obj2
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)(arg1
)->ReleaseCapture();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11163 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11166 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11168 return Py_BuildValue((char *)"");
11170 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11173 wxPoint
*arg2
= (wxPoint
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "m_pos", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 if (arg1
) (arg1
)->m_pos
= *arg2
;
11187 Py_INCREF(Py_None
); resultobj
= Py_None
;
11194 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11206 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11215 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "m_zPosition", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 arg2
= (int)SWIG_As_int(obj1
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11230 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 result
= (int) ((arg1
)->m_zPosition
);
11253 resultobj
= SWIG_From_int((int)result
);
11260 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self",(char *) "m_buttonChange", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 arg2
= (int)SWIG_As_int(obj1
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11275 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11296 result
= (int) ((arg1
)->m_buttonChange
);
11298 resultobj
= SWIG_From_int((int)result
);
11305 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "m_buttonState", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11318 arg2
= (int)SWIG_As_int(obj1
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11320 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 result
= (int) ((arg1
)->m_buttonState
);
11343 resultobj
= SWIG_From_int((int)result
);
11350 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "m_joyStick", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 arg2
= (int)SWIG_As_int(obj1
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11365 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11367 Py_INCREF(Py_None
); resultobj
= Py_None
;
11374 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11378 PyObject
* obj0
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11386 result
= (int) ((arg1
)->m_joyStick
);
11388 resultobj
= SWIG_From_int((int)result
);
11395 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11398 int arg2
= (int) 0 ;
11399 int arg3
= (int) wxJOYSTICK1
;
11400 int arg4
= (int) 0 ;
11401 wxJoystickEvent
*result
;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 PyObject
* obj2
= 0 ;
11405 PyObject
* obj3
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11412 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 arg2
= (int)SWIG_As_int(obj1
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 arg3
= (int)SWIG_As_int(obj2
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 arg4
= (int)SWIG_As_int(obj3
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11441 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 wxPoint
* resultptr
;
11462 resultptr
= new wxPoint((wxPoint
&) result
);
11463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11471 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_From_int((int)result
);
11497 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_From_int((int)result
);
11523 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_int((int)result
);
11549 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_int((int)result
);
11575 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "stick", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (int)SWIG_As_int(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 (arg1
)->SetJoystick(arg2
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 Py_INCREF(Py_None
); resultobj
= Py_None
;
11604 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "state", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11617 arg2
= (int)SWIG_As_int(obj1
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->SetButtonState(arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "change", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11646 arg2
= (int)SWIG_As_int(obj1
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 (arg1
)->SetButtonChange(arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 Py_INCREF(Py_None
); resultobj
= Py_None
;
11662 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11665 wxPoint
*arg2
= 0 ;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self",(char *) "pos", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 Py_INCREF(Py_None
); resultobj
= Py_None
;
11694 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self",(char *) "zPos", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11707 arg2
= (int)SWIG_As_int(obj1
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 (arg1
)->SetZPosition(arg2
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 Py_INCREF(Py_None
); resultobj
= Py_None
;
11723 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11751 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11779 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11807 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11810 int arg2
= (int) wxJOY_BUTTON_ANY
;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "but", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11822 arg2
= (int)SWIG_As_int(obj1
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11844 int arg2
= (int) wxJOY_BUTTON_ANY
;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "but", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11856 arg2
= (int)SWIG_As_int(obj1
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11875 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11878 int arg2
= (int) wxJOY_BUTTON_ANY
;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "but", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg2
= (int)SWIG_As_int(obj1
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11912 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11914 return Py_BuildValue((char *)"");
11916 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11919 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11921 bool temp1
= false ;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "fileName", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11930 arg1
= wxString_in_helper(obj0
);
11931 if (arg1
== NULL
) SWIG_fail
;
11936 if (!wxPyCheckForApp()) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11958 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 PyObject
*arg1
= (PyObject
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "data", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11970 if (!wxPyCheckForApp()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (wxSound
*)new_wxSound(arg1
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11984 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxSound
*arg1
= (wxSound
*) 0 ;
11987 PyObject
* obj0
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 Py_INCREF(Py_None
); resultobj
= Py_None
;
12009 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxSound
*arg1
= (wxSound
*) 0 ;
12012 wxString
*arg2
= 0 ;
12014 bool temp2
= false ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self",(char *) "fileName", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12025 arg2
= wxString_in_helper(obj1
);
12026 if (arg2
== NULL
) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12053 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxSound
*arg1
= (wxSound
*) 0 ;
12056 PyObject
*arg2
= (PyObject
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "data", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxSound
*arg1
= (wxSound
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (bool)(arg1
)->IsOk();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12112 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxSound
*arg1
= (wxSound
*) 0 ;
12115 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "flags", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 if (!wxPyCheckForApp()) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxString
*arg1
= 0 ;
12150 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12152 bool temp1
= false ;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "filename",(char *) "flags", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12161 arg1
= wxString_in_helper(obj0
);
12162 if (arg1
== NULL
) SWIG_fail
;
12166 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12170 if (!wxPyCheckForApp()) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12194 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 char *kwnames
[] = {
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12202 if (!wxPyCheckForApp()) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 Py_INCREF(Py_None
); resultobj
= Py_None
;
12216 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12219 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12221 return Py_BuildValue((char *)"");
12223 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxString
*arg1
= 0 ;
12226 wxString
*arg2
= 0 ;
12227 wxString
*arg3
= 0 ;
12228 wxString
*arg4
= 0 ;
12229 wxFileTypeInfo
*result
;
12230 bool temp1
= false ;
12231 bool temp2
= false ;
12232 bool temp3
= false ;
12233 bool temp4
= false ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 PyObject
* obj2
= 0 ;
12237 PyObject
* obj3
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12244 arg1
= wxString_in_helper(obj0
);
12245 if (arg1
== NULL
) SWIG_fail
;
12249 arg2
= wxString_in_helper(obj1
);
12250 if (arg2
== NULL
) SWIG_fail
;
12254 arg3
= wxString_in_helper(obj2
);
12255 if (arg3
== NULL
) SWIG_fail
;
12259 arg4
= wxString_in_helper(obj3
);
12260 if (arg4
== NULL
) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12309 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxArrayString
*arg1
= 0 ;
12312 wxFileTypeInfo
*result
;
12313 bool temp1
= false ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "sArray", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12321 if (! PySequence_Check(obj0
)) {
12322 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12325 arg1
= new wxArrayString
;
12327 int i
, len
=PySequence_Length(obj0
);
12328 for (i
=0; i
<len
; i
++) {
12329 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12331 PyObject
* str
= PyObject_Unicode(item
);
12333 PyObject
* str
= PyObject_Str(item
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12336 arg1
->Add(Py2wxString(str
));
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12350 if (temp1
) delete arg1
;
12355 if (temp1
) delete arg1
;
12361 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxFileTypeInfo
*result
;
12364 char *kwnames
[] = {
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12383 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12411 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12414 wxString
*arg2
= 0 ;
12415 int arg3
= (int) 0 ;
12416 bool temp2
= false ;
12417 PyObject
* obj0
= 0 ;
12418 PyObject
* obj1
= 0 ;
12419 PyObject
* obj2
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 arg2
= wxString_in_helper(obj1
);
12429 if (arg2
== NULL
) SWIG_fail
;
12433 arg3
= (int)SWIG_As_int(obj2
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12461 wxString
*arg2
= 0 ;
12462 bool temp2
= false ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self",(char *) "shortDesc", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 arg2
= wxString_in_helper(obj1
);
12474 if (arg2
== NULL
) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12515 result
= (wxString
*) &_result_ref
;
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12525 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12534 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12550 result
= (wxString
*) &_result_ref
;
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12560 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12569 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12585 result
= (wxString
*) &_result_ref
;
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12595 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12604 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12620 result
= (wxString
*) &_result_ref
;
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12639 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12655 result
= (wxString
*) &_result_ref
;
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12665 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12674 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12677 wxArrayString
*result
;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12690 result
= (wxArrayString
*) &_result_ref
;
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= wxArrayString2PyList_helper(*result
);
12705 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= SWIG_From_int((int)result
);
12731 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12747 result
= (wxString
*) &_result_ref
;
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12766 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= SWIG_From_int((int)result
);
12792 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12795 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12797 return Py_BuildValue((char *)"");
12799 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxFileTypeInfo
*arg1
= 0 ;
12802 wxFileType
*result
;
12803 PyObject
* obj0
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "ftInfo", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12812 if (arg1
== NULL
) {
12813 PyErr_SetString(PyExc_TypeError
,"null reference");
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12830 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxFileType
*arg1
= (wxFileType
*) 0 ;
12833 PyObject
* obj0
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxFileType
*arg1
= (wxFileType
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= result
;
12881 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxFileType
*arg1
= (wxFileType
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
;
12907 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxFileType
*arg1
= (wxFileType
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= result
;
12933 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxFileType
*arg1
= (wxFileType
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12959 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxFileType
*arg1
= (wxFileType
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= result
;
12985 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxFileType
*arg1
= (wxFileType
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= result
;
13011 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxFileType
*arg1
= (wxFileType
*) 0 ;
13014 wxString
*arg2
= 0 ;
13015 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13016 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13018 bool temp2
= false ;
13019 bool temp3
= false ;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 PyObject
* obj2
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 arg2
= wxString_in_helper(obj1
);
13032 if (arg2
== NULL
) SWIG_fail
;
13037 arg3
= wxString_in_helper(obj2
);
13038 if (arg3
== NULL
) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= result
;
13072 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxFileType
*arg1
= (wxFileType
*) 0 ;
13075 wxString
*arg2
= 0 ;
13076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13079 bool temp2
= false ;
13080 bool temp3
= false ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 arg2
= wxString_in_helper(obj1
);
13093 if (arg2
== NULL
) SWIG_fail
;
13098 arg3
= wxString_in_helper(obj2
);
13099 if (arg3
== NULL
) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= result
;
13133 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxFileType
*arg1
= (wxFileType
*) 0 ;
13136 wxString
*arg2
= 0 ;
13137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13140 bool temp2
= false ;
13141 bool temp3
= false ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13153 arg2
= wxString_in_helper(obj1
);
13154 if (arg2
== NULL
) SWIG_fail
;
13159 arg3
= wxString_in_helper(obj2
);
13160 if (arg3
== NULL
) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= result
;
13194 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxFileType
*arg1
= (wxFileType
*) 0 ;
13197 wxString
*arg2
= 0 ;
13198 wxString
*arg3
= 0 ;
13199 bool arg4
= (bool) true ;
13201 bool temp2
= false ;
13202 bool temp3
= false ;
13203 PyObject
* obj0
= 0 ;
13204 PyObject
* obj1
= 0 ;
13205 PyObject
* obj2
= 0 ;
13206 PyObject
* obj3
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13215 arg2
= wxString_in_helper(obj1
);
13216 if (arg2
== NULL
) SWIG_fail
;
13220 arg3
= wxString_in_helper(obj2
);
13221 if (arg3
== NULL
) SWIG_fail
;
13225 arg4
= (bool)SWIG_As_bool(obj3
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13260 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxFileType
*arg1
= (wxFileType
*) 0 ;
13263 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13264 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13265 int arg3
= (int) 0 ;
13267 bool temp2
= false ;
13268 PyObject
* obj0
= 0 ;
13269 PyObject
* obj1
= 0 ;
13270 PyObject
* obj2
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "cmd",(char *) "index", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 arg2
= wxString_in_helper(obj1
);
13281 if (arg2
== NULL
) SWIG_fail
;
13286 arg3
= (int)SWIG_As_int(obj2
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13313 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxFileType
*arg1
= (wxFileType
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (bool)(arg1
)->Unassociate();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13341 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxString
*arg1
= 0 ;
13344 wxString
*arg2
= 0 ;
13345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13348 bool temp1
= false ;
13349 bool temp2
= false ;
13350 bool temp3
= false ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13360 arg1
= wxString_in_helper(obj0
);
13361 if (arg1
== NULL
) SWIG_fail
;
13365 arg2
= wxString_in_helper(obj1
);
13366 if (arg2
== NULL
) SWIG_fail
;
13371 arg3
= wxString_in_helper(obj2
);
13372 if (arg3
== NULL
) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13420 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13423 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13425 return Py_BuildValue((char *)"");
13427 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13428 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13433 static PyObject
*_wrap_TheMimeTypesManager_get() {
13436 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13441 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxString
*arg1
= 0 ;
13444 wxString
*arg2
= 0 ;
13446 bool temp1
= false ;
13447 bool temp2
= false ;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "mimeType",(char *) "wildcard", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 arg1
= wxString_in_helper(obj0
);
13457 if (arg1
== NULL
) SWIG_fail
;
13461 arg2
= wxString_in_helper(obj1
);
13462 if (arg2
== NULL
) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13497 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxMimeTypesManager
*result
;
13500 char *kwnames
[] = {
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13519 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13522 int arg2
= (int) wxMAILCAP_ALL
;
13523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13525 bool temp3
= false ;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 PyObject
* obj2
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 arg2
= (int)SWIG_As_int(obj1
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13542 arg3
= wxString_in_helper(obj2
);
13543 if (arg3
== NULL
) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 Py_INCREF(Py_None
); resultobj
= Py_None
;
13569 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 (arg1
)->ClearData();
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 Py_INCREF(Py_None
); resultobj
= Py_None
;
13594 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13597 wxString
*arg2
= 0 ;
13598 wxFileType
*result
;
13599 bool temp2
= false ;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self",(char *) "ext", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 arg2
= wxString_in_helper(obj1
);
13611 if (arg2
== NULL
) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13636 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13639 wxString
*arg2
= 0 ;
13640 wxFileType
*result
;
13641 bool temp2
= false ;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self",(char *) "mimeType", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 arg2
= wxString_in_helper(obj1
);
13653 if (arg2
== NULL
) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13678 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13681 wxString
*arg2
= 0 ;
13682 bool arg3
= (bool) false ;
13684 bool temp2
= false ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 PyObject
* obj2
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 arg2
= wxString_in_helper(obj1
);
13697 if (arg2
== NULL
) SWIG_fail
;
13701 arg3
= (bool)SWIG_As_bool(obj2
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13728 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13731 wxString
*arg2
= 0 ;
13733 bool temp2
= false ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "filename", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13744 arg2
= wxString_in_helper(obj1
);
13745 if (arg2
== NULL
) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13772 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13776 PyObject
* obj0
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= result
;
13798 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13801 wxFileTypeInfo
*arg2
= 0 ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self",(char *) "ft", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13814 if (arg2
== NULL
) {
13815 PyErr_SetString(PyExc_TypeError
,"null reference");
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 Py_INCREF(Py_None
); resultobj
= Py_None
;
13832 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13835 wxFileTypeInfo
*arg2
= 0 ;
13836 wxFileType
*result
;
13837 PyObject
* obj0
= 0 ;
13838 PyObject
* obj1
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self",(char *) "ftInfo", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13849 if (arg2
== NULL
) {
13850 PyErr_SetString(PyExc_TypeError
,"null reference");
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13867 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13870 wxFileType
*arg2
= (wxFileType
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "ft", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (bool)(arg1
)->Unassociate(arg2
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13899 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 Py_INCREF(Py_None
); resultobj
= Py_None
;
13924 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13927 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13929 return Py_BuildValue((char *)"");
13931 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13932 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13937 static PyObject
*_wrap_ART_TOOLBAR_get() {
13942 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13951 static int _wrap_ART_MENU_set(PyObject
*) {
13952 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13957 static PyObject
*_wrap_ART_MENU_get() {
13962 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13964 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13971 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13972 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13977 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13982 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13984 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13991 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13992 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13997 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14002 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14004 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14011 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14012 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14017 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14022 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14024 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14031 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14032 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14037 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14042 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14044 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14051 static int _wrap_ART_BUTTON_set(PyObject
*) {
14052 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14057 static PyObject
*_wrap_ART_BUTTON_get() {
14062 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14064 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14071 static int _wrap_ART_OTHER_set(PyObject
*) {
14072 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14077 static PyObject
*_wrap_ART_OTHER_get() {
14082 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14084 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14091 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14092 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14097 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14102 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14104 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14111 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14112 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14117 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14122 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14124 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14131 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14132 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14137 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14142 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14144 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14151 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14152 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14157 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14162 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14164 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14171 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14172 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14177 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14182 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14184 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14191 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14192 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14197 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14202 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14204 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14211 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14212 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14217 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14222 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14224 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14231 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14232 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14237 static PyObject
*_wrap_ART_GO_BACK_get() {
14242 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14244 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14251 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14252 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14257 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14262 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14264 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14271 static int _wrap_ART_GO_UP_set(PyObject
*) {
14272 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14277 static PyObject
*_wrap_ART_GO_UP_get() {
14282 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14284 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14291 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14292 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14297 static PyObject
*_wrap_ART_GO_DOWN_get() {
14302 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14304 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14311 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14312 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14317 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14322 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14324 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14331 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14332 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14337 static PyObject
*_wrap_ART_GO_HOME_get() {
14342 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14344 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14351 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14352 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14357 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14362 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14364 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14371 static int _wrap_ART_PRINT_set(PyObject
*) {
14372 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14377 static PyObject
*_wrap_ART_PRINT_get() {
14382 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14384 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14391 static int _wrap_ART_HELP_set(PyObject
*) {
14392 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14397 static PyObject
*_wrap_ART_HELP_get() {
14402 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14404 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14411 static int _wrap_ART_TIP_set(PyObject
*) {
14412 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14417 static PyObject
*_wrap_ART_TIP_get() {
14422 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14424 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14431 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14432 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14437 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14442 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14444 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14451 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14452 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14457 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14462 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14464 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14471 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14472 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14477 static PyObject
*_wrap_ART_NEW_DIR_get() {
14482 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14484 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14491 static int _wrap_ART_FOLDER_set(PyObject
*) {
14492 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14497 static PyObject
*_wrap_ART_FOLDER_get() {
14502 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14504 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14511 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14512 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14517 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14522 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14524 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14531 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14532 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14537 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14542 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14544 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14551 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14552 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14557 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14562 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14564 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14571 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14572 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14577 static PyObject
*_wrap_ART_TICK_MARK_get() {
14582 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14584 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14591 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14592 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14597 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14602 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14604 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14611 static int _wrap_ART_ERROR_set(PyObject
*) {
14612 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14617 static PyObject
*_wrap_ART_ERROR_get() {
14622 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14624 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14631 static int _wrap_ART_QUESTION_set(PyObject
*) {
14632 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14637 static PyObject
*_wrap_ART_QUESTION_get() {
14642 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14644 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14651 static int _wrap_ART_WARNING_set(PyObject
*) {
14652 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14657 static PyObject
*_wrap_ART_WARNING_get() {
14662 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14664 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14671 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14672 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14677 static PyObject
*_wrap_ART_INFORMATION_get() {
14682 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14684 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14691 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14692 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14697 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14702 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14704 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14711 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxPyArtProvider
*result
;
14714 char *kwnames
[] = {
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14720 if (!wxPyCheckForApp()) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14734 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14737 PyObject
*arg2
= (PyObject
*) 0 ;
14738 PyObject
*arg3
= (PyObject
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 PyObject
* obj2
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "self",(char *) "_class", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 Py_INCREF(Py_None
); resultobj
= Py_None
;
14765 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "provider", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 wxPyArtProvider::PushProvider(arg1
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 Py_INCREF(Py_None
); resultobj
= Py_None
;
14790 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14793 char *kwnames
[] = {
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)wxPyArtProvider::PopProvider();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14814 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "provider", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14842 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxString
*arg1
= 0 ;
14845 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14847 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14848 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14850 bool temp1
= false ;
14851 bool temp2
= false ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 PyObject
* obj2
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "id",(char *) "client",(char *) "size", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14862 arg1
= wxString_in_helper(obj0
);
14863 if (arg1
== NULL
) SWIG_fail
;
14868 arg2
= wxString_in_helper(obj1
);
14869 if (arg2
== NULL
) SWIG_fail
;
14876 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14880 if (!wxPyCheckForApp()) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 wxBitmap
* resultptr
;
14889 resultptr
= new wxBitmap((wxBitmap
&) result
);
14890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14914 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxString
*arg1
= 0 ;
14917 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14918 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14919 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14920 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14922 bool temp1
= false ;
14923 bool temp2
= false ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 PyObject
* obj2
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "id",(char *) "client",(char *) "size", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14934 arg1
= wxString_in_helper(obj0
);
14935 if (arg1
== NULL
) SWIG_fail
;
14940 arg2
= wxString_in_helper(obj1
);
14941 if (arg2
== NULL
) SWIG_fail
;
14948 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14952 if (!wxPyCheckForApp()) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14960 wxIcon
* resultptr
;
14961 resultptr
= new wxIcon((wxIcon
&) result
);
14962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14986 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 wxPyArtProvider_Destroy(arg1
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15011 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15014 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15016 return Py_BuildValue((char *)"");
15018 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15043 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15046 wxConfigBase
*result
;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "config", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15069 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 bool arg1
= (bool) true ;
15072 wxConfigBase
*result
;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "createOnDemand", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15080 arg1
= (bool)SWIG_As_bool(obj0
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15097 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxConfigBase
*result
;
15100 char *kwnames
[] = {
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (wxConfigBase
*)wxConfigBase::Create();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15119 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 char *kwnames
[] = {
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 wxConfigBase::DontCreateOnDemand();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 Py_INCREF(Py_None
); resultobj
= Py_None
;
15140 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15143 wxString
*arg2
= 0 ;
15144 bool temp2
= false ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self",(char *) "path", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 arg2
= wxString_in_helper(obj1
);
15156 if (arg2
== NULL
) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetPath((wxString
const &)*arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15181 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15197 result
= (wxString
*) &_result_ref
;
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15207 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15216 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= result
;
15242 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self",(char *) "index", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15256 arg2
= (long)SWIG_As_long(obj1
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= result
;
15272 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= result
;
15298 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self",(char *) "index", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15312 arg2
= (long)SWIG_As_long(obj1
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
;
15328 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15331 bool arg2
= (bool) false ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "recursive", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 arg2
= (bool)SWIG_As_bool(obj1
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15360 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15363 bool arg2
= (bool) false ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "recursive", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 arg2
= (bool)SWIG_As_bool(obj1
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15392 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15395 wxString
*arg2
= 0 ;
15397 bool temp2
= false ;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self",(char *) "name", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 arg2
= wxString_in_helper(obj1
);
15409 if (arg2
== NULL
) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15436 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15439 wxString
*arg2
= 0 ;
15441 bool temp2
= false ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "name", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 arg2
= wxString_in_helper(obj1
);
15453 if (arg2
== NULL
) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15480 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15483 wxString
*arg2
= 0 ;
15485 bool temp2
= false ;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "name", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15496 arg2
= wxString_in_helper(obj1
);
15497 if (arg2
== NULL
) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15524 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15527 wxString
*arg2
= 0 ;
15529 bool temp2
= false ;
15530 PyObject
* obj0
= 0 ;
15531 PyObject
* obj1
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self",(char *) "name", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 arg2
= wxString_in_helper(obj1
);
15541 if (arg2
== NULL
) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= SWIG_From_int((int)result
);
15566 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15569 wxString
*arg2
= 0 ;
15570 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15571 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15573 bool temp2
= false ;
15574 bool temp3
= false ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 PyObject
* obj2
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 arg2
= wxString_in_helper(obj1
);
15587 if (arg2
== NULL
) SWIG_fail
;
15592 arg3
= wxString_in_helper(obj2
);
15593 if (arg3
== NULL
) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15633 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15636 wxString
*arg2
= 0 ;
15637 long arg3
= (long) 0 ;
15639 bool temp2
= false ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 arg2
= wxString_in_helper(obj1
);
15652 if (arg2
== NULL
) SWIG_fail
;
15656 arg3
= (long)SWIG_As_long(obj2
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_From_long((long)result
);
15681 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15684 wxString
*arg2
= 0 ;
15685 double arg3
= (double) 0.0 ;
15687 bool temp2
= false ;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 PyObject
* obj2
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 arg2
= wxString_in_helper(obj1
);
15700 if (arg2
== NULL
) SWIG_fail
;
15704 arg3
= (double)SWIG_As_double(obj2
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_From_double((double)result
);
15729 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15732 wxString
*arg2
= 0 ;
15733 bool arg3
= (bool) false ;
15735 bool temp2
= false ;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 PyObject
* obj2
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15747 arg2
= wxString_in_helper(obj1
);
15748 if (arg2
== NULL
) SWIG_fail
;
15752 arg3
= (bool)SWIG_As_bool(obj2
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15779 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15782 wxString
*arg2
= 0 ;
15783 wxString
*arg3
= 0 ;
15785 bool temp2
= false ;
15786 bool temp3
= false ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 PyObject
* obj2
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self",(char *) "key",(char *) "value", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 arg2
= wxString_in_helper(obj1
);
15799 if (arg2
== NULL
) SWIG_fail
;
15803 arg3
= wxString_in_helper(obj2
);
15804 if (arg3
== NULL
) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15842 wxString
*arg2
= 0 ;
15845 bool temp2
= false ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 PyObject
* obj2
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "key",(char *) "value", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 arg2
= wxString_in_helper(obj1
);
15858 if (arg2
== NULL
) SWIG_fail
;
15861 arg3
= (long)SWIG_As_long(obj2
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15887 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15890 wxString
*arg2
= 0 ;
15893 bool temp2
= false ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 PyObject
* obj2
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "key",(char *) "value", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 arg2
= wxString_in_helper(obj1
);
15906 if (arg2
== NULL
) SWIG_fail
;
15909 arg3
= (double)SWIG_As_double(obj2
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15935 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15938 wxString
*arg2
= 0 ;
15941 bool temp2
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self",(char *) "key",(char *) "value", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15953 arg2
= wxString_in_helper(obj1
);
15954 if (arg2
== NULL
) SWIG_fail
;
15957 arg3
= (bool)SWIG_As_bool(obj2
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15986 bool arg2
= (bool) false ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "currentOnly", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 arg2
= (bool)SWIG_As_bool(obj1
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (bool)(arg1
)->Flush(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16017 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16020 wxString
*arg2
= 0 ;
16021 wxString
*arg3
= 0 ;
16023 bool temp2
= false ;
16024 bool temp3
= false ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 PyObject
* obj2
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16036 arg2
= wxString_in_helper(obj1
);
16037 if (arg2
== NULL
) SWIG_fail
;
16041 arg3
= wxString_in_helper(obj2
);
16042 if (arg3
== NULL
) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16077 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16080 wxString
*arg2
= 0 ;
16081 wxString
*arg3
= 0 ;
16083 bool temp2
= false ;
16084 bool temp3
= false ;
16085 PyObject
* obj0
= 0 ;
16086 PyObject
* obj1
= 0 ;
16087 PyObject
* obj2
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 arg2
= wxString_in_helper(obj1
);
16097 if (arg2
== NULL
) SWIG_fail
;
16101 arg3
= wxString_in_helper(obj2
);
16102 if (arg3
== NULL
) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16137 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16140 wxString
*arg2
= 0 ;
16141 bool arg3
= (bool) true ;
16143 bool temp2
= false ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 arg2
= wxString_in_helper(obj1
);
16156 if (arg2
== NULL
) SWIG_fail
;
16160 arg3
= (bool)SWIG_As_bool(obj2
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16187 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16190 wxString
*arg2
= 0 ;
16192 bool temp2
= false ;
16193 PyObject
* obj0
= 0 ;
16194 PyObject
* obj1
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self",(char *) "key", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16203 arg2
= wxString_in_helper(obj1
);
16204 if (arg2
== NULL
) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16231 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (bool)(arg1
)->DeleteAll();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16259 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16262 bool arg2
= (bool) true ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self",(char *) "doIt", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 arg2
= (bool)SWIG_As_bool(obj1
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 (arg1
)->SetExpandEnvVars(arg2
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16318 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16321 bool arg2
= (bool) true ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "doIt", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 arg2
= (bool)SWIG_As_bool(obj1
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 (arg1
)->SetRecordDefaults(arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 Py_INCREF(Py_None
); resultobj
= Py_None
;
16349 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16377 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16380 wxString
*arg2
= 0 ;
16382 bool temp2
= false ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self",(char *) "str", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 arg2
= wxString_in_helper(obj1
);
16394 if (arg2
== NULL
) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16425 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16457 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16489 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16492 wxString
*arg2
= 0 ;
16493 bool temp2
= false ;
16494 PyObject
* obj0
= 0 ;
16495 PyObject
* obj1
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self",(char *) "appName", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 arg2
= wxString_in_helper(obj1
);
16505 if (arg2
== NULL
) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 (arg1
)->SetAppName((wxString
const &)*arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 Py_INCREF(Py_None
); resultobj
= Py_None
;
16530 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16533 wxString
*arg2
= 0 ;
16534 bool temp2
= false ;
16535 PyObject
* obj0
= 0 ;
16536 PyObject
* obj1
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "vendorName", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 arg2
= wxString_in_helper(obj1
);
16546 if (arg2
== NULL
) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 Py_INCREF(Py_None
); resultobj
= Py_None
;
16571 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "style", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16584 arg2
= (long)SWIG_As_long(obj1
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 (arg1
)->SetStyle(arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 Py_INCREF(Py_None
); resultobj
= Py_None
;
16600 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_From_long((long)result
);
16626 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16629 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16631 return Py_BuildValue((char *)"");
16633 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16636 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16637 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16638 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16639 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16640 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16643 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16645 bool temp1
= false ;
16646 bool temp2
= false ;
16647 bool temp3
= false ;
16648 bool temp4
= false ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 PyObject
* obj2
= 0 ;
16652 PyObject
* obj3
= 0 ;
16653 PyObject
* obj4
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16661 arg1
= wxString_in_helper(obj0
);
16662 if (arg1
== NULL
) SWIG_fail
;
16668 arg2
= wxString_in_helper(obj1
);
16669 if (arg2
== NULL
) SWIG_fail
;
16675 arg3
= wxString_in_helper(obj2
);
16676 if (arg3
== NULL
) SWIG_fail
;
16682 arg4
= wxString_in_helper(obj3
);
16683 if (arg4
== NULL
) SWIG_fail
;
16688 arg5
= (long)SWIG_As_long(obj4
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16737 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxConfig
*arg1
= (wxConfig
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 Py_INCREF(Py_None
); resultobj
= Py_None
;
16762 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16765 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16767 return Py_BuildValue((char *)"");
16769 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16772 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16773 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16774 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16775 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16777 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16778 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16779 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16780 wxFileConfig
*result
;
16781 bool temp1
= false ;
16782 bool temp2
= false ;
16783 bool temp3
= false ;
16784 bool temp4
= false ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 PyObject
* obj2
= 0 ;
16788 PyObject
* obj3
= 0 ;
16789 PyObject
* obj4
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16797 arg1
= wxString_in_helper(obj0
);
16798 if (arg1
== NULL
) SWIG_fail
;
16804 arg2
= wxString_in_helper(obj1
);
16805 if (arg2
== NULL
) SWIG_fail
;
16811 arg3
= wxString_in_helper(obj2
);
16812 if (arg3
== NULL
) SWIG_fail
;
16818 arg4
= wxString_in_helper(obj3
);
16819 if (arg4
== NULL
) SWIG_fail
;
16824 arg5
= (long)SWIG_As_long(obj4
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16873 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 Py_INCREF(Py_None
); resultobj
= Py_None
;
16898 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16901 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16903 return Py_BuildValue((char *)"");
16905 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16908 wxString
*arg2
= 0 ;
16909 wxConfigPathChanger
*result
;
16910 bool temp2
= false ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "config",(char *) "entry", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 arg2
= wxString_in_helper(obj1
);
16922 if (arg2
== NULL
) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16947 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 Py_INCREF(Py_None
); resultobj
= Py_None
;
16972 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16988 result
= (wxString
*) &_result_ref
;
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17007 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17012 return Py_BuildValue((char *)"");
17014 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxString
*arg1
= 0 ;
17018 bool temp1
= false ;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "sz", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17026 arg1
= wxString_in_helper(obj0
);
17027 if (arg1
== NULL
) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17058 static int _wrap_DateFormatStr_set(PyObject
*) {
17059 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17064 static PyObject
*_wrap_DateFormatStr_get() {
17069 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17071 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17078 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17079 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17084 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17089 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17091 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17098 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "country", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17107 arg1
= (int)SWIG_As_int(obj0
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 Py_INCREF(Py_None
); resultobj
= Py_None
;
17123 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17126 char *kwnames
[] = {
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (int)wxDateTime::GetCountry();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_From_int((int)result
);
17145 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 int arg1
= (int) wxDateTime::Country_Default
;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "country", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17156 arg1
= (int)SWIG_As_int(obj0
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17175 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 int arg1
= (int) wxDateTime::Gregorian
;
17179 PyObject
* obj0
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "cal", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17186 arg1
= (int)SWIG_As_int(obj0
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= SWIG_From_int((int)result
);
17203 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17207 PyObject
* obj0
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "year", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17213 arg1
= (int)SWIG_As_int(obj0
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_From_int((int)result
);
17229 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 int arg1
= (int) wxDateTime::Gregorian
;
17233 PyObject
* obj0
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "cal", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17240 arg1
= (int)SWIG_As_int(obj0
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_From_int((int)result
);
17257 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 int arg1
= (int) wxDateTime::Inv_Year
;
17260 int arg2
= (int) wxDateTime::Gregorian
;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "year",(char *) "cal", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 arg1
= (int)SWIG_As_int(obj0
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 arg2
= (int)SWIG_As_int(obj1
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17293 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 int arg1
= (int) wxDateTime::Inv_Year
;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "year", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17304 arg1
= (int)SWIG_As_int(obj0
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (int)wxDateTime::GetCentury(arg1
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_From_int((int)result
);
17321 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17324 int arg2
= (int) wxDateTime::Gregorian
;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "year",(char *) "cal", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 arg1
= (int)SWIG_As_int(obj0
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 arg2
= (int)SWIG_As_int(obj1
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_From_int((int)result
);
17353 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17356 int arg2
= (int) wxDateTime::Inv_Year
;
17357 int arg3
= (int) wxDateTime::Gregorian
;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 PyObject
* obj2
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "month",(char *) "year",(char *) "cal", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17367 arg1
= (int)SWIG_As_int(obj0
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 arg2
= (int)SWIG_As_int(obj1
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 arg3
= (int)SWIG_As_int(obj2
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_From_int((int)result
);
17391 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17394 int arg2
= (int) wxDateTime::Name_Full
;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "month",(char *) "flags", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 arg1
= (int)SWIG_As_int(obj0
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 arg2
= (int)SWIG_As_int(obj1
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17429 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17432 int arg2
= (int) wxDateTime::Name_Full
;
17434 PyObject
* obj0
= 0 ;
17435 PyObject
* obj1
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "weekday",(char *) "flags", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17441 arg1
= (int)SWIG_As_int(obj0
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 arg2
= (int)SWIG_As_int(obj1
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17467 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxString
*arg1
= (wxString
*) 0 ;
17470 wxString
*arg2
= (wxString
*) 0 ;
17471 bool temp1
= false ;
17472 bool temp2
= false ;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17481 arg1
= wxString_in_helper(obj0
);
17482 if (arg1
== NULL
) SWIG_fail
;
17486 arg2
= wxString_in_helper(obj1
);
17487 if (arg2
== NULL
) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 int arg1
= (int) wxDateTime::Inv_Year
;
17523 int arg2
= (int) wxDateTime::Country_Default
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "year",(char *) "country", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17533 arg1
= (int)SWIG_As_int(obj0
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17537 arg2
= (int)SWIG_As_int(obj1
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17556 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 int arg1
= (int) wxDateTime::Inv_Year
;
17559 int arg2
= (int) wxDateTime::Country_Default
;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "year",(char *) "country", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 arg1
= (int)SWIG_As_int(obj0
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 arg2
= (int)SWIG_As_int(obj1
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 wxDateTime
* resultptr
;
17585 resultptr
= new wxDateTime((wxDateTime
&) result
);
17586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17594 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 int arg1
= (int) wxDateTime::Inv_Year
;
17597 int arg2
= (int) wxDateTime::Country_Default
;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "year",(char *) "country", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17607 arg1
= (int)SWIG_As_int(obj0
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 arg2
= (int)SWIG_As_int(obj1
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 wxDateTime
* resultptr
;
17623 resultptr
= new wxDateTime((wxDateTime
&) result
);
17624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17632 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17635 char *kwnames
[] = {
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= wxDateTime::Now();
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 wxDateTime
* resultptr
;
17649 resultptr
= new wxDateTime((wxDateTime
&) result
);
17650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17658 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17661 char *kwnames
[] = {
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 result
= wxDateTime::UNow();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 wxDateTime
* resultptr
;
17675 resultptr
= new wxDateTime((wxDateTime
&) result
);
17676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17684 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17687 char *kwnames
[] = {
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= wxDateTime::Today();
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 wxDateTime
* resultptr
;
17701 resultptr
= new wxDateTime((wxDateTime
&) result
);
17702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17710 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxDateTime
*result
;
17713 char *kwnames
[] = {
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (wxDateTime
*)new wxDateTime();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17732 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17735 wxDateTime
*result
;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "timet", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17742 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (wxDateTime
*)new wxDateTime(arg1
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17758 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17761 wxDateTime
*result
;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "jdn", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17768 arg1
= (double)SWIG_As_double(obj0
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxDateTime
*)new wxDateTime(arg1
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17784 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17787 int arg2
= (int) 0 ;
17788 int arg3
= (int) 0 ;
17789 int arg4
= (int) 0 ;
17790 wxDateTime
*result
;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 PyObject
* obj3
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17800 arg1
= (int)SWIG_As_int(obj0
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 arg2
= (int)SWIG_As_int(obj1
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 arg3
= (int)SWIG_As_int(obj2
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 arg4
= (int)SWIG_As_int(obj3
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17828 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17831 int arg2
= (int) wxDateTime::Inv_Month
;
17832 int arg3
= (int) wxDateTime::Inv_Year
;
17833 int arg4
= (int) 0 ;
17834 int arg5
= (int) 0 ;
17835 int arg6
= (int) 0 ;
17836 int arg7
= (int) 0 ;
17837 wxDateTime
*result
;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 PyObject
* obj3
= 0 ;
17842 PyObject
* obj4
= 0 ;
17843 PyObject
* obj5
= 0 ;
17844 PyObject
* obj6
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17850 arg1
= (int)SWIG_As_int(obj0
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 arg2
= (int)SWIG_As_int(obj1
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17857 arg3
= (int)SWIG_As_int(obj2
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17861 arg4
= (int)SWIG_As_int(obj3
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 arg5
= (int)SWIG_As_int(obj4
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 arg6
= (int)SWIG_As_int(obj5
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 arg7
= (int)SWIG_As_int(obj6
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17890 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17918 wxDateTime
*result
;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17931 result
= (wxDateTime
*) &_result_ref
;
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17944 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17948 wxDateTime
*result
;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "timet", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17964 result
= (wxDateTime
*) &_result_ref
;
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17977 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17981 wxDateTime
*result
;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "jdn", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17991 arg2
= (double)SWIG_As_double(obj1
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17997 result
= (wxDateTime
*) &_result_ref
;
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18010 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18014 int arg3
= (int) 0 ;
18015 int arg4
= (int) 0 ;
18016 int arg5
= (int) 0 ;
18017 wxDateTime
*result
;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 PyObject
* obj2
= 0 ;
18021 PyObject
* obj3
= 0 ;
18022 PyObject
* obj4
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 arg2
= (int)SWIG_As_int(obj1
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 arg3
= (int)SWIG_As_int(obj2
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 arg4
= (int)SWIG_As_int(obj3
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 arg5
= (int)SWIG_As_int(obj4
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18048 result
= (wxDateTime
*) &_result_ref
;
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18061 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18065 int arg3
= (int) wxDateTime::Inv_Month
;
18066 int arg4
= (int) wxDateTime::Inv_Year
;
18067 int arg5
= (int) 0 ;
18068 int arg6
= (int) 0 ;
18069 int arg7
= (int) 0 ;
18070 int arg8
= (int) 0 ;
18071 wxDateTime
*result
;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 PyObject
* obj4
= 0 ;
18077 PyObject
* obj5
= 0 ;
18078 PyObject
* obj6
= 0 ;
18079 PyObject
* obj7
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 arg2
= (int)SWIG_As_int(obj1
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 arg3
= (int)SWIG_As_int(obj2
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18094 arg4
= (int)SWIG_As_int(obj3
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 arg5
= (int)SWIG_As_int(obj4
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 arg6
= (int)SWIG_As_int(obj5
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 arg7
= (int)SWIG_As_int(obj6
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 arg8
= (int)SWIG_As_int(obj7
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18117 result
= (wxDateTime
*) &_result_ref
;
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18130 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18133 wxDateTime
*result
;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18146 result
= (wxDateTime
*) &_result_ref
;
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18159 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18163 wxDateTime
*result
;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "year", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18173 arg2
= (int)SWIG_As_int(obj1
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18179 result
= (wxDateTime
*) &_result_ref
;
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18192 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18196 wxDateTime
*result
;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self",(char *) "month", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 arg2
= (int)SWIG_As_int(obj1
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18212 result
= (wxDateTime
*) &_result_ref
;
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18225 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18229 wxDateTime
*result
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "day", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 arg2
= (int)SWIG_As_int(obj1
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18245 result
= (wxDateTime
*) &_result_ref
;
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18258 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18262 wxDateTime
*result
;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "hour", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18272 arg2
= (int)SWIG_As_int(obj1
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18278 result
= (wxDateTime
*) &_result_ref
;
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18291 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18295 wxDateTime
*result
;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self",(char *) "minute", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 arg2
= (int)SWIG_As_int(obj1
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18311 result
= (wxDateTime
*) &_result_ref
;
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18324 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18328 wxDateTime
*result
;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "second", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18338 arg2
= (int)SWIG_As_int(obj1
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18344 result
= (wxDateTime
*) &_result_ref
;
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18357 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18361 wxDateTime
*result
;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "millisecond", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18371 arg2
= (int)SWIG_As_int(obj1
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18377 result
= (wxDateTime
*) &_result_ref
;
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18390 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18394 int arg3
= (int) wxDateTime::Monday_First
;
18395 wxDateTime
*result
;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 PyObject
* obj2
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 arg2
= (int)SWIG_As_int(obj1
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 arg3
= (int)SWIG_As_int(obj2
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18416 result
= (wxDateTime
*) &_result_ref
;
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18429 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18433 int arg3
= (int) wxDateTime::Monday_First
;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 PyObject
* obj2
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 arg2
= (int)SWIG_As_int(obj1
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 arg3
= (int)SWIG_As_int(obj2
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 wxDateTime
* resultptr
;
18460 resultptr
= new wxDateTime((wxDateTime
&) result
);
18461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18469 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18473 wxDateTime
*result
;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self",(char *) "weekday", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 arg2
= (int)SWIG_As_int(obj1
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18489 result
= (wxDateTime
*) &_result_ref
;
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18502 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "weekday", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18516 arg2
= (int)SWIG_As_int(obj1
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18526 wxDateTime
* resultptr
;
18527 resultptr
= new wxDateTime((wxDateTime
&) result
);
18528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18536 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18540 wxDateTime
*result
;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "weekday", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 arg2
= (int)SWIG_As_int(obj1
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18556 result
= (wxDateTime
*) &_result_ref
;
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18569 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "weekday", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 arg2
= (int)SWIG_As_int(obj1
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 wxDateTime
* resultptr
;
18594 resultptr
= new wxDateTime((wxDateTime
&) result
);
18595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18603 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18607 int arg3
= (int) 1 ;
18608 int arg4
= (int) wxDateTime::Inv_Month
;
18609 int arg5
= (int) wxDateTime::Inv_Year
;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 PyObject
* obj2
= 0 ;
18614 PyObject
* obj3
= 0 ;
18615 PyObject
* obj4
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18623 arg2
= (int)SWIG_As_int(obj1
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 arg3
= (int)SWIG_As_int(obj2
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18630 arg4
= (int)SWIG_As_int(obj3
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 arg5
= (int)SWIG_As_int(obj4
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18657 int arg3
= (int) wxDateTime::Inv_Month
;
18658 int arg4
= (int) wxDateTime::Inv_Year
;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 PyObject
* obj2
= 0 ;
18663 PyObject
* obj3
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 arg2
= (int)SWIG_As_int(obj1
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 arg3
= (int)SWIG_As_int(obj2
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18678 arg4
= (int)SWIG_As_int(obj3
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18697 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18701 int arg3
= (int) wxDateTime::Inv_Month
;
18702 int arg4
= (int) wxDateTime::Inv_Year
;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 PyObject
* obj2
= 0 ;
18707 PyObject
* obj3
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 arg2
= (int)SWIG_As_int(obj1
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 arg3
= (int)SWIG_As_int(obj2
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 arg4
= (int)SWIG_As_int(obj3
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 wxDateTime
* resultptr
;
18734 resultptr
= new wxDateTime((wxDateTime
&) result
);
18735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18743 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18747 int arg3
= (int) wxDateTime::Mon
;
18748 int arg4
= (int) wxDateTime::Monday_First
;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 PyObject
* obj2
= 0 ;
18753 PyObject
* obj3
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 arg2
= (int)SWIG_As_int(obj1
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 arg3
= (int)SWIG_As_int(obj2
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18768 arg4
= (int)SWIG_As_int(obj3
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18787 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18791 int arg3
= (int) wxDateTime::Mon
;
18792 int arg4
= (int) wxDateTime::Monday_First
;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 PyObject
* obj2
= 0 ;
18797 PyObject
* obj3
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 arg2
= (int)SWIG_As_int(obj1
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 arg3
= (int)SWIG_As_int(obj2
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 arg4
= (int)SWIG_As_int(obj3
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 wxDateTime
* resultptr
;
18824 resultptr
= new wxDateTime((wxDateTime
&) result
);
18825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18833 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18837 int arg3
= (int) wxDateTime::Mon
;
18839 PyObject
* obj0
= 0 ;
18840 PyObject
* obj1
= 0 ;
18841 PyObject
* obj2
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18847 arg1
= (int)SWIG_As_int(obj0
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18849 arg2
= (int)SWIG_As_int(obj1
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 arg3
= (int)SWIG_As_int(obj2
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 wxDateTime
* resultptr
;
18864 resultptr
= new wxDateTime((wxDateTime
&) result
);
18865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18873 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18876 int arg2
= (int) wxDateTime::Inv_Month
;
18877 int arg3
= (int) wxDateTime::Inv_Year
;
18878 wxDateTime
*result
;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 PyObject
* obj2
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self",(char *) "month",(char *) "year", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18890 arg2
= (int)SWIG_As_int(obj1
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 arg3
= (int)SWIG_As_int(obj2
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18901 result
= (wxDateTime
*) &_result_ref
;
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18914 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18917 int arg2
= (int) wxDateTime::Inv_Month
;
18918 int arg3
= (int) wxDateTime::Inv_Year
;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 PyObject
* obj2
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self",(char *) "month",(char *) "year", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18931 arg2
= (int)SWIG_As_int(obj1
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 arg3
= (int)SWIG_As_int(obj2
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18946 wxDateTime
* resultptr
;
18947 resultptr
= new wxDateTime((wxDateTime
&) result
);
18948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18956 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
;
18958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18960 wxDateTime
*result
;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "yday", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 arg2
= (int)SWIG_As_int(obj1
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18976 result
= (wxDateTime
*) &_result_ref
;
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18989 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self",(char *) "yday", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 arg2
= (int)SWIG_As_int(obj1
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (arg1
)->GetYearDay(arg2
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 wxDateTime
* resultptr
;
19014 resultptr
= new wxDateTime((wxDateTime
&) result
);
19015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19023 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (double)(arg1
)->GetJulianDayNumber();
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_From_double((double)result
);
19049 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= (double)(arg1
)->GetJDN();
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_From_double((double)result
);
19075 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= SWIG_From_double((double)result
);
19101 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (double)(arg1
)->GetMJD();
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_From_double((double)result
);
19127 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self", NULL
19136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 result
= (double)(arg1
)->GetRataDie();
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= SWIG_From_double((double)result
);
19153 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19156 wxDateTime::TimeZone
*arg2
= 0 ;
19157 bool arg3
= (bool) false ;
19159 bool temp2
= false ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 PyObject
* obj2
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19175 arg3
= (bool)SWIG_As_bool(obj2
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 wxDateTime
* resultptr
;
19187 resultptr
= new wxDateTime((wxDateTime
&) result
);
19188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19191 if (temp2
) delete arg2
;
19196 if (temp2
) delete arg2
;
19202 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19205 wxDateTime::TimeZone
*arg2
= 0 ;
19206 bool arg3
= (bool) false ;
19207 wxDateTime
*result
;
19208 bool temp2
= false ;
19209 PyObject
* obj0
= 0 ;
19210 PyObject
* obj1
= 0 ;
19211 PyObject
* obj2
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19224 arg3
= (bool)SWIG_As_bool(obj2
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19231 result
= (wxDateTime
*) &_result_ref
;
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19239 if (temp2
) delete arg2
;
19244 if (temp2
) delete arg2
;
19250 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19253 bool arg2
= (bool) false ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self",(char *) "noDST", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 arg2
= (bool)SWIG_As_bool(obj1
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (arg1
)->ToGMT(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 wxDateTime
* resultptr
;
19277 resultptr
= new wxDateTime((wxDateTime
&) result
);
19278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19286 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19289 bool arg2
= (bool) false ;
19290 wxDateTime
*result
;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self",(char *) "noDST", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 arg2
= (bool)SWIG_As_bool(obj1
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19308 result
= (wxDateTime
*) &_result_ref
;
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19321 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19324 int arg2
= (int) wxDateTime::Country_Default
;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "country", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 arg2
= (int)SWIG_As_int(obj1
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_From_int((int)result
);
19353 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19381 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19407 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19410 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19411 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19413 bool temp2
= false ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "tz", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19425 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= SWIG_From_int((int)result
);
19438 if (temp2
) delete arg2
;
19443 if (temp2
) delete arg2
;
19449 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19452 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19453 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19455 bool temp2
= false ;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "tz", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19467 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= SWIG_From_int((int)result
);
19480 if (temp2
) delete arg2
;
19485 if (temp2
) delete arg2
;
19491 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19494 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19495 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19497 bool temp2
= false ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "tz", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= SWIG_From_int((int)result
);
19522 if (temp2
) delete arg2
;
19527 if (temp2
) delete arg2
;
19533 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19536 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19537 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19539 bool temp2
= false ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self",(char *) "tz", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19551 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_From_int((int)result
);
19564 if (temp2
) delete arg2
;
19569 if (temp2
) delete arg2
;
19575 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19578 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19579 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19581 bool temp2
= false ;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self",(char *) "tz", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_From_int((int)result
);
19606 if (temp2
) delete arg2
;
19611 if (temp2
) delete arg2
;
19617 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19620 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19621 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19623 bool temp2
= false ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "tz", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19635 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= SWIG_From_int((int)result
);
19648 if (temp2
) delete arg2
;
19653 if (temp2
) delete arg2
;
19659 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19662 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19663 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19665 bool temp2
= false ;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "tz", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= SWIG_From_int((int)result
);
19690 if (temp2
) delete arg2
;
19695 if (temp2
) delete arg2
;
19701 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19704 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19705 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19707 bool temp2
= false ;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self",(char *) "tz", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_From_int((int)result
);
19732 if (temp2
) delete arg2
;
19737 if (temp2
) delete arg2
;
19743 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19746 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19747 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19749 bool temp2
= false ;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self",(char *) "tz", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_From_int((int)result
);
19774 if (temp2
) delete arg2
;
19779 if (temp2
) delete arg2
;
19785 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19788 int arg2
= (int) wxDateTime::Monday_First
;
19789 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19790 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19792 bool temp3
= false ;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 PyObject
* obj2
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self",(char *) "flags",(char *) "tz", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 arg2
= (int)SWIG_As_int(obj1
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19809 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_From_int((int)result
);
19822 if (temp3
) delete arg3
;
19827 if (temp3
) delete arg3
;
19833 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19836 int arg2
= (int) wxDateTime::Monday_First
;
19837 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19838 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19840 bool temp3
= false ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 PyObject
* obj2
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "flags",(char *) "tz", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19852 arg2
= (int)SWIG_As_int(obj1
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19857 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_From_int((int)result
);
19870 if (temp3
) delete arg3
;
19875 if (temp3
) delete arg3
;
19881 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19884 int arg2
= (int) wxDateTime::Country_Default
;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "country", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 arg2
= (int)SWIG_As_int(obj1
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19918 wxDateTime
*arg2
= 0 ;
19920 PyObject
* obj0
= 0 ;
19921 PyObject
* obj1
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self",(char *) "datetime", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19932 if (arg2
== NULL
) {
19933 PyErr_SetString(PyExc_TypeError
,"null reference");
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19952 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19955 wxDateTime
*arg2
= 0 ;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self",(char *) "datetime", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19969 if (arg2
== NULL
) {
19970 PyErr_SetString(PyExc_TypeError
,"null reference");
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19989 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19992 wxDateTime
*arg2
= 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "datetime", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20006 if (arg2
== NULL
) {
20007 PyErr_SetString(PyExc_TypeError
,"null reference");
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20026 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20029 wxDateTime
*arg2
= 0 ;
20030 wxDateTime
*arg3
= 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 PyObject
* obj2
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "t1",(char *) "t2", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20045 if (arg2
== NULL
) {
20046 PyErr_SetString(PyExc_TypeError
,"null reference");
20049 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20052 if (arg3
== NULL
) {
20053 PyErr_SetString(PyExc_TypeError
,"null reference");
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20072 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20075 wxDateTime
*arg2
= 0 ;
20076 wxDateTime
*arg3
= 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 PyObject
* obj2
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self",(char *) "t1",(char *) "t2", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20091 if (arg2
== NULL
) {
20092 PyErr_SetString(PyExc_TypeError
,"null reference");
20095 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20098 if (arg3
== NULL
) {
20099 PyErr_SetString(PyExc_TypeError
,"null reference");
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20118 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20121 wxDateTime
*arg2
= 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self",(char *) "dt", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20135 if (arg2
== NULL
) {
20136 PyErr_SetString(PyExc_TypeError
,"null reference");
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20155 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20158 wxDateTime
*arg2
= 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self",(char *) "dt", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20172 if (arg2
== NULL
) {
20173 PyErr_SetString(PyExc_TypeError
,"null reference");
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20192 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20195 wxDateTime
*arg2
= 0 ;
20196 wxTimeSpan
*arg3
= 0 ;
20198 PyObject
* obj0
= 0 ;
20199 PyObject
* obj1
= 0 ;
20200 PyObject
* obj2
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self",(char *) "dt",(char *) "ts", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20211 if (arg2
== NULL
) {
20212 PyErr_SetString(PyExc_TypeError
,"null reference");
20215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20218 if (arg3
== NULL
) {
20219 PyErr_SetString(PyExc_TypeError
,"null reference");
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20238 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20241 wxTimeSpan
*arg2
= 0 ;
20242 wxDateTime
*result
;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "diff", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20255 if (arg2
== NULL
) {
20256 PyErr_SetString(PyExc_TypeError
,"null reference");
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20263 result
= (wxDateTime
*) &_result_ref
;
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20276 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20279 wxDateSpan
*arg2
= 0 ;
20280 wxDateTime
*result
;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "diff", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20293 if (arg2
== NULL
) {
20294 PyErr_SetString(PyExc_TypeError
,"null reference");
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20301 result
= (wxDateTime
*) &_result_ref
;
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20314 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20317 wxTimeSpan
*arg2
= 0 ;
20318 wxDateTime
*result
;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self",(char *) "diff", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20331 if (arg2
== NULL
) {
20332 PyErr_SetString(PyExc_TypeError
,"null reference");
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20339 result
= (wxDateTime
*) &_result_ref
;
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20352 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20355 wxDateSpan
*arg2
= 0 ;
20356 wxDateTime
*result
;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self",(char *) "diff", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20369 if (arg2
== NULL
) {
20370 PyErr_SetString(PyExc_TypeError
,"null reference");
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20377 result
= (wxDateTime
*) &_result_ref
;
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20390 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20393 wxDateTime
*arg2
= 0 ;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "self",(char *) "dt", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20407 if (arg2
== NULL
) {
20408 PyErr_SetString(PyExc_TypeError
,"null reference");
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 wxTimeSpan
* resultptr
;
20420 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20429 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20430 PyObject
*resultobj
;
20431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20432 wxTimeSpan
*arg2
= 0 ;
20433 wxDateTime
*result
;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20437 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20439 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20443 if (arg2
== NULL
) {
20444 PyErr_SetString(PyExc_TypeError
,"null reference");
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20451 result
= (wxDateTime
*) &_result_ref
;
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20464 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20465 PyObject
*resultobj
;
20466 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20467 wxDateSpan
*arg2
= 0 ;
20468 wxDateTime
*result
;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20472 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20474 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20478 if (arg2
== NULL
) {
20479 PyErr_SetString(PyExc_TypeError
,"null reference");
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20486 result
= (wxDateTime
*) &_result_ref
;
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20499 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20504 argc
= PyObject_Length(args
);
20505 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20506 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20512 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20522 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20530 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20538 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20548 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20556 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20561 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20566 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20567 PyObject
*resultobj
;
20568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20569 wxTimeSpan
*arg2
= 0 ;
20570 wxDateTime
*result
;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20574 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20576 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20580 if (arg2
== NULL
) {
20581 PyErr_SetString(PyExc_TypeError
,"null reference");
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20588 result
= (wxDateTime
*) &_result_ref
;
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20601 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20602 PyObject
*resultobj
;
20603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20604 wxDateSpan
*arg2
= 0 ;
20605 wxDateTime
*result
;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20609 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20611 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20615 if (arg2
== NULL
) {
20616 PyErr_SetString(PyExc_TypeError
,"null reference");
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20623 result
= (wxDateTime
*) &_result_ref
;
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20636 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20641 argc
= PyObject_Length(args
);
20642 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20643 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20649 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20659 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20667 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20675 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20685 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20693 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20698 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20703 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20704 PyObject
*resultobj
;
20705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20706 wxTimeSpan
*arg2
= 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20711 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20717 if (arg2
== NULL
) {
20718 PyErr_SetString(PyExc_TypeError
,"null reference");
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20729 wxDateTime
* resultptr
;
20730 resultptr
= new wxDateTime((wxDateTime
&) result
);
20731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20739 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20740 PyObject
*resultobj
;
20741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20742 wxDateSpan
*arg2
= 0 ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20747 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20753 if (arg2
== NULL
) {
20754 PyErr_SetString(PyExc_TypeError
,"null reference");
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 wxDateTime
* resultptr
;
20766 resultptr
= new wxDateTime((wxDateTime
&) result
);
20767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20775 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20780 argc
= PyObject_Length(args
);
20781 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20782 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20788 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20798 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20806 return _wrap_DateTime___add____SWIG_0(self
,args
);
20814 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20824 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20832 return _wrap_DateTime___add____SWIG_1(self
,args
);
20837 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20842 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20843 PyObject
*resultobj
;
20844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20845 wxDateTime
*arg2
= 0 ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20850 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20856 if (arg2
== NULL
) {
20857 PyErr_SetString(PyExc_TypeError
,"null reference");
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 wxTimeSpan
* resultptr
;
20869 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20878 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20879 PyObject
*resultobj
;
20880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20881 wxTimeSpan
*arg2
= 0 ;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20886 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20892 if (arg2
== NULL
) {
20893 PyErr_SetString(PyExc_TypeError
,"null reference");
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20904 wxDateTime
* resultptr
;
20905 resultptr
= new wxDateTime((wxDateTime
&) result
);
20906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20914 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20915 PyObject
*resultobj
;
20916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20917 wxDateSpan
*arg2
= 0 ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20922 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20928 if (arg2
== NULL
) {
20929 PyErr_SetString(PyExc_TypeError
,"null reference");
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20940 wxDateTime
* resultptr
;
20941 resultptr
= new wxDateTime((wxDateTime
&) result
);
20942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20950 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20955 argc
= PyObject_Length(args
);
20956 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20957 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20963 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20973 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20981 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20989 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20999 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21007 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21015 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21025 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21033 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21043 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21044 PyObject
*resultobj
;
21045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21046 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21051 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21072 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21073 PyObject
*resultobj
;
21074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21075 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21080 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21101 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21102 PyObject
*resultobj
;
21103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21104 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21109 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21131 PyObject
*resultobj
;
21132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21138 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21159 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21160 PyObject
*resultobj
;
21161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21162 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21167 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21188 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21189 PyObject
*resultobj
;
21190 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21191 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21196 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21217 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21220 wxString
*arg2
= 0 ;
21222 bool temp2
= false ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self",(char *) "date", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21233 arg2
= wxString_in_helper(obj1
);
21234 if (arg2
== NULL
) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_From_int((int)result
);
21259 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21262 wxString
*arg2
= 0 ;
21263 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21265 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21266 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21268 bool temp2
= false ;
21269 bool temp3
= false ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 PyObject
* obj3
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 arg2
= wxString_in_helper(obj1
);
21283 if (arg2
== NULL
) SWIG_fail
;
21288 arg3
= wxString_in_helper(obj2
);
21289 if (arg3
== NULL
) SWIG_fail
;
21294 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21297 if (arg4
== NULL
) {
21298 PyErr_SetString(PyExc_TypeError
,"null reference");
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_From_int((int)result
);
21332 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21335 wxString
*arg2
= 0 ;
21337 bool temp2
= false ;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self",(char *) "datetime", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 arg2
= wxString_in_helper(obj1
);
21349 if (arg2
== NULL
) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_From_int((int)result
);
21374 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21377 wxString
*arg2
= 0 ;
21379 bool temp2
= false ;
21380 PyObject
* obj0
= 0 ;
21381 PyObject
* obj1
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self",(char *) "date", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 arg2
= wxString_in_helper(obj1
);
21391 if (arg2
== NULL
) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= SWIG_From_int((int)result
);
21416 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21419 wxString
*arg2
= 0 ;
21421 bool temp2
= false ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "time", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 arg2
= wxString_in_helper(obj1
);
21433 if (arg2
== NULL
) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_From_int((int)result
);
21458 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21461 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21462 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21463 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21464 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21466 bool temp2
= false ;
21467 bool temp3
= false ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 PyObject
* obj2
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "format",(char *) "tz", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 arg2
= wxString_in_helper(obj1
);
21481 if (arg2
== NULL
) SWIG_fail
;
21487 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21510 if (temp3
) delete arg3
;
21519 if (temp3
) delete arg3
;
21525 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21557 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21561 PyObject
* obj0
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21589 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21621 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21653 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21656 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21658 return Py_BuildValue((char *)"");
21660 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "sec", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21670 arg1
= (long)SWIG_As_long(obj0
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= wxTimeSpan::Seconds(arg1
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 wxTimeSpan
* resultptr
;
21681 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21690 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21693 char *kwnames
[] = {
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= wxTimeSpan::Second();
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21706 wxTimeSpan
* resultptr
;
21707 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21716 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "min", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21726 arg1
= (long)SWIG_As_long(obj0
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= wxTimeSpan::Minutes(arg1
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 wxTimeSpan
* resultptr
;
21737 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21746 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21749 char *kwnames
[] = {
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= wxTimeSpan::Minute();
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 wxTimeSpan
* resultptr
;
21763 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21772 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21776 PyObject
* obj0
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "hours", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21782 arg1
= (long)SWIG_As_long(obj0
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= wxTimeSpan::Hours(arg1
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 wxTimeSpan
* resultptr
;
21793 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21802 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21805 char *kwnames
[] = {
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= wxTimeSpan::Hour();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 wxTimeSpan
* resultptr
;
21819 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21828 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "days", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21838 arg1
= (long)SWIG_As_long(obj0
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= wxTimeSpan::Days(arg1
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21848 wxTimeSpan
* resultptr
;
21849 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21858 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21861 char *kwnames
[] = {
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= wxTimeSpan::Day();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 wxTimeSpan
* resultptr
;
21875 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21884 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21888 PyObject
* obj0
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "days", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21894 arg1
= (long)SWIG_As_long(obj0
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= wxTimeSpan::Weeks(arg1
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21904 wxTimeSpan
* resultptr
;
21905 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21914 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21917 char *kwnames
[] = {
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= wxTimeSpan::Week();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 wxTimeSpan
* resultptr
;
21931 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21940 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 long arg1
= (long) 0 ;
21943 long arg2
= (long) 0 ;
21944 long arg3
= (long) 0 ;
21945 long arg4
= (long) 0 ;
21946 wxTimeSpan
*result
;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 PyObject
* obj2
= 0 ;
21950 PyObject
* obj3
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21957 arg1
= (long)SWIG_As_long(obj0
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 arg2
= (long)SWIG_As_long(obj1
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 arg3
= (long)SWIG_As_long(obj2
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 arg4
= (long)SWIG_As_long(obj3
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21986 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 char *kwnames
[] = {
21991 (char *) "self", NULL
21994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22014 wxTimeSpan
*arg2
= 0 ;
22015 wxTimeSpan
*result
;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "diff", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22028 if (arg2
== NULL
) {
22029 PyErr_SetString(PyExc_TypeError
,"null reference");
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22036 result
= (wxTimeSpan
*) &_result_ref
;
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22049 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22052 wxTimeSpan
*arg2
= 0 ;
22053 wxTimeSpan
*result
;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "diff", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22066 if (arg2
== NULL
) {
22067 PyErr_SetString(PyExc_TypeError
,"null reference");
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22074 result
= (wxTimeSpan
*) &_result_ref
;
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22087 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22091 wxTimeSpan
*result
;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self",(char *) "n", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22101 arg2
= (int)SWIG_As_int(obj1
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22107 result
= (wxTimeSpan
*) &_result_ref
;
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22120 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22123 wxTimeSpan
*result
;
22124 PyObject
* obj0
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22136 result
= (wxTimeSpan
*) &_result_ref
;
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22149 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 wxTimeSpan
* resultptr
;
22170 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22179 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22182 wxTimeSpan
*arg2
= 0 ;
22183 wxTimeSpan
*result
;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self",(char *) "diff", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22192 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22196 if (arg2
== NULL
) {
22197 PyErr_SetString(PyExc_TypeError
,"null reference");
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22204 result
= (wxTimeSpan
*) &_result_ref
;
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22217 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22220 wxTimeSpan
*arg2
= 0 ;
22221 wxTimeSpan
*result
;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "diff", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22230 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22234 if (arg2
== NULL
) {
22235 PyErr_SetString(PyExc_TypeError
,"null reference");
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22242 result
= (wxTimeSpan
*) &_result_ref
;
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22255 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22259 wxTimeSpan
*result
;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self",(char *) "n", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22268 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22269 arg2
= (int)SWIG_As_int(obj1
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22275 result
= (wxTimeSpan
*) &_result_ref
;
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22288 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22291 wxTimeSpan
*result
;
22292 PyObject
* obj0
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22304 result
= (wxTimeSpan
*) &_result_ref
;
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22317 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22320 wxTimeSpan
*arg2
= 0 ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self",(char *) "other", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22334 if (arg2
== NULL
) {
22335 PyErr_SetString(PyExc_TypeError
,"null reference");
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22346 wxTimeSpan
* resultptr
;
22347 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22356 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22359 wxTimeSpan
*arg2
= 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "other", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22373 if (arg2
== NULL
) {
22374 PyErr_SetString(PyExc_TypeError
,"null reference");
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 wxTimeSpan
* resultptr
;
22386 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22395 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "n", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 arg2
= (int)SWIG_As_int(obj1
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= wxTimeSpan___mul__(arg1
,arg2
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 wxTimeSpan
* resultptr
;
22420 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22429 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self",(char *) "n", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 arg2
= (int)SWIG_As_int(obj1
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 wxTimeSpan
* resultptr
;
22454 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22463 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22466 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "other", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22495 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22498 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self",(char *) "other", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22527 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22530 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "other", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22559 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22562 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "other", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22591 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
;
22593 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22594 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22596 PyObject
* obj0
= 0 ;
22597 PyObject
* obj1
= 0 ;
22598 char *kwnames
[] = {
22599 (char *) "self",(char *) "other", NULL
22602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22623 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22625 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22626 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self",(char *) "other", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22655 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22683 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22711 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22739 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22742 wxTimeSpan
*arg2
= 0 ;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self",(char *) "ts", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22756 if (arg2
== NULL
) {
22757 PyErr_SetString(PyExc_TypeError
,"null reference");
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22776 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22779 wxTimeSpan
*arg2
= 0 ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "ts", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22793 if (arg2
== NULL
) {
22794 PyErr_SetString(PyExc_TypeError
,"null reference");
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22813 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22816 wxTimeSpan
*arg2
= 0 ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self",(char *) "t", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22830 if (arg2
== NULL
) {
22831 PyErr_SetString(PyExc_TypeError
,"null reference");
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22850 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_From_int((int)result
);
22876 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_From_int((int)result
);
22902 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= SWIG_From_int((int)result
);
22928 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
;
22930 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_From_int((int)result
);
22954 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22975 hi
= PyLong_FromLong( (&result
)->GetHi() );
22976 lo
= PyLong_FromLong( (&result
)->GetLo() );
22977 shifter
= PyLong_FromLong(32);
22978 shifted
= PyNumber_Lshift(hi
, shifter
);
22979 resultobj
= PyNumber_Or(shifted
, lo
);
22982 Py_DECREF(shifter
);
22983 Py_DECREF(shifted
);
22991 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23011 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23012 hi
= PyLong_FromLong( (&result
)->GetHi() );
23013 lo
= PyLong_FromLong( (&result
)->GetLo() );
23014 shifter
= PyLong_FromLong(32);
23015 shifted
= PyNumber_Lshift(hi
, shifter
);
23016 resultobj
= PyNumber_Or(shifted
, lo
);
23019 Py_DECREF(shifter
);
23020 Py_DECREF(shifted
);
23028 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23031 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23032 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23034 bool temp2
= false ;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "format", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 arg2
= wxString_in_helper(obj1
);
23047 if (arg2
== NULL
) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23079 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23082 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23084 return Py_BuildValue((char *)"");
23086 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 int arg1
= (int) 0 ;
23089 int arg2
= (int) 0 ;
23090 int arg3
= (int) 0 ;
23091 int arg4
= (int) 0 ;
23092 wxDateSpan
*result
;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 PyObject
* obj2
= 0 ;
23096 PyObject
* obj3
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23103 arg1
= (int)SWIG_As_int(obj0
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 arg2
= (int)SWIG_As_int(obj1
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 arg3
= (int)SWIG_As_int(obj2
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23115 arg4
= (int)SWIG_As_int(obj3
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23132 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23161 PyObject
* obj0
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "days", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23167 arg1
= (int)SWIG_As_int(obj0
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= wxDateSpan::Days(arg1
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23177 wxDateSpan
* resultptr
;
23178 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23187 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23190 char *kwnames
[] = {
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= wxDateSpan::Day();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23203 wxDateSpan
* resultptr
;
23204 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23213 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23217 PyObject
* obj0
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "weeks", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23223 arg1
= (int)SWIG_As_int(obj0
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= wxDateSpan::Weeks(arg1
);
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23233 wxDateSpan
* resultptr
;
23234 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23243 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23246 char *kwnames
[] = {
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= wxDateSpan::Week();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 wxDateSpan
* resultptr
;
23260 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23269 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "mon", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23279 arg1
= (int)SWIG_As_int(obj0
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= wxDateSpan::Months(arg1
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 wxDateSpan
* resultptr
;
23290 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23299 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23302 char *kwnames
[] = {
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= wxDateSpan::Month();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 wxDateSpan
* resultptr
;
23316 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23325 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23329 PyObject
* obj0
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "years", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23335 arg1
= (int)SWIG_As_int(obj0
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= wxDateSpan::Years(arg1
);
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 wxDateSpan
* resultptr
;
23346 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23355 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23358 char *kwnames
[] = {
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= wxDateSpan::Year();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 wxDateSpan
* resultptr
;
23372 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23381 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23385 wxDateSpan
*result
;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self",(char *) "n", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23395 arg2
= (int)SWIG_As_int(obj1
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23401 result
= (wxDateSpan
*) &_result_ref
;
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23414 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23418 wxDateSpan
*result
;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "n", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 arg2
= (int)SWIG_As_int(obj1
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23434 result
= (wxDateSpan
*) &_result_ref
;
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23447 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23451 wxDateSpan
*result
;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "n", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 arg2
= (int)SWIG_As_int(obj1
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23467 result
= (wxDateSpan
*) &_result_ref
;
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23480 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23484 wxDateSpan
*result
;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "n", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 arg2
= (int)SWIG_As_int(obj1
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23500 result
= (wxDateSpan
*) &_result_ref
;
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23513 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_From_int((int)result
);
23539 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_From_int((int)result
);
23565 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_From_int((int)result
);
23591 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_From_int((int)result
);
23617 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= SWIG_From_int((int)result
);
23643 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23646 wxDateSpan
*arg2
= 0 ;
23647 wxDateSpan
*result
;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "other", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23660 if (arg2
== NULL
) {
23661 PyErr_SetString(PyExc_TypeError
,"null reference");
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23668 result
= (wxDateSpan
*) &_result_ref
;
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23681 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23684 wxDateSpan
*arg2
= 0 ;
23685 wxDateSpan
*result
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "other", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23698 if (arg2
== NULL
) {
23699 PyErr_SetString(PyExc_TypeError
,"null reference");
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23706 result
= (wxDateSpan
*) &_result_ref
;
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23719 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23722 wxDateSpan
*result
;
23723 PyObject
* obj0
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23735 result
= (wxDateSpan
*) &_result_ref
;
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23748 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23752 wxDateSpan
*result
;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "factor", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 arg2
= (int)SWIG_As_int(obj1
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23768 result
= (wxDateSpan
*) &_result_ref
;
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23781 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23784 wxDateSpan
*arg2
= 0 ;
23785 wxDateSpan
*result
;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "other", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23794 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23798 if (arg2
== NULL
) {
23799 PyErr_SetString(PyExc_TypeError
,"null reference");
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23806 result
= (wxDateSpan
*) &_result_ref
;
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23819 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23822 wxDateSpan
*arg2
= 0 ;
23823 wxDateSpan
*result
;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "other", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23832 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23836 if (arg2
== NULL
) {
23837 PyErr_SetString(PyExc_TypeError
,"null reference");
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23844 result
= (wxDateSpan
*) &_result_ref
;
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23857 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23860 wxDateSpan
*result
;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23873 result
= (wxDateSpan
*) &_result_ref
;
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23886 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23890 wxDateSpan
*result
;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self",(char *) "factor", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23899 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23900 arg2
= (int)SWIG_As_int(obj1
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23906 result
= (wxDateSpan
*) &_result_ref
;
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23919 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23922 wxDateSpan
*arg2
= 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "other", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23936 if (arg2
== NULL
) {
23937 PyErr_SetString(PyExc_TypeError
,"null reference");
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 wxDateSpan
* resultptr
;
23949 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23958 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23961 wxDateSpan
*arg2
= 0 ;
23963 PyObject
* obj0
= 0 ;
23964 PyObject
* obj1
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "other", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23975 if (arg2
== NULL
) {
23976 PyErr_SetString(PyExc_TypeError
,"null reference");
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 wxDateSpan
* resultptr
;
23988 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23997 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "n", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 arg2
= (int)SWIG_As_int(obj1
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= wxDateSpan___mul__(arg1
,arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24021 wxDateSpan
* resultptr
;
24022 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24031 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 PyObject
* obj1
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "self",(char *) "n", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24045 arg2
= (int)SWIG_As_int(obj1
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= wxDateSpan___rmul__(arg1
,arg2
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 wxDateSpan
* resultptr
;
24056 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24065 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24068 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "other", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24097 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24100 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "other", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24132 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24134 return Py_BuildValue((char *)"");
24136 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24139 char *kwnames
[] = {
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (long)wxGetLocalTime();
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_From_long((long)result
);
24158 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24161 char *kwnames
[] = {
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (long)wxGetUTCTime();
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_From_long((long)result
);
24180 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24183 char *kwnames
[] = {
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (long)wxGetCurrentTime();
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_From_long((long)result
);
24202 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24205 char *kwnames
[] = {
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= wxGetLocalTimeMillis();
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24219 hi
= PyLong_FromLong( (&result
)->GetHi() );
24220 lo
= PyLong_FromLong( (&result
)->GetLo() );
24221 shifter
= PyLong_FromLong(32);
24222 shifted
= PyNumber_Lshift(hi
, shifter
);
24223 resultobj
= PyNumber_Or(shifted
, lo
);
24226 Py_DECREF(shifter
);
24227 Py_DECREF(shifted
);
24235 static int _wrap_DefaultDateTime_set(PyObject
*) {
24236 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24241 static PyObject
*_wrap_DefaultDateTime_get() {
24244 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24249 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24252 wxDataFormat
*result
;
24253 PyObject
* obj0
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "type", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24259 arg1
= (int)SWIG_As_int(obj0
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24275 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxString
*arg1
= 0 ;
24278 wxDataFormat
*result
;
24279 bool temp1
= false ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "format", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24287 arg1
= wxString_in_helper(obj0
);
24288 if (arg1
== NULL
) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24313 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
;
24315 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 Py_INCREF(Py_None
); resultobj
= Py_None
;
24338 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24339 PyObject
*resultobj
;
24340 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24346 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 arg2
= (int)SWIG_As_int(obj1
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24367 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24368 PyObject
*resultobj
;
24369 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24375 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24378 arg2
= (int)SWIG_As_int(obj1
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24396 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24397 PyObject
*resultobj
;
24398 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24399 wxDataFormat
*arg2
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24404 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24410 if (arg2
== NULL
) {
24411 PyErr_SetString(PyExc_TypeError
,"null reference");
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24430 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24435 argc
= PyObject_Length(args
);
24436 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24437 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24443 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24453 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24461 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24469 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24477 _v
= SWIG_Check_int(argv
[1]);
24479 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24484 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24489 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24490 PyObject
*resultobj
;
24491 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24492 wxDataFormat
*arg2
= 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24497 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24503 if (arg2
== NULL
) {
24504 PyErr_SetString(PyExc_TypeError
,"null reference");
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24523 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24528 argc
= PyObject_Length(args
);
24529 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24530 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24536 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24546 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24554 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24570 _v
= SWIG_Check_int(argv
[1]);
24572 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24577 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24582 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self",(char *) "format", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 arg2
= (int)SWIG_As_int(obj1
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 (arg1
)->SetType((wxDataFormatId
)arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 Py_INCREF(Py_None
); resultobj
= Py_None
;
24611 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_From_int((int)result
);
24637 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= ((wxDataFormat
const *)arg1
)->GetId();
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24669 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24672 wxString
*arg2
= 0 ;
24673 bool temp2
= false ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "format", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 arg2
= wxString_in_helper(obj1
);
24685 if (arg2
== NULL
) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->SetId((wxString
const &)*arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24710 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24713 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24715 return Py_BuildValue((char *)"");
24717 static int _wrap_FormatInvalid_set(PyObject
*) {
24718 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24723 static PyObject
*_wrap_FormatInvalid_get() {
24726 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24731 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 Py_INCREF(Py_None
); resultobj
= Py_None
;
24756 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24759 int arg2
= (int) wxDataObject::Get
;
24760 SwigValueWrapper
< wxDataFormat
> result
;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 char *kwnames
[] = {
24764 (char *) "self",(char *) "dir", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24771 arg2
= (int)SWIG_As_int(obj1
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24782 wxDataFormat
* resultptr
;
24783 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24792 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24795 int arg2
= (int) wxDataObject::Get
;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self",(char *) "dir", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24807 arg2
= (int)SWIG_As_int(obj1
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24824 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24827 wxDataFormat
*arg2
= 0 ;
24828 int arg3
= (int) wxDataObject::Get
;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 PyObject
* obj2
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "format",(char *) "dir", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24843 if (arg2
== NULL
) {
24844 PyErr_SetString(PyExc_TypeError
,"null reference");
24848 arg3
= (int)SWIG_As_int(obj2
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24867 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24870 wxDataFormat
*arg2
= 0 ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self",(char *) "format", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24884 if (arg2
== NULL
) {
24885 PyErr_SetString(PyExc_TypeError
,"null reference");
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24902 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24905 int arg2
= (int) wxDataObject::Get
;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self",(char *) "dir", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24917 arg2
= (int)SWIG_As_int(obj1
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= result
;
24934 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24937 wxDataFormat
*arg2
= 0 ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self",(char *) "format", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24951 if (arg2
== NULL
) {
24952 PyErr_SetString(PyExc_TypeError
,"null reference");
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= result
;
24969 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24972 wxDataFormat
*arg2
= 0 ;
24973 PyObject
*arg3
= (PyObject
*) 0 ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 PyObject
* obj2
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "format",(char *) "data", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24988 if (arg2
== NULL
) {
24989 PyErr_SetString(PyExc_TypeError
,"null reference");
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25009 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25012 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25014 return Py_BuildValue((char *)"");
25016 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25019 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25020 wxDataObjectSimple
*result
;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "format", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25031 if (arg1
== NULL
) {
25032 PyErr_SetString(PyExc_TypeError
,"null reference");
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25050 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25053 wxDataFormat
*result
;
25054 PyObject
* obj0
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25066 result
= (wxDataFormat
*) &_result_ref
;
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25079 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25082 wxDataFormat
*arg2
= 0 ;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self",(char *) "format", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25095 if (arg2
== NULL
) {
25096 PyErr_SetString(PyExc_TypeError
,"null reference");
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25139 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= result
;
25165 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25168 PyObject
*arg2
= (PyObject
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "data", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25196 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25199 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25201 return Py_BuildValue((char *)"");
25203 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25206 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25207 wxPyDataObjectSimple
*result
;
25208 PyObject
* obj0
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "format", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25218 if (arg1
== NULL
) {
25219 PyErr_SetString(PyExc_TypeError
,"null reference");
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25237 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25240 PyObject
*arg2
= (PyObject
*) 0 ;
25241 PyObject
*arg3
= (PyObject
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 PyObject
* obj2
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "self",(char *) "_class", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 Py_INCREF(Py_None
); resultobj
= Py_None
;
25268 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25271 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25273 return Py_BuildValue((char *)"");
25275 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxDataObjectComposite
*result
;
25278 char *kwnames
[] = {
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25297 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25300 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25301 bool arg3
= (bool) false ;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 PyObject
* obj2
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25313 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25315 arg3
= (bool)SWIG_As_bool(obj2
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 (arg1
)->Add(arg2
,arg3
);
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 Py_INCREF(Py_None
); resultobj
= Py_None
;
25332 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25335 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25337 return Py_BuildValue((char *)"");
25339 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25342 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25343 wxTextDataObject
*result
;
25344 bool temp1
= false ;
25345 PyObject
* obj0
= 0 ;
25346 char *kwnames
[] = {
25347 (char *) "text", NULL
25350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25353 arg1
= wxString_in_helper(obj0
);
25354 if (arg1
== NULL
) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25380 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25384 PyObject
* obj0
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= (size_t)(arg1
)->GetTextLength();
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25406 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25410 PyObject
* obj0
= 0 ;
25411 char *kwnames
[] = {
25412 (char *) "self", NULL
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (arg1
)->GetText();
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25438 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25441 wxString
*arg2
= 0 ;
25442 bool temp2
= false ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self",(char *) "text", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 arg2
= wxString_in_helper(obj1
);
25454 if (arg2
== NULL
) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->SetText((wxString
const &)*arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 Py_INCREF(Py_None
); resultobj
= Py_None
;
25479 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25482 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25484 return Py_BuildValue((char *)"");
25486 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25489 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25490 wxPyTextDataObject
*result
;
25491 bool temp1
= false ;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "text", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25500 arg1
= wxString_in_helper(obj0
);
25501 if (arg1
== NULL
) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25527 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25529 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25530 PyObject
*arg2
= (PyObject
*) 0 ;
25531 PyObject
*arg3
= (PyObject
*) 0 ;
25532 PyObject
* obj0
= 0 ;
25533 PyObject
* obj1
= 0 ;
25534 PyObject
* obj2
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self",(char *) "self",(char *) "_class", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25561 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25563 return Py_BuildValue((char *)"");
25565 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25568 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25569 wxBitmapDataObject
*result
;
25570 PyObject
* obj0
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "bitmap", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25580 if (arg1
== NULL
) {
25581 PyErr_SetString(PyExc_TypeError
,"null reference");
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25599 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
;
25601 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 wxBitmap
* resultptr
;
25620 resultptr
= new wxBitmap((wxBitmap
&) result
);
25621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25629 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25632 wxBitmap
*arg2
= 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self",(char *) "bitmap", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25645 if (arg2
== NULL
) {
25646 PyErr_SetString(PyExc_TypeError
,"null reference");
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 Py_INCREF(Py_None
); resultobj
= Py_None
;
25663 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25666 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25668 return Py_BuildValue((char *)"");
25670 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25673 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25674 wxPyBitmapDataObject
*result
;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "bitmap", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25685 if (arg1
== NULL
) {
25686 PyErr_SetString(PyExc_TypeError
,"null reference");
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25704 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25707 PyObject
*arg2
= (PyObject
*) 0 ;
25708 PyObject
*arg3
= (PyObject
*) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 PyObject
* obj2
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "self",(char *) "_class", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 Py_INCREF(Py_None
); resultobj
= Py_None
;
25735 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25738 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25740 return Py_BuildValue((char *)"");
25742 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxFileDataObject
*result
;
25745 char *kwnames
[] = {
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 result
= (wxFileDataObject
*)new wxFileDataObject();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25764 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25767 wxArrayString
*result
;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25780 result
= (wxArrayString
*) &_result_ref
;
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= wxArrayString2PyList_helper(*result
);
25795 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25798 wxString
*arg2
= 0 ;
25799 bool temp2
= false ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self",(char *) "filename", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 arg2
= wxString_in_helper(obj1
);
25811 if (arg2
== NULL
) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->AddFile((wxString
const &)*arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25836 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25839 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25841 return Py_BuildValue((char *)"");
25843 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25846 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25847 wxCustomDataObject
*result
;
25848 PyObject
* obj0
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "format", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25858 if (arg1
== NULL
) {
25859 PyErr_SetString(PyExc_TypeError
,"null reference");
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25877 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25880 PyObject
*arg2
= (PyObject
*) 0 ;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self",(char *) "data", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25908 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25912 PyObject
* obj0
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (size_t)(arg1
)->GetSize();
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25934 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= result
;
25960 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25963 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25965 return Py_BuildValue((char *)"");
25967 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxURLDataObject
*result
;
25970 char *kwnames
[] = {
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (wxURLDataObject
*)new wxURLDataObject();
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25989 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25993 PyObject
* obj0
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= (arg1
)->GetURL();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26021 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26024 wxString
*arg2
= 0 ;
26025 bool temp2
= false ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 char *kwnames
[] = {
26029 (char *) "self",(char *) "url", NULL
26032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26036 arg2
= wxString_in_helper(obj1
);
26037 if (arg2
== NULL
) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 (arg1
)->SetURL((wxString
const &)*arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 Py_INCREF(Py_None
); resultobj
= Py_None
;
26062 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26065 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26067 return Py_BuildValue((char *)"");
26069 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxMetafileDataObject
*result
;
26072 char *kwnames
[] = {
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26091 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26094 wxMetafile
*arg2
= 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "metafile", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26107 if (arg2
== NULL
) {
26108 PyErr_SetString(PyExc_TypeError
,"null reference");
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 Py_INCREF(Py_None
); resultobj
= Py_None
;
26125 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 wxMetafile
* resultptr
;
26146 resultptr
= new wxMetafile((wxMetafile
&) result
);
26147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26155 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26158 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26160 return Py_BuildValue((char *)"");
26162 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26166 PyObject
* obj0
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "res", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26172 arg1
= (int)SWIG_As_int(obj0
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26190 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxWindow
*arg1
= (wxWindow
*) 0 ;
26193 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26194 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26195 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26196 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26197 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26198 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26199 wxPyDropSource
*result
;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 PyObject
* obj2
= 0 ;
26203 PyObject
* obj3
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26215 if (arg2
== NULL
) {
26216 PyErr_SetString(PyExc_TypeError
,"null reference");
26221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26224 if (arg3
== NULL
) {
26225 PyErr_SetString(PyExc_TypeError
,"null reference");
26230 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26233 if (arg4
== NULL
) {
26234 PyErr_SetString(PyExc_TypeError
,"null reference");
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26252 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26255 PyObject
*arg2
= (PyObject
*) 0 ;
26256 PyObject
*arg3
= (PyObject
*) 0 ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 PyObject
* obj2
= 0 ;
26261 PyObject
* obj3
= 0 ;
26262 char *kwnames
[] = {
26263 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26271 arg4
= (int)SWIG_As_int(obj3
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 Py_INCREF(Py_None
); resultobj
= Py_None
;
26287 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26289 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 Py_INCREF(Py_None
); resultobj
= Py_None
;
26312 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26315 wxDataObject
*arg2
= 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self",(char *) "data", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26328 if (arg2
== NULL
) {
26329 PyErr_SetString(PyExc_TypeError
,"null reference");
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 (arg1
)->SetData(*arg2
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 Py_INCREF(Py_None
); resultobj
= Py_None
;
26346 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26349 wxDataObject
*result
;
26350 PyObject
* obj0
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26372 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26376 wxCursor
*arg3
= 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 PyObject
* obj2
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self",(char *) "res",(char *) "cursor", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26387 arg2
= (int)SWIG_As_int(obj1
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26392 if (arg3
== NULL
) {
26393 PyErr_SetString(PyExc_TypeError
,"null reference");
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 Py_INCREF(Py_None
); resultobj
= Py_None
;
26410 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26412 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26413 int arg2
= (int) wxDrag_CopyOnly
;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "flags", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26425 arg2
= (int)SWIG_As_int(obj1
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (int)(arg1
)->DoDragDrop(arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_From_int((int)result
);
26442 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
;
26444 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self",(char *) "effect", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 arg2
= (int)SWIG_As_int(obj1
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26474 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26477 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26479 return Py_BuildValue((char *)"");
26481 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26484 wxPyDropTarget
*result
;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "dataObject", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26493 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26509 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26512 PyObject
*arg2
= (PyObject
*) 0 ;
26513 PyObject
*arg3
= (PyObject
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 PyObject
* obj2
= 0 ;
26517 char *kwnames
[] = {
26518 (char *) "self",(char *) "self",(char *) "_class", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 Py_INCREF(Py_None
); resultobj
= Py_None
;
26540 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 Py_INCREF(Py_None
); resultobj
= Py_None
;
26565 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26568 wxDataObject
*result
;
26569 PyObject
* obj0
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26591 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
;
26593 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26594 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26595 PyObject
* obj0
= 0 ;
26596 PyObject
* obj1
= 0 ;
26597 char *kwnames
[] = {
26598 (char *) "self",(char *) "dataObject", NULL
26601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26605 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 (arg1
)->SetDataObject(arg2
);
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 Py_INCREF(Py_None
); resultobj
= Py_None
;
26620 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 PyObject
* obj2
= 0 ;
26630 PyObject
* obj3
= 0 ;
26631 char *kwnames
[] = {
26632 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26638 arg2
= (int)SWIG_As_int(obj1
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26640 arg3
= (int)SWIG_As_int(obj2
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26642 arg4
= (int)SWIG_As_int(obj3
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= SWIG_From_int((int)result
);
26658 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
;
26660 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 PyObject
* obj2
= 0 ;
26668 PyObject
* obj3
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26676 arg2
= (int)SWIG_As_int(obj1
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26678 arg3
= (int)SWIG_As_int(obj2
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26680 arg4
= (int)SWIG_As_int(obj3
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_From_int((int)result
);
26696 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->base_OnLeave();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 Py_INCREF(Py_None
); resultobj
= Py_None
;
26721 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 PyObject
* obj2
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self",(char *) "x",(char *) "y", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26737 arg2
= (int)SWIG_As_int(obj1
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26739 arg3
= (int)SWIG_As_int(obj2
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26757 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (bool)(arg1
)->GetData();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26785 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26788 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26790 return Py_BuildValue((char *)"");
26792 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxPyTextDropTarget
*result
;
26795 char *kwnames
[] = {
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26814 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
;
26816 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26817 PyObject
*arg2
= (PyObject
*) 0 ;
26818 PyObject
*arg3
= (PyObject
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 PyObject
* obj2
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self",(char *) "self",(char *) "_class", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 Py_INCREF(Py_None
); resultobj
= Py_None
;
26845 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 PyObject
* obj2
= 0 ;
26855 PyObject
* obj3
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26863 arg2
= (int)SWIG_As_int(obj1
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26865 arg3
= (int)SWIG_As_int(obj2
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26867 arg4
= (int)SWIG_As_int(obj3
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= SWIG_From_int((int)result
);
26883 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26890 PyObject
* obj0
= 0 ;
26891 PyObject
* obj1
= 0 ;
26892 PyObject
* obj2
= 0 ;
26893 PyObject
* obj3
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26901 arg2
= (int)SWIG_As_int(obj1
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26903 arg3
= (int)SWIG_As_int(obj2
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26905 arg4
= (int)SWIG_As_int(obj3
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_From_int((int)result
);
26921 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
;
26923 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26924 PyObject
* obj0
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 (arg1
)->base_OnLeave();
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 Py_INCREF(Py_None
); resultobj
= Py_None
;
26946 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
;
26948 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 PyObject
* obj2
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self",(char *) "x",(char *) "y", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26962 arg2
= (int)SWIG_As_int(obj1
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26964 arg3
= (int)SWIG_As_int(obj2
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26982 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 PyObject
* obj2
= 0 ;
26992 PyObject
* obj3
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 arg2
= (int)SWIG_As_int(obj1
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27002 arg3
= (int)SWIG_As_int(obj2
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27004 arg4
= (int)SWIG_As_int(obj3
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_From_int((int)result
);
27020 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27023 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27025 return Py_BuildValue((char *)"");
27027 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
;
27029 wxPyFileDropTarget
*result
;
27030 char *kwnames
[] = {
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27049 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
;
27051 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27052 PyObject
*arg2
= (PyObject
*) 0 ;
27053 PyObject
*arg3
= (PyObject
*) 0 ;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 PyObject
* obj2
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self",(char *) "self",(char *) "_class", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 Py_INCREF(Py_None
); resultobj
= Py_None
;
27080 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 PyObject
* obj1
= 0 ;
27089 PyObject
* obj2
= 0 ;
27090 PyObject
* obj3
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27098 arg2
= (int)SWIG_As_int(obj1
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27100 arg3
= (int)SWIG_As_int(obj2
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27102 arg4
= (int)SWIG_As_int(obj3
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= SWIG_From_int((int)result
);
27118 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 PyObject
* obj2
= 0 ;
27128 PyObject
* obj3
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 arg2
= (int)SWIG_As_int(obj1
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27138 arg3
= (int)SWIG_As_int(obj2
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27140 arg4
= (int)SWIG_As_int(obj3
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_From_int((int)result
);
27156 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
;
27158 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27159 PyObject
* obj0
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 (arg1
)->base_OnLeave();
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 Py_INCREF(Py_None
); resultobj
= Py_None
;
27181 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
;
27183 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 PyObject
* obj2
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "x",(char *) "y", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27197 arg2
= (int)SWIG_As_int(obj1
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27199 arg3
= (int)SWIG_As_int(obj2
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27217 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27226 PyObject
* obj2
= 0 ;
27227 PyObject
* obj3
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27235 arg2
= (int)SWIG_As_int(obj1
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27237 arg3
= (int)SWIG_As_int(obj2
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27239 arg4
= (int)SWIG_As_int(obj3
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_From_int((int)result
);
27255 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27258 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27260 return Py_BuildValue((char *)"");
27262 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxClipboard
*result
;
27265 char *kwnames
[] = {
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (wxClipboard
*)new wxClipboard();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27284 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 Py_INCREF(Py_None
); resultobj
= Py_None
;
27309 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (bool)(arg1
)->Open();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27337 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27390 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27393 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27395 PyObject
* obj0
= 0 ;
27396 PyObject
* obj1
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "data", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27405 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (bool)(arg1
)->AddData(arg2
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27422 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27425 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "data", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27437 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (bool)(arg1
)->SetData(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27454 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27457 wxDataFormat
*arg2
= 0 ;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self",(char *) "format", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27471 if (arg2
== NULL
) {
27472 PyErr_SetString(PyExc_TypeError
,"null reference");
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27491 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27494 wxDataObject
*arg2
= 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self",(char *) "data", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27508 if (arg2
== NULL
) {
27509 PyErr_SetString(PyExc_TypeError
,"null reference");
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (bool)(arg1
)->GetData(*arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27528 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27531 PyObject
* obj0
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "self", NULL
27536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 Py_INCREF(Py_None
); resultobj
= Py_None
;
27553 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (bool)(arg1
)->Flush();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27581 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27584 bool arg2
= (bool) true ;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self",(char *) "primary", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27595 arg2
= (bool)SWIG_As_bool(obj1
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 (arg1
)->UsePrimarySelection(arg2
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 Py_INCREF(Py_None
); resultobj
= Py_None
;
27612 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxClipboard
*result
;
27615 char *kwnames
[] = {
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 result
= (wxClipboard
*)wxClipboard::Get();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27634 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27637 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27639 return Py_BuildValue((char *)"");
27641 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27644 wxClipboardLocker
*result
;
27645 PyObject
* obj0
= 0 ;
27646 char *kwnames
[] = {
27647 (char *) "clipboard", NULL
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27669 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27672 PyObject
* obj0
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 Py_INCREF(Py_None
); resultobj
= Py_None
;
27694 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27722 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27725 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27727 return Py_BuildValue((char *)"");
27729 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 int arg1
= (int) 0 ;
27732 int arg2
= (int) 0 ;
27733 int arg3
= (int) 0 ;
27734 int arg4
= (int) 0 ;
27735 wxVideoMode
*result
;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 PyObject
* obj2
= 0 ;
27739 PyObject
* obj3
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27746 arg1
= (int)SWIG_As_int(obj0
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27750 arg2
= (int)SWIG_As_int(obj1
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27754 arg3
= (int)SWIG_As_int(obj2
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 arg4
= (int)SWIG_As_int(obj3
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27775 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27803 wxVideoMode
*arg2
= 0 ;
27805 PyObject
* obj0
= 0 ;
27806 PyObject
* obj1
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "self",(char *) "other", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27817 if (arg2
== NULL
) {
27818 PyErr_SetString(PyExc_TypeError
,"null reference");
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27837 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= SWIG_From_int((int)result
);
27863 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27864 PyObject
*resultobj
;
27865 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27867 PyObject
* obj0
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= SWIG_From_int((int)result
);
27889 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_From_int((int)result
);
27915 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27943 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
;
27945 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27946 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27948 PyObject
* obj0
= 0 ;
27949 PyObject
* obj1
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self",(char *) "other", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27975 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
;
27977 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27978 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 PyObject
* obj1
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self",(char *) "other", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27995 wxPyEndAllowThreads(__tstate
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28007 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "w", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 arg2
= (int)SWIG_As_int(obj1
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28022 if (arg1
) (arg1
)->w
= arg2
;
28024 Py_INCREF(Py_None
); resultobj
= Py_None
;
28031 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28035 PyObject
* obj0
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "self", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 result
= (int) ((arg1
)->w
);
28045 resultobj
= SWIG_From_int((int)result
);
28052 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
;
28054 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "h", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28065 arg2
= (int)SWIG_As_int(obj1
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28067 if (arg1
) (arg1
)->h
= arg2
;
28069 Py_INCREF(Py_None
); resultobj
= Py_None
;
28076 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28077 PyObject
*resultobj
;
28078 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28080 PyObject
* obj0
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 result
= (int) ((arg1
)->h
);
28090 resultobj
= SWIG_From_int((int)result
);
28097 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
;
28099 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self",(char *) "bpp", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28110 arg2
= (int)SWIG_As_int(obj1
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28112 if (arg1
) (arg1
)->bpp
= arg2
;
28114 Py_INCREF(Py_None
); resultobj
= Py_None
;
28121 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
;
28123 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28125 PyObject
* obj0
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28133 result
= (int) ((arg1
)->bpp
);
28135 resultobj
= SWIG_From_int((int)result
);
28142 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self",(char *) "refresh", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28155 arg2
= (int)SWIG_As_int(obj1
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28157 if (arg1
) (arg1
)->refresh
= arg2
;
28159 Py_INCREF(Py_None
); resultobj
= Py_None
;
28166 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 char *kwnames
[] = {
28172 (char *) "self", NULL
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28178 result
= (int) ((arg1
)->refresh
);
28180 resultobj
= SWIG_From_int((int)result
);
28187 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28190 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28192 return Py_BuildValue((char *)"");
28194 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28195 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28200 static PyObject
*_wrap_DefaultVideoMode_get() {
28203 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28208 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 size_t arg1
= (size_t) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "index", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28219 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (wxDisplay
*)new wxDisplay(arg1
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28236 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 Py_INCREF(Py_None
); resultobj
= Py_None
;
28261 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
;
28264 char *kwnames
[] = {
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= (size_t)wxDisplay::GetCount();
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28283 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
;
28285 wxPoint
*arg1
= 0 ;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "pt", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28296 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_From_int((int)result
);
28312 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxWindow
*arg1
= (wxWindow
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "window", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (int)Display_GetFromWindow(arg1
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= SWIG_From_int((int)result
);
28338 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28342 PyObject
* obj0
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28366 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 wxRect
* resultptr
;
28387 resultptr
= new wxRect((wxRect
&) result
);
28388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28396 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28400 PyObject
* obj0
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 result
= ((wxDisplay
const *)arg1
)->GetName();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28428 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
;
28430 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28456 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28459 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28460 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self",(char *) "mode", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28475 if (arg2
== NULL
) {
28476 PyErr_SetString(PyExc_TypeError
,"null reference");
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= result
;
28494 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28497 wxVideoMode result
;
28498 PyObject
* obj0
= 0 ;
28499 char *kwnames
[] = {
28500 (char *) "self", NULL
28503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28514 wxVideoMode
* resultptr
;
28515 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28524 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28527 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28528 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28530 PyObject
* obj0
= 0 ;
28531 PyObject
* obj1
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "mode", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28543 if (arg2
== NULL
) {
28544 PyErr_SetString(PyExc_TypeError
,"null reference");
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28564 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 (arg1
)->ResetMode();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 Py_INCREF(Py_None
); resultobj
= Py_None
;
28589 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28592 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28594 return Py_BuildValue((char *)"");
28596 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
;
28598 wxStandardPaths
*result
;
28599 char *kwnames
[] = {
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 wxStandardPaths
&_result_ref
= wxStandardPaths::Get();
28608 result
= (wxStandardPaths
*) &_result_ref
;
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
);