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_wxFileHistory swig_types[2]
214 #define SWIGTYPE_p_wxLog swig_types[3]
215 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
216 #define SWIGTYPE_p_wxMenu swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxConfigBase swig_types[7]
219 #define SWIGTYPE_p_wxDisplay swig_types[8]
220 #define SWIGTYPE_p_wxFileType swig_types[9]
221 #define SWIGTYPE_p_wxLogGui swig_types[10]
222 #define SWIGTYPE_p_wxFont swig_types[11]
223 #define SWIGTYPE_p_wxDataFormat swig_types[12]
224 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
225 #define SWIGTYPE_p_wxCaret swig_types[14]
226 #define SWIGTYPE_p_int swig_types[15]
227 #define SWIGTYPE_p_wxSize swig_types[16]
228 #define SWIGTYPE_p_wxClipboard swig_types[17]
229 #define SWIGTYPE_p_wxStopWatch swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxLogStderr swig_types[22]
234 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
235 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
240 #define SWIGTYPE_p_wxDataObject swig_types[29]
241 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
242 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
243 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
244 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
245 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
246 #define SWIGTYPE_p_wxSound swig_types[35]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
248 #define SWIGTYPE_p_wxLogWindow swig_types[37]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
250 #define SWIGTYPE_p_wxArrayString swig_types[39]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
252 #define SWIGTYPE_p_wxToolTip swig_types[41]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
254 #define SWIGTYPE_p_wxFileConfig swig_types[43]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
256 #define SWIGTYPE_p_wxVideoMode swig_types[45]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_char swig_types[50]
262 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
263 #define SWIGTYPE_p_wxStandardPaths swig_types[52]
264 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
265 #define SWIGTYPE_p_wxFrame swig_types[54]
266 #define SWIGTYPE_p_wxTimer swig_types[55]
267 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
268 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
269 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
270 #define SWIGTYPE_p_wxTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxJoystick swig_types[60]
272 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
273 #define SWIGTYPE_p_wxPoint swig_types[62]
274 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
275 #define SWIGTYPE_p_wxCursor swig_types[64]
276 #define SWIGTYPE_p_wxObject swig_types[65]
277 #define SWIGTYPE_p_wxOutputStream swig_types[66]
278 #define SWIGTYPE_p_wxDateTime swig_types[67]
279 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
280 #define SWIGTYPE_p_wxKillError 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 long wxGetFreeMemory()
581 { wxPyRaiseNotImplemented(); return 0; }
584 // See my_fragments.i
585 SWIGSTATICINLINE(int)
586 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
589 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
590 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
594 *val
= (unsigned long)v
;
599 SWIGSTATICINLINE(unsigned long)
600 SWIG_As_unsigned_SS_long(PyObject
* obj
)
603 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
605 this is needed to make valgrind/purify happier. the other
606 solution is throw an exception, but since this code should work
609 memset((void*)&v
, 0, sizeof(unsigned long));
615 SWIGSTATICINLINE(int)
616 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
618 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
622 SWIGSTATICINLINE(PyObject
* )
623 SWIG_From_unsigned_SS_long(unsigned long value
)
625 return (value
> LONG_MAX
) ?
626 PyLong_FromUnsignedLong(value
)
627 : PyInt_FromLong(swig_numeric_cast(value
,long));
631 void wxWakeUpMainThread() {}
634 bool wxThread_IsMain() {
635 #ifdef WXP_WITH_THREAD
636 return wxThread::IsMain();
643 int wxCaret_GetBlinkTime() {
644 return wxCaret::GetBlinkTime();
647 void wxCaret_SetBlinkTime(int milliseconds
) {
648 wxCaret::SetBlinkTime(milliseconds
);
652 #include <wx/snglinst.h>
656 #include <wx/msw/private.h>
657 #include <wx/dynload.h>
662 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
669 // This one only partially works. Appears to be an undocumented
670 // "standard" convention that not all widgets adhear to. For
671 // example, for some widgets backgrounds or non-client areas may
673 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
677 // This one works much better, except for on XP. On Win2k nearly
678 // all widgets and their children are captured correctly[**]. On
679 // XP with Themes activated most native widgets draw only
680 // partially, if at all. Without themes it works just like on
683 // ** For example the radio buttons in a wxRadioBox are not its
684 // children by default, but you can capture it via the panel
685 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
686 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
687 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
688 PRF_ERASEBKGND
| PRF_OWNED
);
692 // This one is only defined in the latest SDK and is only
693 // available on XP. MSDN says it is similar to sending WM_PRINT
694 // so I expect that it will work similar to the above. Since it
695 // is avaialble only on XP, it can't be compiled like this and
696 // will have to be loaded dynamically.
697 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
702 // Use PrintWindow if available, or fallback to WM_PRINT
703 // otherwise. Unfortunately using PrintWindow is even worse than
704 // WM_PRINT. For most native widgets nothing is drawn to the dc
705 // at all, with or without Themes.
706 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
707 static bool s_triedToLoad
= false;
708 static PrintWindow_t pfnPrintWindow
= NULL
;
709 if ( !s_triedToLoad
)
712 s_triedToLoad
= true;
713 wxDynamicLibrary
dllUser32(_T("user32.dll"));
714 if ( dllUser32
.IsLoaded() )
716 wxLogNull nolog
; // Don't report errors here
717 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
722 printf("Using PrintWindow\n");
723 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
727 printf("Using WM_PRINT\n");
728 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
729 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
737 #include <wx/tipdlg.h>
740 class wxPyTipProvider
: public wxTipProvider
{
742 wxPyTipProvider(size_t currentTip
)
743 : wxTipProvider(currentTip
) {}
745 DEC_PYCALLBACK_STRING__pure(GetTip
);
746 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
750 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
751 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
754 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
756 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
758 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
761 if (owner
== NULL
) SetOwner(this);
765 void wxPyTimer::Notify() {
767 bool blocked
= wxPyBeginBlockThreads();
768 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
769 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
770 wxPyEndBlockThreads(blocked
);
774 void wxPyTimer::base_Notify() {
780 SWIGSTATICINLINE(PyObject
*)
781 SWIG_FromCharPtr(const char* cptr
)
784 size_t size
= strlen(cptr
);
785 if (size
> INT_MAX
) {
786 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
787 SWIG_TypeQuery("char *"), 0);
790 return PyString_FromStringAndSize(cptr
, size
);
792 return PyString_FromString(cptr
);
801 SWIGSTATICINLINE(int)
802 SWIG_CheckUnsignedLongInRange(unsigned long value
,
803 unsigned long max_value
,
806 if (value
> max_value
) {
808 PyErr_Format(PyExc_OverflowError
,
809 "value %ld is greater than '%s' minimum %ld",
810 value
, errmsg
, max_value
);
818 #if UINT_MAX != ULONG_MAX
819 SWIGSTATICINLINE(int)
820 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
822 const char* errmsg
= val
? "unsigned int" : 0;
824 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
825 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
826 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
833 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
838 SWIGSTATICINLINE(unsigned int)
839 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
841 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
846 SWIGSTATICINLINE(unsigned int)
847 SWIG_As_unsigned_SS_int(PyObject
* obj
)
850 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
852 this is needed to make valgrind/purify happier. the other
853 solution is throw an exception, but since this code should work
856 memset((void*)&v
, 0, sizeof(unsigned int));
862 SWIGSTATICINLINE(int)
863 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
865 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
868 wxString
Log_TimeStamp(){
870 wxLog::TimeStamp(&msg
);
873 void wxLog_Destroy(wxLog
*self
){ delete self
; }
874 // Make somce wrappers that double any % signs so they are 'escaped'
875 void wxPyLogFatalError(const wxString
& msg
)
878 m
.Replace(wxT("%"), wxT("%%"));
882 void wxPyLogError(const wxString
& msg
)
885 m
.Replace(wxT("%"), wxT("%%"));
889 void wxPyLogWarning(const wxString
& msg
)
892 m
.Replace(wxT("%"), wxT("%%"));
896 void wxPyLogMessage(const wxString
& msg
)
899 m
.Replace(wxT("%"), wxT("%%"));
903 void wxPyLogInfo(const wxString
& msg
)
906 m
.Replace(wxT("%"), wxT("%%"));
910 void wxPyLogDebug(const wxString
& msg
)
913 m
.Replace(wxT("%"), wxT("%%"));
917 void wxPyLogVerbose(const wxString
& msg
)
920 m
.Replace(wxT("%"), wxT("%%"));
924 void wxPyLogStatus(const wxString
& msg
)
927 m
.Replace(wxT("%"), wxT("%%"));
931 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
934 m
.Replace(wxT("%"), wxT("%%"));
935 wxLogStatus(pFrame
, m
);
938 void wxPyLogSysError(const wxString
& msg
)
941 m
.Replace(wxT("%"), wxT("%%"));
945 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
948 m
.Replace(wxT("%"), wxT("%%"));
949 wxLogGeneric(level
, m
);
952 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
955 m
.Replace(wxT("%"), wxT("%%"));
959 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
962 m
.Replace(wxT("%"), wxT("%%"));
968 // A wxLog class that can be derived from in wxPython
969 class wxPyLog
: public wxLog
{
971 wxPyLog() : wxLog() {}
973 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
975 bool blocked
= wxPyBeginBlockThreads();
976 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
977 PyObject
* s
= wx2PyString(szString
);
978 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
981 wxPyEndBlockThreads(blocked
);
983 wxLog::DoLog(level
, szString
, t
);
986 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
988 bool blocked
= wxPyBeginBlockThreads();
989 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
990 PyObject
* s
= wx2PyString(szString
);
991 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
994 wxPyEndBlockThreads(blocked
);
996 wxLog::DoLogString(szString
, t
);
1005 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1008 #include <wx/joystick.h>
1011 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1012 // A C++ stub class for wxJoystick for platforms that don't have it.
1013 class wxJoystick
: public wxObject
{
1015 wxJoystick(int joystick
= wxJOYSTICK1
) {
1016 bool blocked
= wxPyBeginBlockThreads();
1017 PyErr_SetString(PyExc_NotImplementedError
,
1018 "wxJoystick is not available on this platform.");
1019 wxPyEndBlockThreads(blocked
);
1021 wxPoint
GetPosition() { return wxPoint(-1,-1); }
1022 int GetZPosition() { return -1; }
1023 int GetButtonState() { return -1; }
1024 int GetPOVPosition() { return -1; }
1025 int GetPOVCTSPosition() { return -1; }
1026 int GetRudderPosition() { return -1; }
1027 int GetUPosition() { return -1; }
1028 int GetVPosition() { return -1; }
1029 int GetMovementThreshold() { return -1; }
1030 void SetMovementThreshold(int threshold
) {}
1032 bool IsOk(void) { return false; }
1033 int GetNumberJoysticks() { return -1; }
1034 int GetManufacturerId() { return -1; }
1035 int GetProductId() { return -1; }
1036 wxString
GetProductName() { return wxEmptyString
; }
1037 int GetXMin() { return -1; }
1038 int GetYMin() { return -1; }
1039 int GetZMin() { return -1; }
1040 int GetXMax() { return -1; }
1041 int GetYMax() { return -1; }
1042 int GetZMax() { return -1; }
1043 int GetNumberButtons() { return -1; }
1044 int GetNumberAxes() { return -1; }
1045 int GetMaxButtons() { return -1; }
1046 int GetMaxAxes() { return -1; }
1047 int GetPollingMin() { return -1; }
1048 int GetPollingMax() { return -1; }
1049 int GetRudderMin() { return -1; }
1050 int GetRudderMax() { return -1; }
1051 int GetUMin() { return -1; }
1052 int GetUMax() { return -1; }
1053 int GetVMin() { return -1; }
1054 int GetVMax() { return -1; }
1056 bool HasRudder() { return false; }
1057 bool HasZ() { return false; }
1058 bool HasU() { return false; }
1059 bool HasV() { return false; }
1060 bool HasPOV() { return false; }
1061 bool HasPOV4Dir() { return false; }
1062 bool HasPOVCTS() { return false; }
1064 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
1065 bool ReleaseCapture() { return false; }
1070 #include <wx/sound.h>
1074 // A C++ stub class for wxWave for platforms that don't have it.
1075 class wxSound
: public wxObject
1079 bool blocked
= wxPyBeginBlockThreads();
1080 PyErr_SetString(PyExc_NotImplementedError
,
1081 "wxSound is not available on this platform.");
1082 wxPyEndBlockThreads(blocked
);
1084 wxSound(const wxString
&/*, bool*/) {
1085 bool blocked
= wxPyBeginBlockThreads();
1086 PyErr_SetString(PyExc_NotImplementedError
,
1087 "wxSound is not available on this platform.");
1088 wxPyEndBlockThreads(blocked
);
1090 wxSound(int, const wxByte
*) {
1091 bool blocked
= wxPyBeginBlockThreads();
1092 PyErr_SetString(PyExc_NotImplementedError
,
1093 "wxSound is not available on this platform.");
1094 wxPyEndBlockThreads(blocked
);
1099 bool Create(const wxString
&/*, bool*/) { return false; }
1100 bool Create(int, const wxByte
*) { return false; };
1101 bool IsOk() { return false; };
1102 bool Play(unsigned) const { return false; }
1103 static bool Play(const wxString
&, unsigned) { return false; }
1104 static void Stop() {}
1109 wxSound
*new_wxSound(wxString
const &fileName
){
1110 if (fileName
.Length() == 0)
1113 return new wxSound(fileName
);
1115 wxSound
*new_wxSound(PyObject
*data
){
1116 unsigned char* buffer
; int size
;
1117 wxSound
*sound
= NULL
;
1119 bool blocked
= wxPyBeginBlockThreads();
1120 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1122 sound
= new wxSound(size
, buffer
);
1124 wxPyEndBlockThreads(blocked
);
1127 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1129 unsigned char* buffer
;
1133 bool blocked
= wxPyBeginBlockThreads();
1134 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1136 rv
= self
->Create(size
, buffer
);
1138 wxPyEndBlockThreads(blocked
);
1141 bool blocked
= wxPyBeginBlockThreads();
1142 PyErr_SetString(PyExc_NotImplementedError
,
1143 "Create from data is not available on this platform.");
1144 wxPyEndBlockThreads(blocked
);
1149 #include <wx/mimetype.h>
1151 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1153 if (self
->GetMimeType(&str
))
1154 return wx2PyString(str
);
1158 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1160 if (self
->GetMimeTypes(arr
))
1161 return wxArrayString2PyList_helper(arr
);
1165 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1167 if (self
->GetExtensions(arr
))
1168 return wxArrayString2PyList_helper(arr
);
1172 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1174 if (self
->GetIcon(&loc
))
1175 return new wxIcon(loc
);
1179 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1181 if (self
->GetIcon(&loc
)) {
1182 wxString iconFile
= loc
.GetFileName();
1187 // Make a tuple and put the values in it
1188 bool blocked
= wxPyBeginBlockThreads();
1189 PyObject
* tuple
= PyTuple_New(3);
1190 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1191 wxT("wxIcon"), true));
1192 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1193 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1194 wxPyEndBlockThreads(blocked
);
1200 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1202 if (self
->GetDescription(&str
))
1203 return wx2PyString(str
);
1207 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1209 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1210 return wx2PyString(str
);
1214 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1216 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1217 return wx2PyString(str
);
1221 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1222 wxArrayString verbs
;
1223 wxArrayString commands
;
1224 if (self
->GetAllCommands(&verbs
, &commands
,
1225 wxFileType::MessageParameters(filename
, mimetype
))) {
1226 bool blocked
= wxPyBeginBlockThreads();
1227 PyObject
* tuple
= PyTuple_New(2);
1228 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1229 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1230 wxPyEndBlockThreads(blocked
);
1236 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1237 return wxFileType::ExpandCommand(command
,
1238 wxFileType::MessageParameters(filename
, mimetype
));
1240 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1242 self
->EnumAllFileTypes(arr
);
1243 return wxArrayString2PyList_helper(arr
);
1246 #include <wx/artprov.h>
1248 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1249 static const wxString
wxPyART_MENU(wxART_MENU
);
1250 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1251 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1252 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1253 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1254 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1255 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1256 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1257 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1258 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1259 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1260 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1261 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1262 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1263 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1264 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1265 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1266 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1267 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1268 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1269 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1270 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1271 static const wxString
wxPyART_HELP(wxART_HELP
);
1272 static const wxString
wxPyART_TIP(wxART_TIP
);
1273 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1274 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1275 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1276 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1277 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1278 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1279 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1280 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1281 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1282 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1283 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1284 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1285 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1286 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1287 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1288 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1289 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1290 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1291 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1292 // Python aware wxArtProvider
1293 class wxPyArtProvider
: public wxArtProvider
{
1296 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1297 const wxArtClient
& client
,
1298 const wxSize
& size
) {
1299 wxBitmap rval
= wxNullBitmap
;
1300 bool blocked
= wxPyBeginBlockThreads();
1301 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1302 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1306 s1
= wx2PyString(id
);
1307 s2
= wx2PyString(client
);
1308 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1313 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1318 wxPyEndBlockThreads(blocked
);
1325 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1329 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1330 PyObject
* ret
= PyTuple_New(3);
1332 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1333 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1334 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1339 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1344 cont
= self
->GetFirstGroup(value
, index
);
1345 return __EnumerationHelper(cont
, value
, index
);
1347 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1351 cont
= self
->GetNextGroup(value
, index
);
1352 return __EnumerationHelper(cont
, value
, index
);
1354 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1359 cont
= self
->GetFirstEntry(value
, index
);
1360 return __EnumerationHelper(cont
, value
, index
);
1362 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1366 cont
= self
->GetNextEntry(value
, index
);
1367 return __EnumerationHelper(cont
, value
, index
);
1369 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1371 self
->Read(key
, &rv
, defaultVal
);
1375 // See my_fragments.i
1376 SWIGSTATICINLINE(int)
1377 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1379 if (PyNumber_Check(obj
)) {
1380 if (val
) *val
= PyFloat_AsDouble(obj
);
1384 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1385 obj
->ob_type
->tp_name
);
1386 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1393 SWIGSTATICINLINE(double)
1394 SWIG_As_double(PyObject
* obj
)
1397 if (!SWIG_AsVal_double(obj
, &v
)) {
1399 this is needed to make valgrind/purify happier. the other
1400 solution is throw an exception, but since this code should work
1403 memset((void*)&v
, 0, sizeof(double));
1409 SWIGSTATICINLINE(int)
1410 SWIG_Check_double(PyObject
* obj
)
1412 return SWIG_AsVal_double(obj
, (double*)0);
1415 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1417 self
->Read(key
, &rv
, defaultVal
);
1420 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1422 self
->Read(key
, &rv
, defaultVal
);
1426 #include <wx/datetime.h>
1429 static const wxString
wxPyDateFormatStr(wxT("%c"));
1430 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1432 #define LOCAL_TZ wxDateTime::Local
1435 #if UINT_MAX < LONG_MAX
1436 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1437 #define SWIG_From_unsigned_SS_int SWIG_From_long
1440 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1441 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1445 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1446 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1447 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1448 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1449 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1450 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1451 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1452 return (*self
< *other
);
1454 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1455 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1456 return (*self
<= *other
);
1458 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1459 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1460 return (*self
> *other
);
1462 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1463 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1464 return (*self
>= *other
);
1466 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1467 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1468 return (*self
== *other
);
1470 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1471 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1472 return (*self
!= *other
);
1474 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1476 const wxChar
* _date
= date
;
1477 rv
= self
->ParseRfc822Date(_date
);
1478 if (rv
== NULL
) return -1;
1481 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1483 const wxChar
* _date
= date
;
1484 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1485 if (rv
== NULL
) return -1;
1488 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1490 const wxChar
* _datetime
= datetime
;
1491 rv
= self
->ParseDateTime(_datetime
);
1492 if (rv
== NULL
) return -1;
1493 return rv
- _datetime
;
1495 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1497 const wxChar
* _date
= date
;
1498 rv
= self
->ParseDate(_date
);
1499 if (rv
== NULL
) return -1;
1502 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1504 const wxChar
* _time
= time
;
1505 rv
= self
->ParseTime(_time
);
1506 if (rv
== NULL
) return -1;
1509 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1510 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1511 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1512 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1513 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1514 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1515 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1516 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1517 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1518 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1519 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1520 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1521 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1522 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1523 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1524 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1526 #include <wx/dataobj.h>
1528 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1529 size_t count
= self
->GetFormatCount(dir
);
1530 wxDataFormat
* formats
= new wxDataFormat
[count
];
1531 self
->GetAllFormats(formats
, dir
);
1533 bool blocked
= wxPyBeginBlockThreads();
1534 PyObject
* list
= PyList_New(count
);
1535 for (size_t i
=0; i
<count
; i
++) {
1536 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1537 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1538 PyList_Append(list
, obj
);
1541 wxPyEndBlockThreads(blocked
);
1545 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1546 PyObject
* rval
= NULL
;
1547 size_t size
= self
->GetDataSize(format
);
1548 bool blocked
= wxPyBeginBlockThreads();
1550 char* buf
= new char[size
];
1551 if (self
->GetDataHere(format
, buf
))
1552 rval
= PyString_FromStringAndSize(buf
, size
);
1559 wxPyEndBlockThreads(blocked
);
1562 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1564 bool blocked
= wxPyBeginBlockThreads();
1565 if (PyString_Check(data
)) {
1566 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1569 // raise a TypeError if not a string
1570 PyErr_SetString(PyExc_TypeError
, "String expected.");
1573 wxPyEndBlockThreads(blocked
);
1576 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1577 PyObject
* rval
= NULL
;
1578 size_t size
= self
->GetDataSize();
1579 bool blocked
= wxPyBeginBlockThreads();
1581 char* buf
= new char[size
];
1582 if (self
->GetDataHere(buf
))
1583 rval
= PyString_FromStringAndSize(buf
, size
);
1590 wxPyEndBlockThreads(blocked
);
1593 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1595 bool blocked
= wxPyBeginBlockThreads();
1596 if (PyString_Check(data
)) {
1597 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1600 // raise a TypeError if not a string
1601 PyErr_SetString(PyExc_TypeError
, "String expected.");
1604 wxPyEndBlockThreads(blocked
);
1607 // Create a new class for wxPython to use
1608 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1610 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1611 : wxDataObjectSimple(format
) {}
1613 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1614 bool GetDataHere(void *buf
) const;
1615 bool SetData(size_t len
, const void *buf
) const;
1619 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1621 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1622 // We need to get the data for this object and write it to buf. I think
1623 // the best way to do this for wxPython is to have the Python method
1624 // return either a string or None and then act appropriately with the
1628 bool blocked
= wxPyBeginBlockThreads();
1629 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1631 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1633 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1635 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1639 wxPyEndBlockThreads(blocked
);
1643 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1644 // For this one we simply need to make a string from buf and len
1645 // and send it to the Python method.
1647 bool blocked
= wxPyBeginBlockThreads();
1648 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1649 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1650 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1653 wxPyEndBlockThreads(blocked
);
1657 // Create a new class for wxPython to use
1658 class wxPyTextDataObject
: public wxTextDataObject
{
1660 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1661 : wxTextDataObject(text
) {}
1663 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1664 DEC_PYCALLBACK_STRING__const(GetText
);
1665 DEC_PYCALLBACK__STRING(SetText
);
1669 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1670 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1671 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1674 // Create a new class for wxPython to use
1675 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1677 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1678 : wxBitmapDataObject(bitmap
) {}
1680 wxBitmap
GetBitmap() const;
1681 void SetBitmap(const wxBitmap
& bitmap
);
1685 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1686 wxBitmap
* rval
= &wxNullBitmap
;
1687 bool blocked
= wxPyBeginBlockThreads();
1688 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1691 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1693 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1698 wxPyEndBlockThreads(blocked
);
1702 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1703 bool blocked
= wxPyBeginBlockThreads();
1704 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1705 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1706 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1709 wxPyEndBlockThreads(blocked
);
1712 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1714 bool blocked
= wxPyBeginBlockThreads();
1715 if (PyString_Check(data
)) {
1716 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1719 // raise a TypeError if not a string
1720 PyErr_SetString(PyExc_TypeError
, "String expected.");
1723 wxPyEndBlockThreads(blocked
);
1726 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1728 bool blocked
= wxPyBeginBlockThreads();
1729 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1730 wxPyEndBlockThreads(blocked
);
1734 class wxMetafileDataObject
: public wxDataObjectSimple
1737 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1741 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1744 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1745 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1746 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1747 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1748 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1751 class wxPyTextDropTarget
: public wxTextDropTarget
{
1753 wxPyTextDropTarget() {}
1755 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1757 DEC_PYCALLBACK__(OnLeave
);
1758 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1759 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1760 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1761 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1766 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1767 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1768 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1769 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1770 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1771 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1775 class wxPyFileDropTarget
: public wxFileDropTarget
{
1777 wxPyFileDropTarget() {}
1779 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1781 DEC_PYCALLBACK__(OnLeave
);
1782 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1783 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1784 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1785 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1790 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1791 const wxArrayString
& filenames
) {
1793 bool blocked
= wxPyBeginBlockThreads();
1794 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1795 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1796 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1799 wxPyEndBlockThreads(blocked
);
1805 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1806 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1807 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1808 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1809 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1814 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1816 #include <wx/display.h>
1818 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1819 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1821 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1823 #include <wx/dynarray.h>
1824 #include <wx/vidmode.h>
1826 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1827 #include "wx/arrimpl.cpp"
1828 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1829 const wxVideoMode wxDefaultVideoMode
;
1834 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1837 static size_t GetCount()
1838 { wxPyRaiseNotImplemented(); return 0; }
1840 static int GetFromPoint(const wxPoint
& pt
)
1841 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1842 static int GetFromWindow(wxWindow
*window
)
1843 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1845 virtual bool IsOk() const { return false; }
1846 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1847 virtual wxString
GetName() const { return wxEmptyString
; }
1848 bool IsPrimary() const { return false; }
1850 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1851 { wxArrayVideoModes a
; return a
; }
1853 virtual wxVideoMode
GetCurrentMode() const
1854 { return wxDefaultVideoMode
; }
1856 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1863 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1864 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1865 PyObject
* pyList
= NULL
;
1866 wxArrayVideoModes arr
= self
->GetModes(mode
);
1867 bool blocked
= wxPyBeginBlockThreads();
1868 pyList
= PyList_New(0);
1869 for (int i
=0; i
< arr
.GetCount(); i
++) {
1870 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1871 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1872 PyList_Append(pyList
, pyObj
);
1875 wxPyEndBlockThreads(blocked
);
1879 #include <wx/stdpaths.h>
1881 wxStandardPaths
*StandardPaths_Get(){
1882 return (wxStandardPaths
*) &wxStandardPaths::Get();
1887 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "index", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1897 arg1
= (int)SWIG_As_int(obj0
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 if (!wxPyCheckForApp()) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1908 wxColour
* resultptr
;
1909 resultptr
= new wxColour((wxColour
&) result
);
1910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1918 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
*resultobj
;
1922 PyObject
* obj0
= 0 ;
1924 (char *) "index", NULL
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1928 arg1
= (int)SWIG_As_int(obj0
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 if (!wxPyCheckForApp()) SWIG_fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1940 resultptr
= new wxFont((wxFont
&) result
);
1941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1949 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1953 PyObject
* obj0
= 0 ;
1955 (char *) "index", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1959 arg1
= (int)SWIG_As_int(obj0
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 if (!wxPyCheckForApp()) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 resultobj
= SWIG_From_int((int)result
);
1976 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1980 PyObject
* obj0
= 0 ;
1982 (char *) "index", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1986 arg1
= (int)SWIG_As_int(obj0
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 if (!wxPyCheckForApp()) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2005 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
2014 if (!wxPyCheckForApp()) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= (int)wxSystemSettings::GetScreenType();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 resultobj
= SWIG_From_int((int)result
);
2028 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2031 PyObject
* obj0
= 0 ;
2033 (char *) "screen", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2037 arg1
= (int)SWIG_As_int(obj0
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 if (!wxPyCheckForApp()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 Py_INCREF(Py_None
); resultobj
= Py_None
;
2054 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2057 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2059 return Py_BuildValue((char *)"");
2061 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2062 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2067 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2072 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2074 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2081 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2083 wxSystemOptions
*result
;
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 result
= (wxSystemOptions
*)new wxSystemOptions();
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2103 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxString
*arg1
= 0 ;
2106 wxString
*arg2
= 0 ;
2107 bool temp1
= false ;
2108 bool temp2
= false ;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2112 (char *) "name",(char *) "value", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2117 arg1
= wxString_in_helper(obj0
);
2118 if (arg1
== NULL
) SWIG_fail
;
2122 arg2
= wxString_in_helper(obj1
);
2123 if (arg2
== NULL
) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 Py_INCREF(Py_None
); resultobj
= Py_None
;
2156 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxString
*arg1
= 0 ;
2160 bool temp1
= false ;
2161 PyObject
* obj0
= 0 ;
2162 PyObject
* obj1
= 0 ;
2164 (char *) "name",(char *) "value", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2169 arg1
= wxString_in_helper(obj0
);
2170 if (arg1
== NULL
) SWIG_fail
;
2173 arg2
= (int)SWIG_As_int(obj1
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxString
*arg1
= 0 ;
2201 bool temp1
= false ;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "name", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2209 arg1
= wxString_in_helper(obj0
);
2210 if (arg1
== NULL
) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2241 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxString
*arg1
= 0 ;
2245 bool temp1
= false ;
2246 PyObject
* obj0
= 0 ;
2248 (char *) "name", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2253 arg1
= wxString_in_helper(obj0
);
2254 if (arg1
== NULL
) SWIG_fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2264 resultobj
= SWIG_From_int((int)result
);
2279 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxString
*arg1
= 0 ;
2283 bool temp1
= false ;
2284 PyObject
* obj0
= 0 ;
2286 (char *) "name", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2291 arg1
= wxString_in_helper(obj0
);
2292 if (arg1
== NULL
) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2319 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2322 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2324 return Py_BuildValue((char *)"");
2326 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2327 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2332 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2337 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2339 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2346 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2347 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2352 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2357 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2359 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2366 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2367 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2372 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2377 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2379 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2386 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (long)wxNewId();
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_From_long((long)result
);
2408 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2411 PyObject
* obj0
= 0 ;
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2417 arg1
= (long)SWIG_As_long(obj0
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2426 Py_INCREF(Py_None
); resultobj
= Py_None
;
2433 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 result
= (long)wxGetCurrentId();
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 resultobj
= SWIG_From_long((long)result
);
2455 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2459 PyObject
* obj0
= 0 ;
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2465 arg1
= (int)SWIG_As_int(obj0
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= (bool)wxIsStockID(arg1
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2483 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2486 wxString
*arg2
= 0 ;
2488 bool temp2
= false ;
2489 PyObject
* obj0
= 0 ;
2490 PyObject
* obj1
= 0 ;
2492 (char *) "id",(char *) "label", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2496 arg1
= (int)SWIG_As_int(obj0
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 arg2
= wxString_in_helper(obj1
);
2500 if (arg2
== NULL
) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2531 PyObject
* obj0
= 0 ;
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2537 arg1
= (int)SWIG_As_int(obj0
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= wxGetStockLabel(arg1
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2559 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2567 if (!wxPyCheckForApp()) SWIG_fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2589 if (!wxPyCheckForApp()) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 Py_INCREF(Py_None
); resultobj
= Py_None
;
2603 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 bool arg1
= (bool) true ;
2607 PyObject
* obj0
= 0 ;
2609 (char *) "resetTimer", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2614 arg1
= (bool)SWIG_As_bool(obj0
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (long)wxGetElapsedTime(arg1
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_From_long((long)result
);
2631 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 int *arg1
= (int *) 0 ;
2634 int *arg2
= (int *) 0 ;
2643 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2644 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2647 if (!wxPyCheckForApp()) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxGetMousePosition(arg1
,arg2
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 Py_INCREF(Py_None
); resultobj
= Py_None
;
2655 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2656 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2657 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2658 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2665 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (bool)wxIsBusy();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2689 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2717 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2720 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2722 bool temp1
= false ;
2723 PyObject
* obj0
= 0 ;
2725 (char *) "command", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2731 arg1
= wxString_in_helper(obj0
);
2732 if (arg1
== NULL
) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (bool)wxShell((wxString
const &)*arg1
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2760 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 int *arg1
= (int *) 0 ;
2784 int *arg2
= (int *) 0 ;
2794 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2795 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 result
= (int)wxGetOsVersion(arg1
,arg2
);
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2804 resultobj
= SWIG_From_int((int)result
);
2805 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2806 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2807 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2808 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2815 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 result
= wxGetOsDescription();
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2843 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (long)wxGetFreeMemory();
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= SWIG_From_long((long)result
);
2865 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "wFlags", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2875 arg1
= (int)SWIG_As_int(obj0
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 if (!wxPyCheckForApp()) SWIG_fail
;
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2894 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2897 PyObject
* obj0
= 0 ;
2899 (char *) "secs", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2903 arg1
= (int)SWIG_As_int(obj0
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 Py_INCREF(Py_None
); resultobj
= Py_None
;
2919 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 unsigned long arg1
;
2922 PyObject
* obj0
= 0 ;
2924 (char *) "milliseconds", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2928 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 Py_INCREF(Py_None
); resultobj
= Py_None
;
2944 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 unsigned long arg1
;
2947 PyObject
* obj0
= 0 ;
2949 (char *) "microseconds", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2953 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2962 Py_INCREF(Py_None
); resultobj
= Py_None
;
2969 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "enable", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2978 arg1
= (bool)SWIG_As_bool(obj0
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 wxEnableTopLevelWindows(arg1
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 Py_INCREF(Py_None
); resultobj
= Py_None
;
2994 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxString
*arg1
= 0 ;
2998 bool temp1
= false ;
2999 PyObject
* obj0
= 0 ;
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
3006 arg1
= wxString_in_helper(obj0
);
3007 if (arg1
== NULL
) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= wxStripMenuCodes((wxString
const &)*arg1
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3038 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 result
= wxGetEmailAddress();
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3066 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= wxGetHostName();
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3094 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= wxGetFullHostName();
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3122 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= wxGetUserId();
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3150 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= wxGetUserName();
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3178 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= wxGetHomeDir();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3206 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3209 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3211 bool temp1
= false ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "user", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3220 arg1
= wxString_in_helper(obj0
);
3221 if (arg1
== NULL
) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= wxGetUserHome((wxString
const &)*arg1
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3253 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 unsigned long result
;
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (unsigned long)wxGetProcessId();
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3275 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3296 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3299 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3300 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3301 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3302 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3303 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3304 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3305 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3306 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3307 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3308 int arg6
= (int) 0 ;
3309 wxWindow
*arg7
= (wxWindow
*) NULL
;
3310 int arg8
= (int) -1 ;
3311 int arg9
= (int) -1 ;
3313 bool temp1
= false ;
3314 bool temp2
= false ;
3315 bool temp3
= false ;
3316 bool temp4
= false ;
3317 bool temp5
= false ;
3318 PyObject
* obj0
= 0 ;
3319 PyObject
* obj1
= 0 ;
3320 PyObject
* obj2
= 0 ;
3321 PyObject
* obj3
= 0 ;
3322 PyObject
* obj4
= 0 ;
3323 PyObject
* obj5
= 0 ;
3324 PyObject
* obj6
= 0 ;
3325 PyObject
* obj7
= 0 ;
3326 PyObject
* obj8
= 0 ;
3328 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3334 arg1
= wxString_in_helper(obj0
);
3335 if (arg1
== NULL
) SWIG_fail
;
3341 arg2
= wxString_in_helper(obj1
);
3342 if (arg2
== NULL
) SWIG_fail
;
3348 arg3
= wxString_in_helper(obj2
);
3349 if (arg3
== NULL
) SWIG_fail
;
3355 arg4
= wxString_in_helper(obj3
);
3356 if (arg4
== NULL
) SWIG_fail
;
3362 arg5
= wxString_in_helper(obj4
);
3363 if (arg5
== NULL
) SWIG_fail
;
3368 arg6
= (int)SWIG_As_int(obj5
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 arg8
= (int)SWIG_As_int(obj7
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 arg9
= (int)SWIG_As_int(obj8
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3384 if (!wxPyCheckForApp()) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3444 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxString
*arg1
= 0 ;
3447 wxString
*arg2
= 0 ;
3448 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3450 wxWindow
*arg4
= (wxWindow
*) NULL
;
3452 bool temp1
= false ;
3453 bool temp2
= false ;
3454 bool temp3
= false ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3457 PyObject
* obj2
= 0 ;
3458 PyObject
* obj3
= 0 ;
3460 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3465 arg1
= wxString_in_helper(obj0
);
3466 if (arg1
== NULL
) SWIG_fail
;
3470 arg2
= wxString_in_helper(obj1
);
3471 if (arg2
== NULL
) SWIG_fail
;
3476 arg3
= wxString_in_helper(obj2
);
3477 if (arg3
== NULL
) SWIG_fail
;
3482 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 if (!wxPyCheckForApp()) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3530 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxString
*arg1
= 0 ;
3533 wxString
*arg2
= 0 ;
3534 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3536 wxWindow
*arg4
= (wxWindow
*) NULL
;
3538 bool temp1
= false ;
3539 bool temp2
= false ;
3540 bool temp3
= false ;
3541 PyObject
* obj0
= 0 ;
3542 PyObject
* obj1
= 0 ;
3543 PyObject
* obj2
= 0 ;
3544 PyObject
* obj3
= 0 ;
3546 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3551 arg1
= wxString_in_helper(obj0
);
3552 if (arg1
== NULL
) SWIG_fail
;
3556 arg2
= wxString_in_helper(obj1
);
3557 if (arg2
== NULL
) SWIG_fail
;
3562 arg3
= wxString_in_helper(obj2
);
3563 if (arg3
== NULL
) SWIG_fail
;
3568 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3572 if (!wxPyCheckForApp()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3616 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3619 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3620 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3621 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3622 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3625 wxWindow
*arg5
= (wxWindow
*) NULL
;
3627 bool temp1
= false ;
3628 bool temp2
= false ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3632 PyObject
* obj2
= 0 ;
3633 PyObject
* obj3
= 0 ;
3634 PyObject
* obj4
= 0 ;
3636 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3642 arg1
= wxString_in_helper(obj0
);
3643 if (arg1
== NULL
) SWIG_fail
;
3649 arg2
= wxString_in_helper(obj1
);
3650 if (arg2
== NULL
) SWIG_fail
;
3655 arg3
= (long)SWIG_As_long(obj2
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3665 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 if (!wxPyCheckForApp()) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3705 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxString
*arg1
= 0 ;
3708 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3709 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3710 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3711 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3712 wxWindow
*arg4
= (wxWindow
*) NULL
;
3713 int arg5
= (int) -1 ;
3714 int arg6
= (int) -1 ;
3715 bool arg7
= (bool) true ;
3717 bool temp1
= false ;
3718 bool temp2
= false ;
3719 bool temp3
= false ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 PyObject
* obj2
= 0 ;
3723 PyObject
* obj3
= 0 ;
3724 PyObject
* obj4
= 0 ;
3725 PyObject
* obj5
= 0 ;
3726 PyObject
* obj6
= 0 ;
3728 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3733 arg1
= wxString_in_helper(obj0
);
3734 if (arg1
== NULL
) SWIG_fail
;
3739 arg2
= wxString_in_helper(obj1
);
3740 if (arg2
== NULL
) SWIG_fail
;
3746 arg3
= wxString_in_helper(obj2
);
3747 if (arg3
== NULL
) SWIG_fail
;
3752 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 arg5
= (int)SWIG_As_int(obj4
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3760 arg6
= (int)SWIG_As_int(obj5
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3764 arg7
= (bool)SWIG_As_bool(obj6
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3768 if (!wxPyCheckForApp()) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3812 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxString
*arg1
= 0 ;
3815 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3816 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3817 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3818 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3819 wxWindow
*arg4
= (wxWindow
*) NULL
;
3821 bool temp1
= false ;
3822 bool temp2
= false ;
3823 bool temp3
= false ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3826 PyObject
* obj2
= 0 ;
3827 PyObject
* obj3
= 0 ;
3829 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3834 arg1
= wxString_in_helper(obj0
);
3835 if (arg1
== NULL
) SWIG_fail
;
3840 arg2
= wxString_in_helper(obj1
);
3841 if (arg2
== NULL
) SWIG_fail
;
3847 arg3
= wxString_in_helper(obj2
);
3848 if (arg3
== NULL
) SWIG_fail
;
3853 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 if (!wxPyCheckForApp()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3901 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxString
*arg1
= 0 ;
3904 wxString
*arg2
= 0 ;
3906 wxString
*arg4
= (wxString
*) 0 ;
3907 wxWindow
*arg5
= (wxWindow
*) NULL
;
3908 int arg6
= (int) -1 ;
3909 int arg7
= (int) -1 ;
3910 bool arg8
= (bool) true ;
3911 int arg9
= (int) 150 ;
3912 int arg10
= (int) 200 ;
3914 bool temp1
= false ;
3915 bool temp2
= false ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3918 PyObject
* obj2
= 0 ;
3919 PyObject
* obj3
= 0 ;
3920 PyObject
* obj4
= 0 ;
3921 PyObject
* obj5
= 0 ;
3922 PyObject
* obj6
= 0 ;
3923 PyObject
* obj7
= 0 ;
3924 PyObject
* obj8
= 0 ;
3926 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3931 arg1
= wxString_in_helper(obj0
);
3932 if (arg1
== NULL
) SWIG_fail
;
3936 arg2
= wxString_in_helper(obj1
);
3937 if (arg2
== NULL
) SWIG_fail
;
3941 arg3
= PyList_Size(obj2
);
3942 arg4
= wxString_LIST_helper(obj2
);
3943 if (arg4
== NULL
) SWIG_fail
;
3946 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 arg6
= (int)SWIG_As_int(obj4
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 arg7
= (int)SWIG_As_int(obj5
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3958 arg8
= (bool)SWIG_As_bool(obj6
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 arg9
= (int)SWIG_As_int(obj7
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3966 arg10
= (int)SWIG_As_int(obj8
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3970 if (!wxPyCheckForApp()) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3993 if (arg4
) delete [] arg4
;
4006 if (arg4
) delete [] arg4
;
4012 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxString
*arg1
= 0 ;
4015 wxString
*arg2
= 0 ;
4017 wxString
*arg4
= (wxString
*) 0 ;
4018 wxWindow
*arg5
= (wxWindow
*) NULL
;
4019 int arg6
= (int) -1 ;
4020 int arg7
= (int) -1 ;
4021 bool arg8
= (bool) true ;
4022 int arg9
= (int) 150 ;
4023 int arg10
= (int) 200 ;
4025 bool temp1
= false ;
4026 bool temp2
= false ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4029 PyObject
* obj2
= 0 ;
4030 PyObject
* obj3
= 0 ;
4031 PyObject
* obj4
= 0 ;
4032 PyObject
* obj5
= 0 ;
4033 PyObject
* obj6
= 0 ;
4034 PyObject
* obj7
= 0 ;
4035 PyObject
* obj8
= 0 ;
4037 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4042 arg1
= wxString_in_helper(obj0
);
4043 if (arg1
== NULL
) SWIG_fail
;
4047 arg2
= wxString_in_helper(obj1
);
4048 if (arg2
== NULL
) SWIG_fail
;
4052 arg3
= PyList_Size(obj2
);
4053 arg4
= wxString_LIST_helper(obj2
);
4054 if (arg4
== NULL
) SWIG_fail
;
4057 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg6
= (int)SWIG_As_int(obj4
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 arg7
= (int)SWIG_As_int(obj5
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4069 arg8
= (bool)SWIG_As_bool(obj6
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 arg9
= (int)SWIG_As_int(obj7
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 arg10
= (int)SWIG_As_int(obj8
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4081 if (!wxPyCheckForApp()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= SWIG_From_int((int)result
);
4098 if (arg4
) delete [] arg4
;
4111 if (arg4
) delete [] arg4
;
4117 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxString
*arg1
= 0 ;
4120 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4121 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4122 int arg3
= (int) wxOK
|wxCENTRE
;
4123 wxWindow
*arg4
= (wxWindow
*) NULL
;
4124 int arg5
= (int) -1 ;
4125 int arg6
= (int) -1 ;
4127 bool temp1
= false ;
4128 bool temp2
= false ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4131 PyObject
* obj2
= 0 ;
4132 PyObject
* obj3
= 0 ;
4133 PyObject
* obj4
= 0 ;
4134 PyObject
* obj5
= 0 ;
4136 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4141 arg1
= wxString_in_helper(obj0
);
4142 if (arg1
== NULL
) SWIG_fail
;
4147 arg2
= wxString_in_helper(obj1
);
4148 if (arg2
== NULL
) SWIG_fail
;
4153 arg3
= (int)SWIG_As_int(obj2
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4157 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 arg5
= (int)SWIG_As_int(obj4
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 arg6
= (int)SWIG_As_int(obj5
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= SWIG_From_int((int)result
);
4199 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxString
*arg1
= 0 ;
4202 wxString
*arg2
= 0 ;
4203 wxString
*arg3
= 0 ;
4205 long arg5
= (long) 0 ;
4206 long arg6
= (long) 100 ;
4207 wxWindow
*arg7
= (wxWindow
*) NULL
;
4208 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4209 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4211 bool temp1
= false ;
4212 bool temp2
= false ;
4213 bool temp3
= false ;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4217 PyObject
* obj2
= 0 ;
4218 PyObject
* obj3
= 0 ;
4219 PyObject
* obj4
= 0 ;
4220 PyObject
* obj5
= 0 ;
4221 PyObject
* obj6
= 0 ;
4222 PyObject
* obj7
= 0 ;
4224 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4229 arg1
= wxString_in_helper(obj0
);
4230 if (arg1
== NULL
) SWIG_fail
;
4234 arg2
= wxString_in_helper(obj1
);
4235 if (arg2
== NULL
) SWIG_fail
;
4239 arg3
= wxString_in_helper(obj2
);
4240 if (arg3
== NULL
) SWIG_fail
;
4243 arg4
= (long)SWIG_As_long(obj3
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 arg5
= (long)SWIG_As_long(obj4
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4250 arg6
= (long)SWIG_As_long(obj5
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4254 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4260 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4264 if (!wxPyCheckForApp()) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_From_long((long)result
);
4302 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4311 if (!wxPyCheckForApp()) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (bool)wxColourDisplay();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4327 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4336 if (!wxPyCheckForApp()) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (int)wxDisplayDepth();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_int((int)result
);
4350 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4359 if (!wxPyCheckForApp()) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (int)wxGetDisplayDepth();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_From_int((int)result
);
4373 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 int *arg1
= (int *) 0 ;
4376 int *arg2
= (int *) 0 ;
4385 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4386 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4389 if (!wxPyCheckForApp()) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxDisplaySize(arg1
,arg2
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4398 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4399 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4400 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4407 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4416 if (!wxPyCheckForApp()) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= wxGetDisplaySize();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 resultptr
= new wxSize((wxSize
&) result
);
4426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4434 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 int *arg1
= (int *) 0 ;
4437 int *arg2
= (int *) 0 ;
4446 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4447 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4450 if (!wxPyCheckForApp()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 wxDisplaySizeMM(arg1
,arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4458 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4459 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4460 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4461 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4468 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4477 if (!wxPyCheckForApp()) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= wxGetDisplaySizeMM();
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4486 resultptr
= new wxSize((wxSize
&) result
);
4487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4495 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 int *arg1
= (int *) 0 ;
4498 int *arg2
= (int *) 0 ;
4499 int *arg3
= (int *) 0 ;
4500 int *arg4
= (int *) 0 ;
4513 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4514 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4515 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4516 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4519 if (!wxPyCheckForApp()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4528 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4529 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4530 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4531 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4532 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4533 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4534 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4541 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4550 if (!wxPyCheckForApp()) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= wxGetClientDisplayRect();
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4559 resultptr
= new wxRect((wxRect
&) result
);
4560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4568 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxCursor
*arg1
= 0 ;
4571 PyObject
* obj0
= 0 ;
4573 (char *) "cursor", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4581 PyErr_SetString(PyExc_TypeError
,"null reference");
4585 if (!wxPyCheckForApp()) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 Py_INCREF(Py_None
); resultobj
= Py_None
;
4599 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4602 PyObject
* obj0
= 0 ;
4604 (char *) "cursor", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxBeginBusyCursor(arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 Py_INCREF(Py_None
); resultobj
= Py_None
;
4627 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4636 if (!wxPyCheckForApp()) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (wxWindow
*)wxGetActiveWindow();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= wxPyMake_wxObject(result
, 0);
4652 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4657 PyObject
* obj0
= 0 ;
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4665 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4668 if (!wxPyCheckForApp()) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= wxPyMake_wxObject(result
, 0);
4684 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4689 PyObject
* obj0
= 0 ;
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4697 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4700 if (!wxPyCheckForApp()) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= wxPyMake_wxObject(result
, 0);
4716 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxWindow
*arg1
= (wxWindow
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "win", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4729 if (!wxPyCheckForApp()) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= wxPyMake_wxObject(result
, 0);
4745 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "key", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4755 arg1
= (int)SWIG_As_int(obj0
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 if (!wxPyCheckForApp()) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4782 if (!wxPyCheckForApp()) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 wxWakeUpMainThread();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 Py_INCREF(Py_None
); resultobj
= Py_None
;
4796 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4804 if (!wxPyCheckForApp()) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 Py_INCREF(Py_None
); resultobj
= Py_None
;
4818 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4826 if (!wxPyCheckForApp()) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 Py_INCREF(Py_None
); resultobj
= Py_None
;
4840 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxMutexGuiLocker
*result
;
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4849 if (!wxPyCheckForApp()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4863 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4868 (char *) "self", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 Py_INCREF(Py_None
); resultobj
= Py_None
;
4888 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4891 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4893 return Py_BuildValue((char *)"");
4895 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (bool)wxThread_IsMain();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4919 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxString
*arg1
= 0 ;
4923 bool temp1
= false ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "tip", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4931 arg1
= wxString_in_helper(obj0
);
4932 if (arg1
== NULL
) SWIG_fail
;
4936 if (!wxPyCheckForApp()) SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= wxPyMake_wxObject(result
, 1);
4960 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4963 wxString
*arg2
= 0 ;
4964 bool temp2
= false ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4968 (char *) "self",(char *) "tip", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 arg2
= wxString_in_helper(obj1
);
4976 if (arg2
== NULL
) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 (arg1
)->SetTip((wxString
const &)*arg2
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5001 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (arg1
)->GetTip();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5033 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5039 (char *) "self", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= (wxWindow
*)(arg1
)->GetWindow();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= wxPyMake_wxObject(result
, 0);
5061 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5064 PyObject
* obj0
= 0 ;
5066 (char *) "flag", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5070 arg1
= (bool)SWIG_As_bool(obj0
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 wxToolTip::Enable(arg1
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 Py_INCREF(Py_None
); resultobj
= Py_None
;
5086 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "milliseconds", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5095 arg1
= (long)SWIG_As_long(obj0
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 wxToolTip::SetDelay(arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5114 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5116 return Py_BuildValue((char *)"");
5118 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxWindow
*arg1
= (wxWindow
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5127 (char *) "window",(char *) "size", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5138 if (!wxPyCheckForApp()) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5152 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxCaret
*arg1
= (wxCaret
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxCaret
*arg1
= (wxCaret
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5183 (char *) "self", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (bool)(arg1
)->IsOk();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5205 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxCaret
*arg1
= (wxCaret
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (bool)(arg1
)->IsVisible();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5233 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxCaret
*arg1
= (wxCaret
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (arg1
)->GetPosition();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 wxPoint
* resultptr
;
5254 resultptr
= new wxPoint((wxPoint
&) result
);
5255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5263 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxCaret
*arg1
= (wxCaret
*) 0 ;
5266 int *arg2
= (int *) 0 ;
5267 int *arg3
= (int *) 0 ;
5272 PyObject
* obj0
= 0 ;
5274 (char *) "self", NULL
5277 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5278 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 (arg1
)->GetPosition(arg2
,arg3
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5291 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5292 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5293 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5300 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxCaret
*arg1
= (wxCaret
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5306 (char *) "self", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (arg1
)->GetSize();
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5321 resultptr
= new wxSize((wxSize
&) result
);
5322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5330 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxCaret
*arg1
= (wxCaret
*) 0 ;
5333 int *arg2
= (int *) 0 ;
5334 int *arg3
= (int *) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5345 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->GetSize(arg2
,arg3
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5357 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5358 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5359 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5360 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5367 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxCaret
*arg1
= (wxCaret
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5373 (char *) "self", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (wxWindow
*)(arg1
)->GetWindow();
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= wxPyMake_wxObject(result
, 0);
5395 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxCaret
*arg1
= (wxCaret
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5402 PyObject
* obj2
= 0 ;
5404 (char *) "self",(char *) "x",(char *) "y", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5410 arg2
= (int)SWIG_As_int(obj1
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5412 arg3
= (int)SWIG_As_int(obj2
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 (arg1
)->Move(arg2
,arg3
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 Py_INCREF(Py_None
); resultobj
= Py_None
;
5428 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5430 wxCaret
*arg1
= (wxCaret
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5436 (char *) "self",(char *) "pt", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5444 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->Move((wxPoint
const &)*arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxCaret
*arg1
= (wxCaret
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 PyObject
* obj2
= 0 ;
5469 (char *) "self",(char *) "width",(char *) "height", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 arg2
= (int)SWIG_As_int(obj1
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5477 arg3
= (int)SWIG_As_int(obj2
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 (arg1
)->SetSize(arg2
,arg3
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxCaret
*arg1
= (wxCaret
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "size", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 (arg1
)->SetSize((wxSize
const &)*arg2
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 Py_INCREF(Py_None
); resultobj
= Py_None
;
5525 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxCaret
*arg1
= (wxCaret
*) 0 ;
5528 int arg2
= (int) true ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5532 (char *) "self",(char *) "show", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5539 arg2
= (int)SWIG_As_int(obj1
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxCaret
*arg1
= (wxCaret
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5584 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5586 return Py_BuildValue((char *)"");
5588 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (int)wxCaret_GetBlinkTime();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_From_int((int)result
);
5610 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "milliseconds", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5619 arg1
= (int)SWIG_As_int(obj0
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 wxCaret_SetBlinkTime(arg1
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5638 wxBusyCursor
*result
;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "cursor", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 if (!wxPyCheckForApp()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5664 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5669 (char *) "self", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5689 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5692 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5694 return Py_BuildValue((char *)"");
5696 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxWindow
*arg1
= (wxWindow
*) NULL
;
5699 wxWindowDisabler
*result
;
5700 PyObject
* obj0
= 0 ;
5702 (char *) "winToSkip", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 if (!wxPyCheckForApp()) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5725 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5730 (char *) "self", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5753 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5755 return Py_BuildValue((char *)"");
5757 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxString
*arg1
= 0 ;
5761 bool temp1
= false ;
5762 PyObject
* obj0
= 0 ;
5764 (char *) "message", NULL
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5769 arg1
= wxString_in_helper(obj0
);
5770 if (arg1
== NULL
) SWIG_fail
;
5774 if (!wxPyCheckForApp()) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5796 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 Py_INCREF(Py_None
); resultobj
= Py_None
;
5821 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5824 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5826 return Py_BuildValue((char *)"");
5828 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxStopWatch
*result
;
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (wxStopWatch
*)new wxStopWatch();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5850 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5853 long arg2
= (long) 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5857 (char *) "self",(char *) "t0", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5864 arg2
= (long)SWIG_As_long(obj1
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 (arg1
)->Start(arg2
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 Py_INCREF(Py_None
); resultobj
= Py_None
;
5881 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5884 PyObject
* obj0
= 0 ;
5886 (char *) "self", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 Py_INCREF(Py_None
); resultobj
= Py_None
;
5906 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5911 (char *) "self", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_From_long((long)result
);
5957 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5960 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5962 return Py_BuildValue((char *)"");
5964 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 int arg1
= (int) 9 ;
5967 int arg2
= (int) wxID_FILE1
;
5968 wxFileHistory
*result
;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "maxFiles",(char *) "idBase", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5977 arg1
= (int)SWIG_As_int(obj0
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 arg2
= (int)SWIG_As_int(obj1
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5998 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6003 (char *) "self", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6023 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6026 wxString
*arg2
= 0 ;
6027 bool temp2
= false ;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6031 (char *) "self",(char *) "file", NULL
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 arg2
= wxString_in_helper(obj1
);
6039 if (arg2
== NULL
) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "i", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6077 arg2
= (int)SWIG_As_int(obj1
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 (arg1
)->RemoveFileFromHistory(arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 Py_INCREF(Py_None
); resultobj
= Py_None
;
6093 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "self", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_From_int((int)result
);
6119 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6122 wxMenu
*arg2
= (wxMenu
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "menu", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 (arg1
)->UseMenu(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6151 wxMenu
*arg2
= (wxMenu
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6155 (char *) "self",(char *) "menu", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->RemoveMenu(arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6180 wxConfigBase
*arg2
= 0 ;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6184 (char *) "self",(char *) "config", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6194 PyErr_SetString(PyExc_TypeError
,"null reference");
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 (arg1
)->Load(*arg2
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6214 wxConfigBase
*arg2
= 0 ;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6218 (char *) "self",(char *) "config", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6228 PyErr_SetString(PyExc_TypeError
,"null reference");
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 (arg1
)->Save(*arg2
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 Py_INCREF(Py_None
); resultobj
= Py_None
;
6245 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 (arg1
)->AddFilesToMenu();
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 Py_INCREF(Py_None
); resultobj
= Py_None
;
6270 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6273 wxMenu
*arg2
= (wxMenu
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "menu", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->AddFilesToMenu(arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6307 (char *) "self",(char *) "i", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (int)SWIG_As_int(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6335 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "self", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_From_int((int)result
);
6361 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6364 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6366 return Py_BuildValue((char *)"");
6368 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxString
*arg1
= 0 ;
6371 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6372 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6373 wxSingleInstanceChecker
*result
;
6374 bool temp1
= false ;
6375 bool temp2
= false ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6379 (char *) "name",(char *) "path", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6384 arg1
= wxString_in_helper(obj0
);
6385 if (arg1
== NULL
) SWIG_fail
;
6390 arg2
= wxString_in_helper(obj1
);
6391 if (arg2
== NULL
) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6425 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxSingleInstanceChecker
*result
;
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6447 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 Py_INCREF(Py_None
); resultobj
= Py_None
;
6472 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6475 wxString
*arg2
= 0 ;
6476 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6477 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6479 bool temp2
= false ;
6480 bool temp3
= false ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6485 (char *) "self",(char *) "name",(char *) "path", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6492 arg2
= wxString_in_helper(obj1
);
6493 if (arg2
== NULL
) SWIG_fail
;
6498 arg3
= wxString_in_helper(obj2
);
6499 if (arg3
== NULL
) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6535 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6541 (char *) "self", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6563 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6566 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6568 return Py_BuildValue((char *)"");
6570 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxWindow
*arg1
= (wxWindow
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6579 (char *) "window",(char *) "dc",(char *) "method", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6589 PyErr_SetString(PyExc_TypeError
,"null reference");
6592 arg3
= (int)SWIG_As_int(obj2
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6608 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 Py_INCREF(Py_None
); resultobj
= Py_None
;
6633 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (arg1
)->GetTip();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6665 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (size_t)(arg1
)->GetCurrentTip();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6691 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6694 wxString
*arg2
= 0 ;
6696 bool temp2
= false ;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6700 (char *) "self",(char *) "tip", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 arg2
= wxString_in_helper(obj1
);
6708 if (arg2
== NULL
) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6739 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6742 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6744 return Py_BuildValue((char *)"");
6746 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6749 wxPyTipProvider
*result
;
6750 PyObject
* obj0
= 0 ;
6752 (char *) "currentTip", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6756 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6772 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6775 PyObject
*arg2
= (PyObject
*) 0 ;
6776 PyObject
*arg3
= (PyObject
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 PyObject
* obj2
= 0 ;
6781 (char *) "self",(char *) "self",(char *) "_class", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 Py_INCREF(Py_None
); resultobj
= Py_None
;
6803 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6806 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6808 return Py_BuildValue((char *)"");
6810 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxWindow
*arg1
= (wxWindow
*) 0 ;
6813 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6814 bool arg3
= (bool) true ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6818 PyObject
* obj2
= 0 ;
6820 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 arg3
= (bool)SWIG_As_bool(obj2
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 if (!wxPyCheckForApp()) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6849 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxString
*arg1
= 0 ;
6853 wxTipProvider
*result
;
6854 bool temp1
= false ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6858 (char *) "filename",(char *) "currentTip", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 arg1
= wxString_in_helper(obj0
);
6864 if (arg1
== NULL
) SWIG_fail
;
6867 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 if (!wxPyCheckForApp()) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6892 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6895 int arg2
= (int) -1 ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6900 (char *) "owner",(char *) "id", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 arg2
= (int)SWIG_As_int(obj1
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6913 if (!wxPyCheckForApp()) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6927 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "self", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6955 PyObject
*arg2
= (PyObject
*) 0 ;
6956 PyObject
*arg3
= (PyObject
*) 0 ;
6957 int arg4
= (int) 1 ;
6958 PyObject
* obj0
= 0 ;
6959 PyObject
* obj1
= 0 ;
6960 PyObject
* obj2
= 0 ;
6961 PyObject
* obj3
= 0 ;
6963 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6972 arg4
= (int)SWIG_As_int(obj3
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6992 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6993 int arg3
= (int) -1 ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6996 PyObject
* obj2
= 0 ;
6998 (char *) "self",(char *) "owner",(char *) "id", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 arg3
= (int)SWIG_As_int(obj2
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->SetOwner(arg2
,arg3
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7024 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7027 wxEvtHandler
*result
;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= wxPyMake_wxObject(result
, 0);
7052 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7055 int arg2
= (int) -1 ;
7056 bool arg3
= (bool) false ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7060 PyObject
* obj2
= 0 ;
7062 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 arg2
= (int)SWIG_As_int(obj1
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7073 arg3
= (bool)SWIG_As_bool(obj2
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7092 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7097 (char *) "self", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 Py_INCREF(Py_None
); resultobj
= Py_None
;
7117 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7145 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7151 (char *) "self", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_From_int((int)result
);
7171 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7175 PyObject
* obj0
= 0 ;
7177 (char *) "self", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7199 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_From_int((int)result
);
7225 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7228 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7230 return Py_BuildValue((char *)"");
7232 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 int arg1
= (int) 0 ;
7235 int arg2
= (int) 0 ;
7236 wxTimerEvent
*result
;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7240 (char *) "timerid",(char *) "interval", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7245 arg1
= (int)SWIG_As_int(obj0
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 arg2
= (int)SWIG_As_int(obj1
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7266 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7272 (char *) "self", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_From_int((int)result
);
7292 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7295 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7297 return Py_BuildValue((char *)"");
7299 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7300 PyObject
*resultobj
;
7302 wxTimerRunner
*result
;
7303 PyObject
* obj0
= 0 ;
7305 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7310 PyErr_SetString(PyExc_TypeError
,"null reference");
7314 if (!wxPyCheckForApp()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7328 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7329 PyObject
*resultobj
;
7332 bool arg3
= (bool) false ;
7333 wxTimerRunner
*result
;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7336 PyObject
* obj2
= 0 ;
7338 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7343 PyErr_SetString(PyExc_TypeError
,"null reference");
7346 arg2
= (int)SWIG_As_int(obj1
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 arg3
= (bool)SWIG_As_bool(obj2
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 if (!wxPyCheckForApp()) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7367 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7372 argc
= PyObject_Length(args
);
7373 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7374 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7388 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7391 if ((argc
>= 2) && (argc
<= 3)) {
7395 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7403 _v
= SWIG_Check_int(argv
[1]);
7406 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7408 _v
= SWIG_Check_bool(argv
[2]);
7410 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7416 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7421 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7424 PyObject
* obj0
= 0 ;
7426 (char *) "self", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 Py_INCREF(Py_None
); resultobj
= Py_None
;
7446 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7450 bool arg3
= (bool) false ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 PyObject
* obj2
= 0 ;
7455 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7461 arg2
= (int)SWIG_As_int(obj1
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 arg3
= (bool)SWIG_As_bool(obj2
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 (arg1
)->Start(arg2
,arg3
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7486 return Py_BuildValue((char *)"");
7488 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxLog
*)new wxLog();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7510 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (bool)wxLog::IsEnabled();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7534 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 bool arg1
= (bool) true ;
7538 PyObject
* obj0
= 0 ;
7540 (char *) "doIt", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7545 arg1
= (bool)SWIG_As_bool(obj0
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (bool)wxLog::EnableLogging(arg1
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7564 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7567 wxChar
*arg2
= (wxChar
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7571 PyObject
* obj2
= 0 ;
7573 (char *) "level",(char *) "szString",(char *) "t", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7577 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 Py_INCREF(Py_None
); resultobj
= Py_None
;
7597 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxLog
*arg1
= (wxLog
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7602 (char *) "self", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 Py_INCREF(Py_None
); resultobj
= Py_None
;
7622 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxLog::FlushActive();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (wxLog
*)wxLog::GetActiveTarget();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7665 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxLog
*arg1
= (wxLog
*) 0 ;
7669 PyObject
* obj0
= 0 ;
7671 (char *) "pLogger", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7691 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7712 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 bool arg1
= (bool) true ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "bVerbose", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7743 arg1
= (bool)SWIG_As_bool(obj0
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 wxLog::SetVerbose(arg1
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "logLevel", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7769 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 wxLog::SetLogLevel(arg1
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 Py_INCREF(Py_None
); resultobj
= Py_None
;
7785 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxLog::DontCreateOnDemand();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7809 PyObject
* obj0
= 0 ;
7811 (char *) "ulMask", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7815 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxLog::SetTraceMask(arg1
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxString
*arg1
= 0 ;
7834 bool temp1
= false ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "str", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7842 arg1
= wxString_in_helper(obj0
);
7843 if (arg1
== NULL
) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxLog::AddTraceMask((wxString
const &)*arg1
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxString
*arg1
= 0 ;
7871 bool temp1
= false ;
7872 PyObject
* obj0
= 0 ;
7874 (char *) "str", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7879 arg1
= wxString_in_helper(obj0
);
7880 if (arg1
== NULL
) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 Py_INCREF(Py_None
); resultobj
= Py_None
;
7905 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 wxLog::ClearTraceMasks();
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxArrayString
*result
;
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7938 result
= (wxArrayString
*) &_result_ref
;
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= wxArrayString2PyList_helper(*result
);
7953 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxChar
*arg1
= (wxChar
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 wxLog::SetTimestamp((wxChar
const *)arg1
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 Py_INCREF(Py_None
); resultobj
= Py_None
;
7978 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (bool)wxLog::GetVerbose();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8002 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (wxTraceMask
)wxLog::GetTraceMask();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8024 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxChar
*arg1
= (wxChar
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "mask", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8052 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (wxLogLevel
)wxLog::GetLogLevel();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8074 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (wxChar
*)wxLog::GetTimestamp();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8096 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= Log_TimeStamp();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8124 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxLog
*arg1
= (wxLog
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8129 (char *) "self", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 wxLog_Destroy(arg1
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8152 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8154 return Py_BuildValue((char *)"");
8156 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxLogStderr
*result
;
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (wxLogStderr
*)new wxLogStderr();
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8178 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8181 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8183 return Py_BuildValue((char *)"");
8185 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8188 wxLogTextCtrl
*result
;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "pTextCtrl", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8211 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8214 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8216 return Py_BuildValue((char *)"");
8218 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxLogGui
*)new wxLogGui();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8240 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8243 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8245 return Py_BuildValue((char *)"");
8247 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxFrame
*arg1
= (wxFrame
*) 0 ;
8250 wxString
*arg2
= 0 ;
8251 bool arg3
= (bool) true ;
8252 bool arg4
= (bool) true ;
8253 wxLogWindow
*result
;
8254 bool temp2
= false ;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8257 PyObject
* obj2
= 0 ;
8258 PyObject
* obj3
= 0 ;
8260 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 arg2
= wxString_in_helper(obj1
);
8268 if (arg2
== NULL
) SWIG_fail
;
8272 arg3
= (bool)SWIG_As_bool(obj2
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 arg4
= (bool)SWIG_As_bool(obj3
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8301 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8304 bool arg2
= (bool) true ;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8308 (char *) "self",(char *) "bShow", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8315 arg2
= (bool)SWIG_As_bool(obj1
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "self", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= wxPyMake_wxObject(result
, 0);
8360 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8366 (char *) "self", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8386 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8392 (char *) "self", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8414 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8421 (char *) "self",(char *) "bDoPass", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg2
= (bool)SWIG_As_bool(obj1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 (arg1
)->PassMessages(arg2
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 Py_INCREF(Py_None
); resultobj
= Py_None
;
8443 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8446 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8448 return Py_BuildValue((char *)"");
8450 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxLog
*arg1
= (wxLog
*) 0 ;
8454 PyObject
* obj0
= 0 ;
8456 (char *) "logger", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (wxLogChain
*)new wxLogChain(arg1
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8476 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8479 wxLog
*arg2
= (wxLog
*) 0 ;
8480 PyObject
* obj0
= 0 ;
8481 PyObject
* obj1
= 0 ;
8483 (char *) "self",(char *) "logger", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 (arg1
)->SetLog(arg2
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 Py_INCREF(Py_None
); resultobj
= Py_None
;
8505 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "self",(char *) "bDoPass", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8518 arg2
= (bool)SWIG_As_bool(obj1
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 (arg1
)->PassMessages(arg2
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 result
= (bool)(arg1
)->IsPassingMessages();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8562 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8568 (char *) "self", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (wxLog
*)(arg1
)->GetOldLog();
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8588 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8591 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8593 return Py_BuildValue((char *)"");
8595 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 unsigned long result
;
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (unsigned long)wxSysErrorCode();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8617 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 unsigned long arg1
= (unsigned long) 0 ;
8621 PyObject
* obj0
= 0 ;
8623 (char *) "nErrCode", NULL
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8628 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= wxSysErrorMsg(arg1
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8651 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxString
*arg1
= 0 ;
8654 bool temp1
= false ;
8655 PyObject
* obj0
= 0 ;
8657 (char *) "msg", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8662 arg1
= wxString_in_helper(obj0
);
8663 if (arg1
== NULL
) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 wxPyLogFatalError((wxString
const &)*arg1
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxString
*arg1
= 0 ;
8691 bool temp1
= false ;
8692 PyObject
* obj0
= 0 ;
8694 (char *) "msg", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8699 arg1
= wxString_in_helper(obj0
);
8700 if (arg1
== NULL
) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 wxPyLogError((wxString
const &)*arg1
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxString
*arg1
= 0 ;
8728 bool temp1
= false ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "msg", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8736 arg1
= wxString_in_helper(obj0
);
8737 if (arg1
== NULL
) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 wxPyLogWarning((wxString
const &)*arg1
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 Py_INCREF(Py_None
); resultobj
= Py_None
;
8762 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxString
*arg1
= 0 ;
8765 bool temp1
= false ;
8766 PyObject
* obj0
= 0 ;
8768 (char *) "msg", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8773 arg1
= wxString_in_helper(obj0
);
8774 if (arg1
== NULL
) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxPyLogMessage((wxString
const &)*arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8799 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxString
*arg1
= 0 ;
8802 bool temp1
= false ;
8803 PyObject
* obj0
= 0 ;
8805 (char *) "msg", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8810 arg1
= wxString_in_helper(obj0
);
8811 if (arg1
== NULL
) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 wxPyLogInfo((wxString
const &)*arg1
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxString
*arg1
= 0 ;
8839 bool temp1
= false ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "msg", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8847 arg1
= wxString_in_helper(obj0
);
8848 if (arg1
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 wxPyLogDebug((wxString
const &)*arg1
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxString
*arg1
= 0 ;
8876 bool temp1
= false ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "msg", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8884 arg1
= wxString_in_helper(obj0
);
8885 if (arg1
== NULL
) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 wxPyLogVerbose((wxString
const &)*arg1
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxString
*arg1
= 0 ;
8913 bool temp1
= false ;
8914 PyObject
* obj0
= 0 ;
8916 (char *) "msg", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8921 arg1
= wxString_in_helper(obj0
);
8922 if (arg1
== NULL
) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxPyLogStatus((wxString
const &)*arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxFrame
*arg1
= (wxFrame
*) 0 ;
8950 wxString
*arg2
= 0 ;
8951 bool temp2
= false ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "pFrame",(char *) "msg", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 arg2
= wxString_in_helper(obj1
);
8963 if (arg2
== NULL
) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8988 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxString
*arg1
= 0 ;
8991 bool temp1
= false ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "msg", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8999 arg1
= wxString_in_helper(obj0
);
9000 if (arg1
== NULL
) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 wxPyLogSysError((wxString
const &)*arg1
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 unsigned long arg1
;
9028 wxString
*arg2
= 0 ;
9029 bool temp2
= false ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "level",(char *) "msg", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9037 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 arg2
= wxString_in_helper(obj1
);
9041 if (arg2
== NULL
) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9067 PyObject
*resultobj
;
9068 unsigned long arg1
;
9069 wxString
*arg2
= 0 ;
9070 bool temp2
= false ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9074 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9075 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 arg2
= wxString_in_helper(obj1
);
9079 if (arg2
== NULL
) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9105 PyObject
*resultobj
;
9106 wxString
*arg1
= 0 ;
9107 wxString
*arg2
= 0 ;
9108 bool temp1
= false ;
9109 bool temp2
= false ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9115 arg1
= wxString_in_helper(obj0
);
9116 if (arg1
== NULL
) SWIG_fail
;
9120 arg2
= wxString_in_helper(obj1
);
9121 if (arg2
== NULL
) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9159 argc
= PyObject_Length(args
);
9160 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9161 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9166 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9170 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9173 return _wrap_LogTrace__SWIG_1(self
,args
);
9179 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9182 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9185 return _wrap_LogTrace__SWIG_0(self
,args
);
9190 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9195 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxString
*arg1
= 0 ;
9198 wxString
*arg2
= 0 ;
9199 bool temp1
= false ;
9200 bool temp2
= false ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "title",(char *) "text", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 arg1
= wxString_in_helper(obj0
);
9210 if (arg1
== NULL
) SWIG_fail
;
9214 arg2
= wxString_in_helper(obj1
);
9215 if (arg2
== NULL
) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 Py_INCREF(Py_None
); resultobj
= Py_None
;
9248 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (wxLogNull
*)new wxLogNull();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9270 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9298 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9300 return Py_BuildValue((char *)"");
9302 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxPyLog
*)new wxPyLog();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9324 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9327 PyObject
*arg2
= (PyObject
*) 0 ;
9328 PyObject
*arg3
= (PyObject
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9331 PyObject
* obj2
= 0 ;
9333 (char *) "self",(char *) "self",(char *) "_class", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9358 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9360 return Py_BuildValue((char *)"");
9362 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9365 int arg2
= (int) wxSIGTERM
;
9366 int arg3
= (int) wxKILL_NOCHILDREN
;
9368 PyObject
* obj0
= 0 ;
9369 PyObject
* obj1
= 0 ;
9370 PyObject
* obj2
= 0 ;
9372 (char *) "pid",(char *) "sig",(char *) "flags", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9376 arg1
= (int)SWIG_As_int(obj0
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 arg2
= (int)SWIG_As_int(obj1
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 arg3
= (int)SWIG_As_int(obj2
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_From_int((int)result
);
9400 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "pid", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9410 arg1
= (int)SWIG_As_int(obj0
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (bool)wxPyProcess::Exists(arg1
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9428 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxString
*arg1
= 0 ;
9431 int arg2
= (int) wxEXEC_ASYNC
;
9432 wxPyProcess
*result
;
9433 bool temp1
= false ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9437 (char *) "cmd",(char *) "flags", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 arg1
= wxString_in_helper(obj0
);
9443 if (arg1
== NULL
) SWIG_fail
;
9447 arg2
= (int)SWIG_As_int(obj1
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9472 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9475 int arg2
= (int) -1 ;
9476 wxPyProcess
*result
;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9480 (char *) "parent",(char *) "id", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9489 arg2
= (int)SWIG_As_int(obj1
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9506 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9509 PyObject
*arg2
= (PyObject
*) 0 ;
9510 PyObject
*arg3
= (PyObject
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 PyObject
* obj2
= 0 ;
9515 (char *) "self",(char *) "self",(char *) "_class", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 Py_INCREF(Py_None
); resultobj
= Py_None
;
9537 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 PyObject
* obj2
= 0 ;
9546 (char *) "self",(char *) "pid",(char *) "status", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9552 arg2
= (int)SWIG_As_int(obj1
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9554 arg3
= (int)SWIG_As_int(obj2
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 (arg1
)->base_OnTerminate(arg2
,arg3
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 Py_INCREF(Py_None
); resultobj
= Py_None
;
9570 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (bool)(arg1
)->IsRedirected();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 Py_INCREF(Py_None
); resultobj
= Py_None
;
9648 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9651 wxInputStream
*result
;
9652 PyObject
* obj0
= 0 ;
9654 (char *) "self", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 wxPyInputStream
* _ptr
= NULL
;
9671 _ptr
= new wxPyInputStream(result
);
9673 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9681 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9684 wxInputStream
*result
;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9701 wxPyInputStream
* _ptr
= NULL
;
9704 _ptr
= new wxPyInputStream(result
);
9706 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9714 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9716 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9717 wxOutputStream
*result
;
9718 PyObject
* obj0
= 0 ;
9720 (char *) "self", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9740 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9745 (char *) "self", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->CloseOutput();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 Py_INCREF(Py_None
); resultobj
= Py_None
;
9765 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "self", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9793 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9821 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "self", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9852 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9854 return Py_BuildValue((char *)"");
9856 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 int arg1
= (int) 0 ;
9859 int arg2
= (int) 0 ;
9860 int arg3
= (int) 0 ;
9861 wxProcessEvent
*result
;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9866 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9871 arg1
= (int)SWIG_As_int(obj0
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 arg2
= (int)SWIG_As_int(obj1
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 arg3
= (int)SWIG_As_int(obj2
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9896 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (int)(arg1
)->GetPid();
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_From_int((int)result
);
9922 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9928 (char *) "self", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (int)(arg1
)->GetExitCode();
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= SWIG_From_int((int)result
);
9948 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9955 (char *) "self",(char *) "m_pid", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 arg2
= (int)SWIG_As_int(obj1
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9963 if (arg1
) (arg1
)->m_pid
= arg2
;
9965 Py_INCREF(Py_None
); resultobj
= Py_None
;
9972 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9984 result
= (int) ((arg1
)->m_pid
);
9986 resultobj
= SWIG_From_int((int)result
);
9993 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
10000 (char *) "self",(char *) "m_exitcode", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10006 arg2
= (int)SWIG_As_int(obj1
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10008 if (arg1
) (arg1
)->m_exitcode
= arg2
;
10010 Py_INCREF(Py_None
); resultobj
= Py_None
;
10017 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 result
= (int) ((arg1
)->m_exitcode
);
10031 resultobj
= SWIG_From_int((int)result
);
10038 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
10040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10041 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
10043 return Py_BuildValue((char *)"");
10045 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxString
*arg1
= 0 ;
10048 int arg2
= (int) wxEXEC_ASYNC
;
10049 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
10051 bool temp1
= false ;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 PyObject
* obj2
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "command",(char *) "flags",(char *) "process", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10061 arg1
= wxString_in_helper(obj0
);
10062 if (arg1
== NULL
) SWIG_fail
;
10066 arg2
= (int)SWIG_As_int(obj1
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10070 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10074 if (!wxPyCheckForApp()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_From_long((long)result
);
10096 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10099 int arg2
= (int) wxSIGTERM
;
10100 wxKillError
*arg3
= (wxKillError
*) 0 ;
10101 int arg4
= (int) wxKILL_NOCHILDREN
;
10103 wxKillError temp3
;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 PyObject
* obj2
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10115 arg1
= (long)SWIG_As_long(obj0
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 arg2
= (int)SWIG_As_int(obj1
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10122 arg4
= (int)SWIG_As_int(obj2
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= SWIG_From_int((int)result
);
10135 o
= PyInt_FromLong((long) (*arg3
));
10136 resultobj
= t_output_helper(resultobj
, o
);
10144 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 int arg1
= (int) wxJOYSTICK1
;
10147 wxJoystick
*result
;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "joystick", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10155 arg1
= (int)SWIG_As_int(obj0
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10159 if (!wxPyCheckForApp()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxJoystick
*)new wxJoystick(arg1
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10173 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 Py_INCREF(Py_None
); resultobj
= Py_None
;
10198 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (arg1
)->GetPosition();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 wxPoint
* resultptr
;
10219 resultptr
= new wxPoint((wxPoint
&) result
);
10220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10228 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (int)(arg1
)->GetZPosition();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_From_int((int)result
);
10254 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (int)(arg1
)->GetButtonState();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_From_int((int)result
);
10280 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (int)(arg1
)->GetPOVPosition();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_From_int((int)result
);
10306 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)(arg1
)->GetPOVCTSPosition();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_From_int((int)result
);
10332 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (int)(arg1
)->GetRudderPosition();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_int((int)result
);
10358 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)(arg1
)->GetUPosition();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_From_int((int)result
);
10384 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (int)(arg1
)->GetVPosition();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_From_int((int)result
);
10410 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (int)(arg1
)->GetMovementThreshold();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_From_int((int)result
);
10436 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self",(char *) "threshold", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 arg2
= (int)SWIG_As_int(obj1
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 (arg1
)->SetMovementThreshold(arg2
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10465 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->IsOk();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10493 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10497 PyObject
* obj0
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (int)(arg1
)->GetNumberJoysticks();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_From_int((int)result
);
10519 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (int)(arg1
)->GetManufacturerId();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_From_int((int)result
);
10545 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (int)(arg1
)->GetProductId();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_From_int((int)result
);
10571 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (arg1
)->GetProductName();
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10603 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (int)(arg1
)->GetXMin();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= SWIG_From_int((int)result
);
10629 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10633 PyObject
* obj0
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (int)(arg1
)->GetYMin();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_From_int((int)result
);
10655 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (int)(arg1
)->GetZMin();
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_From_int((int)result
);
10681 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (int)(arg1
)->GetXMax();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_From_int((int)result
);
10707 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (int)(arg1
)->GetYMax();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_From_int((int)result
);
10733 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (int)(arg1
)->GetZMax();
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_From_int((int)result
);
10759 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (int)(arg1
)->GetNumberButtons();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_From_int((int)result
);
10785 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (int)(arg1
)->GetNumberAxes();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_From_int((int)result
);
10811 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (int)(arg1
)->GetMaxButtons();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_From_int((int)result
);
10837 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (int)(arg1
)->GetMaxAxes();
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_From_int((int)result
);
10863 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (int)(arg1
)->GetPollingMin();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_From_int((int)result
);
10889 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (int)(arg1
)->GetPollingMax();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_From_int((int)result
);
10915 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (int)(arg1
)->GetRudderMin();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_From_int((int)result
);
10941 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (int)(arg1
)->GetRudderMax();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= SWIG_From_int((int)result
);
10967 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (int)(arg1
)->GetUMin();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_From_int((int)result
);
10993 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
11003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (int)(arg1
)->GetUMax();
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_From_int((int)result
);
11019 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11023 PyObject
* obj0
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
11029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (int)(arg1
)->GetVMin();
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= SWIG_From_int((int)result
);
11045 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11049 PyObject
* obj0
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (int)(arg1
)->GetVMax();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= SWIG_From_int((int)result
);
11071 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (bool)(arg1
)->HasRudder();
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)(arg1
)->HasZ();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)(arg1
)->HasU();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (bool)(arg1
)->HasV();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11183 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (bool)(arg1
)->HasPOV();
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11211 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (bool)(arg1
)->HasPOV4Dir();
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (bool)(arg1
)->HasPOVCTS();
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11267 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11270 wxWindow
*arg2
= (wxWindow
*) 0 ;
11271 int arg3
= (int) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 arg3
= (int)SWIG_As_int(obj2
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (bool)(arg1
)->ReleaseCapture();
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11333 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11336 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11338 return Py_BuildValue((char *)"");
11340 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11343 wxPoint
*arg2
= (wxPoint
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "m_pos", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11355 if (arg1
) (arg1
)->m_pos
= *arg2
;
11357 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11376 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11385 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self",(char *) "m_zPosition", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11398 arg2
= (int)SWIG_As_int(obj1
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11400 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11402 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 result
= (int) ((arg1
)->m_zPosition
);
11423 resultobj
= SWIG_From_int((int)result
);
11430 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 PyObject
* obj1
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self",(char *) "m_buttonChange", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 arg2
= (int)SWIG_As_int(obj1
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11445 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 result
= (int) ((arg1
)->m_buttonChange
);
11468 resultobj
= SWIG_From_int((int)result
);
11475 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "self",(char *) "m_buttonState", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11488 arg2
= (int)SWIG_As_int(obj1
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11490 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 result
= (int) ((arg1
)->m_buttonState
);
11513 resultobj
= SWIG_From_int((int)result
);
11520 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "m_joyStick", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11533 arg2
= (int)SWIG_As_int(obj1
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11535 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 result
= (int) ((arg1
)->m_joyStick
);
11558 resultobj
= SWIG_From_int((int)result
);
11565 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11568 int arg2
= (int) 0 ;
11569 int arg3
= (int) wxJOYSTICK1
;
11570 int arg4
= (int) 0 ;
11571 wxJoystickEvent
*result
;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 PyObject
* obj2
= 0 ;
11575 PyObject
* obj3
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11582 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11586 arg2
= (int)SWIG_As_int(obj1
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 arg3
= (int)SWIG_As_int(obj2
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 arg4
= (int)SWIG_As_int(obj3
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11611 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 wxPoint
* resultptr
;
11632 resultptr
= new wxPoint((wxPoint
&) result
);
11633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11641 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_From_int((int)result
);
11667 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_From_int((int)result
);
11693 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_From_int((int)result
);
11719 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_From_int((int)result
);
11745 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "stick", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 arg2
= (int)SWIG_As_int(obj1
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 (arg1
)->SetJoystick(arg2
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 Py_INCREF(Py_None
); resultobj
= Py_None
;
11774 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "self",(char *) "state", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11787 arg2
= (int)SWIG_As_int(obj1
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 (arg1
)->SetButtonState(arg2
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 Py_INCREF(Py_None
); resultobj
= Py_None
;
11803 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "change", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 arg2
= (int)SWIG_As_int(obj1
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 (arg1
)->SetButtonChange(arg2
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 Py_INCREF(Py_None
); resultobj
= Py_None
;
11832 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11835 wxPoint
*arg2
= 0 ;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self",(char *) "pos", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "zPos", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11877 arg2
= (int)SWIG_As_int(obj1
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->SetZPosition(arg2
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11921 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11977 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11980 int arg2
= (int) wxJOY_BUTTON_ANY
;
11982 PyObject
* obj0
= 0 ;
11983 PyObject
* obj1
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self",(char *) "but", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11992 arg2
= (int)SWIG_As_int(obj1
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12014 int arg2
= (int) wxJOY_BUTTON_ANY
;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "but", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12026 arg2
= (int)SWIG_As_int(obj1
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12045 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12048 int arg2
= (int) wxJOY_BUTTON_ANY
;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self",(char *) "but", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 arg2
= (int)SWIG_As_int(obj1
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12079 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12082 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12084 return Py_BuildValue((char *)"");
12086 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12089 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12091 bool temp1
= false ;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "fileName", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12100 arg1
= wxString_in_helper(obj0
);
12101 if (arg1
== NULL
) SWIG_fail
;
12106 if (!wxPyCheckForApp()) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12128 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 PyObject
*arg1
= (PyObject
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "data", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12140 if (!wxPyCheckForApp()) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (wxSound
*)new_wxSound(arg1
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12154 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxSound
*arg1
= (wxSound
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxSound
*arg1
= (wxSound
*) 0 ;
12182 wxString
*arg2
= 0 ;
12184 bool temp2
= false ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "fileName", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12195 arg2
= wxString_in_helper(obj1
);
12196 if (arg2
== NULL
) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12223 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxSound
*arg1
= (wxSound
*) 0 ;
12226 PyObject
*arg2
= (PyObject
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "data", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12254 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxSound
*arg1
= (wxSound
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (bool)(arg1
)->IsOk();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxSound
*arg1
= (wxSound
*) 0 ;
12285 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "flags", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 if (!wxPyCheckForApp()) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12317 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxString
*arg1
= 0 ;
12320 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12322 bool temp1
= false ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "filename",(char *) "flags", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12331 arg1
= wxString_in_helper(obj0
);
12332 if (arg1
== NULL
) SWIG_fail
;
12336 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12340 if (!wxPyCheckForApp()) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12364 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 char *kwnames
[] = {
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12372 if (!wxPyCheckForApp()) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12386 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12389 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12391 return Py_BuildValue((char *)"");
12393 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxString
*arg1
= 0 ;
12396 wxString
*arg2
= 0 ;
12397 wxString
*arg3
= 0 ;
12398 wxString
*arg4
= 0 ;
12399 wxFileTypeInfo
*result
;
12400 bool temp1
= false ;
12401 bool temp2
= false ;
12402 bool temp3
= false ;
12403 bool temp4
= false ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 PyObject
* obj3
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12414 arg1
= wxString_in_helper(obj0
);
12415 if (arg1
== NULL
) SWIG_fail
;
12419 arg2
= wxString_in_helper(obj1
);
12420 if (arg2
== NULL
) SWIG_fail
;
12424 arg3
= wxString_in_helper(obj2
);
12425 if (arg3
== NULL
) SWIG_fail
;
12429 arg4
= wxString_in_helper(obj3
);
12430 if (arg4
== NULL
) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12479 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxArrayString
*arg1
= 0 ;
12482 wxFileTypeInfo
*result
;
12483 bool temp1
= false ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "sArray", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12491 if (! PySequence_Check(obj0
)) {
12492 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12495 arg1
= new wxArrayString
;
12497 int i
, len
=PySequence_Length(obj0
);
12498 for (i
=0; i
<len
; i
++) {
12499 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12501 PyObject
* str
= PyObject_Unicode(item
);
12503 PyObject
* str
= PyObject_Str(item
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12506 arg1
->Add(Py2wxString(str
));
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12520 if (temp1
) delete arg1
;
12525 if (temp1
) delete arg1
;
12531 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxFileTypeInfo
*result
;
12534 char *kwnames
[] = {
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12553 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12581 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12584 wxString
*arg2
= 0 ;
12585 int arg3
= (int) 0 ;
12586 bool temp2
= false ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 PyObject
* obj2
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 arg2
= wxString_in_helper(obj1
);
12599 if (arg2
== NULL
) SWIG_fail
;
12603 arg3
= (int)SWIG_As_int(obj2
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12631 wxString
*arg2
= 0 ;
12632 bool temp2
= false ;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self",(char *) "shortDesc", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 arg2
= wxString_in_helper(obj1
);
12644 if (arg2
== NULL
) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12685 result
= (wxString
*) &_result_ref
;
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12704 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12708 PyObject
* obj0
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12720 result
= (wxString
*) &_result_ref
;
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12739 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12755 result
= (wxString
*) &_result_ref
;
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12774 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
;
12776 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12790 result
= (wxString
*) &_result_ref
;
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12800 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12809 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12825 result
= (wxString
*) &_result_ref
;
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12835 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12844 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12847 wxArrayString
*result
;
12848 PyObject
* obj0
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12860 result
= (wxArrayString
*) &_result_ref
;
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 resultobj
= wxArrayString2PyList_helper(*result
);
12875 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= SWIG_From_int((int)result
);
12901 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12917 result
= (wxString
*) &_result_ref
;
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12927 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12936 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_From_int((int)result
);
12962 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12965 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12967 return Py_BuildValue((char *)"");
12969 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxFileTypeInfo
*arg1
= 0 ;
12972 wxFileType
*result
;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "ftInfo", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12982 if (arg1
== NULL
) {
12983 PyErr_SetString(PyExc_TypeError
,"null reference");
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13000 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxFileType
*arg1
= (wxFileType
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 Py_INCREF(Py_None
); resultobj
= Py_None
;
13025 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxFileType
*arg1
= (wxFileType
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= result
;
13051 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxFileType
*arg1
= (wxFileType
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= result
;
13077 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxFileType
*arg1
= (wxFileType
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= result
;
13103 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxFileType
*arg1
= (wxFileType
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13129 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxFileType
*arg1
= (wxFileType
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= result
;
13155 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxFileType
*arg1
= (wxFileType
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= result
;
13181 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxFileType
*arg1
= (wxFileType
*) 0 ;
13184 wxString
*arg2
= 0 ;
13185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13188 bool temp2
= false ;
13189 bool temp3
= false ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13201 arg2
= wxString_in_helper(obj1
);
13202 if (arg2
== NULL
) SWIG_fail
;
13207 arg3
= wxString_in_helper(obj2
);
13208 if (arg3
== NULL
) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= result
;
13242 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxFileType
*arg1
= (wxFileType
*) 0 ;
13245 wxString
*arg2
= 0 ;
13246 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13247 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13249 bool temp2
= false ;
13250 bool temp3
= false ;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 PyObject
* obj2
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 arg2
= wxString_in_helper(obj1
);
13263 if (arg2
== NULL
) SWIG_fail
;
13268 arg3
= wxString_in_helper(obj2
);
13269 if (arg3
== NULL
) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= result
;
13303 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxFileType
*arg1
= (wxFileType
*) 0 ;
13306 wxString
*arg2
= 0 ;
13307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13310 bool temp2
= false ;
13311 bool temp3
= false ;
13312 PyObject
* obj0
= 0 ;
13313 PyObject
* obj1
= 0 ;
13314 PyObject
* obj2
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 arg2
= wxString_in_helper(obj1
);
13324 if (arg2
== NULL
) SWIG_fail
;
13329 arg3
= wxString_in_helper(obj2
);
13330 if (arg3
== NULL
) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= result
;
13364 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxFileType
*arg1
= (wxFileType
*) 0 ;
13367 wxString
*arg2
= 0 ;
13368 wxString
*arg3
= 0 ;
13369 bool arg4
= (bool) true ;
13371 bool temp2
= false ;
13372 bool temp3
= false ;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 PyObject
* obj2
= 0 ;
13376 PyObject
* obj3
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13385 arg2
= wxString_in_helper(obj1
);
13386 if (arg2
== NULL
) SWIG_fail
;
13390 arg3
= wxString_in_helper(obj2
);
13391 if (arg3
== NULL
) SWIG_fail
;
13395 arg4
= (bool)SWIG_As_bool(obj3
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13430 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxFileType
*arg1
= (wxFileType
*) 0 ;
13433 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13434 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13435 int arg3
= (int) 0 ;
13437 bool temp2
= false ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 PyObject
* obj2
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self",(char *) "cmd",(char *) "index", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 arg2
= wxString_in_helper(obj1
);
13451 if (arg2
== NULL
) SWIG_fail
;
13456 arg3
= (int)SWIG_As_int(obj2
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13483 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxFileType
*arg1
= (wxFileType
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (bool)(arg1
)->Unassociate();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxString
*arg1
= 0 ;
13514 wxString
*arg2
= 0 ;
13515 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13516 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13518 bool temp1
= false ;
13519 bool temp2
= false ;
13520 bool temp3
= false ;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 PyObject
* obj2
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13530 arg1
= wxString_in_helper(obj0
);
13531 if (arg1
== NULL
) SWIG_fail
;
13535 arg2
= wxString_in_helper(obj1
);
13536 if (arg2
== NULL
) SWIG_fail
;
13541 arg3
= wxString_in_helper(obj2
);
13542 if (arg3
== NULL
) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13590 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13593 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13595 return Py_BuildValue((char *)"");
13597 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13598 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13603 static PyObject
*_wrap_TheMimeTypesManager_get() {
13606 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13611 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxString
*arg1
= 0 ;
13614 wxString
*arg2
= 0 ;
13616 bool temp1
= false ;
13617 bool temp2
= false ;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "mimeType",(char *) "wildcard", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 arg1
= wxString_in_helper(obj0
);
13627 if (arg1
== NULL
) SWIG_fail
;
13631 arg2
= wxString_in_helper(obj1
);
13632 if (arg2
== NULL
) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13667 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
;
13669 wxMimeTypesManager
*result
;
13670 char *kwnames
[] = {
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13689 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13692 int arg2
= (int) wxMAILCAP_ALL
;
13693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13695 bool temp3
= false ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 arg2
= (int)SWIG_As_int(obj1
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13712 arg3
= wxString_in_helper(obj2
);
13713 if (arg3
== NULL
) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 Py_INCREF(Py_None
); resultobj
= Py_None
;
13739 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->ClearData();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 Py_INCREF(Py_None
); resultobj
= Py_None
;
13764 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13767 wxString
*arg2
= 0 ;
13768 wxFileType
*result
;
13769 bool temp2
= false ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self",(char *) "ext", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 arg2
= wxString_in_helper(obj1
);
13781 if (arg2
== NULL
) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13806 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13809 wxString
*arg2
= 0 ;
13810 wxFileType
*result
;
13811 bool temp2
= false ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "mimeType", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 arg2
= wxString_in_helper(obj1
);
13823 if (arg2
== NULL
) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13848 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13851 wxString
*arg2
= 0 ;
13852 bool arg3
= (bool) false ;
13854 bool temp2
= false ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 PyObject
* obj2
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13866 arg2
= wxString_in_helper(obj1
);
13867 if (arg2
== NULL
) SWIG_fail
;
13871 arg3
= (bool)SWIG_As_bool(obj2
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13898 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13901 wxString
*arg2
= 0 ;
13903 bool temp2
= false ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self",(char *) "filename", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 arg2
= wxString_in_helper(obj1
);
13915 if (arg2
== NULL
) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= result
;
13968 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13971 wxFileTypeInfo
*arg2
= 0 ;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self",(char *) "ft", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13984 if (arg2
== NULL
) {
13985 PyErr_SetString(PyExc_TypeError
,"null reference");
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 Py_INCREF(Py_None
); resultobj
= Py_None
;
14002 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14005 wxFileTypeInfo
*arg2
= 0 ;
14006 wxFileType
*result
;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "ftInfo", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14019 if (arg2
== NULL
) {
14020 PyErr_SetString(PyExc_TypeError
,"null reference");
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14037 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14040 wxFileType
*arg2
= (wxFileType
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "ft", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
14052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)(arg1
)->Unassociate(arg2
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14097 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14099 return Py_BuildValue((char *)"");
14101 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14102 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14107 static PyObject
*_wrap_ART_TOOLBAR_get() {
14112 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14114 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14121 static int _wrap_ART_MENU_set(PyObject
*) {
14122 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14127 static PyObject
*_wrap_ART_MENU_get() {
14132 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14134 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14141 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14142 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14147 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14152 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14154 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14161 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14162 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14167 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14172 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14174 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14181 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14182 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14187 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14192 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14194 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14201 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14202 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14207 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14212 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14214 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14221 static int _wrap_ART_BUTTON_set(PyObject
*) {
14222 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14227 static PyObject
*_wrap_ART_BUTTON_get() {
14232 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14234 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14241 static int _wrap_ART_OTHER_set(PyObject
*) {
14242 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14247 static PyObject
*_wrap_ART_OTHER_get() {
14252 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14254 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14261 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14262 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14267 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14272 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14274 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14281 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14282 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14287 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14292 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14294 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14301 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14302 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14307 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14312 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14314 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14321 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14322 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14327 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14332 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14334 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14341 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14342 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14347 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14352 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14354 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14361 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14362 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14367 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14372 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14374 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14381 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14382 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14387 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14392 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14394 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14401 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14402 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14407 static PyObject
*_wrap_ART_GO_BACK_get() {
14412 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14414 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14421 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14422 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14427 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14432 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14434 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14441 static int _wrap_ART_GO_UP_set(PyObject
*) {
14442 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14447 static PyObject
*_wrap_ART_GO_UP_get() {
14452 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14454 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14461 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14462 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14467 static PyObject
*_wrap_ART_GO_DOWN_get() {
14472 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14474 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14481 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14482 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14487 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14492 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14494 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14501 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14502 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14507 static PyObject
*_wrap_ART_GO_HOME_get() {
14512 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14514 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14521 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14522 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14527 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14532 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14534 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14541 static int _wrap_ART_PRINT_set(PyObject
*) {
14542 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14547 static PyObject
*_wrap_ART_PRINT_get() {
14552 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14554 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14561 static int _wrap_ART_HELP_set(PyObject
*) {
14562 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14567 static PyObject
*_wrap_ART_HELP_get() {
14572 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14574 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14581 static int _wrap_ART_TIP_set(PyObject
*) {
14582 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14587 static PyObject
*_wrap_ART_TIP_get() {
14592 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14594 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14601 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14602 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14607 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14612 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14614 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14621 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14622 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14627 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14632 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14634 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14641 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14642 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14647 static PyObject
*_wrap_ART_NEW_DIR_get() {
14652 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14654 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14661 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14662 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14667 static PyObject
*_wrap_ART_HARDDISK_get() {
14672 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14674 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14681 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14682 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14687 static PyObject
*_wrap_ART_FLOPPY_get() {
14692 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14694 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14701 static int _wrap_ART_CDROM_set(PyObject
*) {
14702 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14707 static PyObject
*_wrap_ART_CDROM_get() {
14712 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14714 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14721 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14722 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14727 static PyObject
*_wrap_ART_REMOVABLE_get() {
14732 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14734 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14741 static int _wrap_ART_FOLDER_set(PyObject
*) {
14742 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14747 static PyObject
*_wrap_ART_FOLDER_get() {
14752 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14754 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14761 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14762 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14767 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14772 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14774 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14781 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14782 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14787 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14792 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14794 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14801 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14802 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14807 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14812 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14814 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14821 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14822 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14827 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14832 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14834 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14841 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14842 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14847 static PyObject
*_wrap_ART_TICK_MARK_get() {
14852 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14854 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14861 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14862 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14867 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14872 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14874 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14881 static int _wrap_ART_ERROR_set(PyObject
*) {
14882 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14887 static PyObject
*_wrap_ART_ERROR_get() {
14892 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14894 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14901 static int _wrap_ART_QUESTION_set(PyObject
*) {
14902 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14907 static PyObject
*_wrap_ART_QUESTION_get() {
14912 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14914 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14921 static int _wrap_ART_WARNING_set(PyObject
*) {
14922 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14927 static PyObject
*_wrap_ART_WARNING_get() {
14932 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14934 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14941 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14942 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14947 static PyObject
*_wrap_ART_INFORMATION_get() {
14952 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14954 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14961 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14962 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14967 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14972 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14974 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14981 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxPyArtProvider
*result
;
14984 char *kwnames
[] = {
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14990 if (!wxPyCheckForApp()) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
15004 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15007 PyObject
*arg2
= (PyObject
*) 0 ;
15008 PyObject
*arg3
= (PyObject
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 PyObject
* obj2
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self",(char *) "self",(char *) "_class", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "provider", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 wxPyArtProvider::PushProvider(arg1
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15063 char *kwnames
[] = {
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (bool)wxPyArtProvider::PopProvider();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15084 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "provider", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15112 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxString
*arg1
= 0 ;
15115 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15116 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15117 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15118 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15120 bool temp1
= false ;
15121 bool temp2
= false ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 PyObject
* obj2
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "id",(char *) "client",(char *) "size", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15132 arg1
= wxString_in_helper(obj0
);
15133 if (arg1
== NULL
) SWIG_fail
;
15138 arg2
= wxString_in_helper(obj1
);
15139 if (arg2
== NULL
) SWIG_fail
;
15146 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15150 if (!wxPyCheckForApp()) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 wxBitmap
* resultptr
;
15159 resultptr
= new wxBitmap((wxBitmap
&) result
);
15160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15184 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxString
*arg1
= 0 ;
15187 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15188 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15189 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15190 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15192 bool temp1
= false ;
15193 bool temp2
= false ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "id",(char *) "client",(char *) "size", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15204 arg1
= wxString_in_helper(obj0
);
15205 if (arg1
== NULL
) SWIG_fail
;
15210 arg2
= wxString_in_helper(obj1
);
15211 if (arg2
== NULL
) SWIG_fail
;
15218 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15222 if (!wxPyCheckForApp()) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 wxIcon
* resultptr
;
15231 resultptr
= new wxIcon((wxIcon
&) result
);
15232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15256 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 char *kwnames
[] = {
15261 (char *) "self", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 wxPyArtProvider_Destroy(arg1
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15284 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15286 return Py_BuildValue((char *)"");
15288 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15316 wxConfigBase
*result
;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "config", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15339 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 bool arg1
= (bool) true ;
15342 wxConfigBase
*result
;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "createOnDemand", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15350 arg1
= (bool)SWIG_As_bool(obj0
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15367 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxConfigBase
*result
;
15370 char *kwnames
[] = {
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (wxConfigBase
*)wxConfigBase::Create();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15389 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 char *kwnames
[] = {
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 wxConfigBase::DontCreateOnDemand();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 Py_INCREF(Py_None
); resultobj
= Py_None
;
15410 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15413 wxString
*arg2
= 0 ;
15414 bool temp2
= false ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "path", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 arg2
= wxString_in_helper(obj1
);
15426 if (arg2
== NULL
) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 (arg1
)->SetPath((wxString
const &)*arg2
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 Py_INCREF(Py_None
); resultobj
= Py_None
;
15451 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15467 result
= (wxString
*) &_result_ref
;
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15486 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
;
15512 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self",(char *) "index", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 arg2
= (long)SWIG_As_long(obj1
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
;
15542 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
;
15568 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "index", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 arg2
= (long)SWIG_As_long(obj1
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
;
15598 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15601 bool arg2
= (bool) false ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self",(char *) "recursive", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 arg2
= (bool)SWIG_As_bool(obj1
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15630 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15633 bool arg2
= (bool) false ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "recursive", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 arg2
= (bool)SWIG_As_bool(obj1
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15662 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15665 wxString
*arg2
= 0 ;
15667 bool temp2
= false ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self",(char *) "name", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 arg2
= wxString_in_helper(obj1
);
15679 if (arg2
== NULL
) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15709 wxString
*arg2
= 0 ;
15711 bool temp2
= false ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self",(char *) "name", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 arg2
= wxString_in_helper(obj1
);
15723 if (arg2
== NULL
) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15750 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15753 wxString
*arg2
= 0 ;
15755 bool temp2
= false ;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self",(char *) "name", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 arg2
= wxString_in_helper(obj1
);
15767 if (arg2
== NULL
) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15794 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15797 wxString
*arg2
= 0 ;
15799 bool temp2
= false ;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "name", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= wxString_in_helper(obj1
);
15811 if (arg2
== NULL
) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_From_int((int)result
);
15836 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15839 wxString
*arg2
= 0 ;
15840 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15841 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15843 bool temp2
= false ;
15844 bool temp3
= false ;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 PyObject
* obj2
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15856 arg2
= wxString_in_helper(obj1
);
15857 if (arg2
== NULL
) SWIG_fail
;
15862 arg3
= wxString_in_helper(obj2
);
15863 if (arg3
== NULL
) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15903 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15906 wxString
*arg2
= 0 ;
15907 long arg3
= (long) 0 ;
15909 bool temp2
= false ;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 PyObject
* obj2
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 arg2
= wxString_in_helper(obj1
);
15922 if (arg2
== NULL
) SWIG_fail
;
15926 arg3
= (long)SWIG_As_long(obj2
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_From_long((long)result
);
15951 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
;
15953 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15954 wxString
*arg2
= 0 ;
15955 double arg3
= (double) 0.0 ;
15957 bool temp2
= false ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 PyObject
* obj2
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 arg2
= wxString_in_helper(obj1
);
15970 if (arg2
== NULL
) SWIG_fail
;
15974 arg3
= (double)SWIG_As_double(obj2
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_From_double((double)result
);
15999 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16002 wxString
*arg2
= 0 ;
16003 bool arg3
= (bool) false ;
16005 bool temp2
= false ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 PyObject
* obj2
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= wxString_in_helper(obj1
);
16018 if (arg2
== NULL
) SWIG_fail
;
16022 arg3
= (bool)SWIG_As_bool(obj2
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16052 wxString
*arg2
= 0 ;
16053 wxString
*arg3
= 0 ;
16055 bool temp2
= false ;
16056 bool temp3
= false ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 PyObject
* obj2
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "key",(char *) "value", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16073 arg3
= wxString_in_helper(obj2
);
16074 if (arg3
== NULL
) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16112 wxString
*arg2
= 0 ;
16115 bool temp2
= false ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 PyObject
* obj2
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "key",(char *) "value", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 arg2
= wxString_in_helper(obj1
);
16128 if (arg2
== NULL
) SWIG_fail
;
16131 arg3
= (long)SWIG_As_long(obj2
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16157 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16160 wxString
*arg2
= 0 ;
16163 bool temp2
= false ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 PyObject
* obj2
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "key",(char *) "value", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 arg2
= wxString_in_helper(obj1
);
16176 if (arg2
== NULL
) SWIG_fail
;
16179 arg3
= (double)SWIG_As_double(obj2
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16205 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16208 wxString
*arg2
= 0 ;
16211 bool temp2
= false ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 PyObject
* obj2
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "key",(char *) "value", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 arg2
= wxString_in_helper(obj1
);
16224 if (arg2
== NULL
) SWIG_fail
;
16227 arg3
= (bool)SWIG_As_bool(obj2
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16253 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16256 bool arg2
= (bool) false ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "currentOnly", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 arg2
= (bool)SWIG_As_bool(obj1
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (bool)(arg1
)->Flush(arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16287 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16290 wxString
*arg2
= 0 ;
16291 wxString
*arg3
= 0 ;
16293 bool temp2
= false ;
16294 bool temp3
= false ;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 PyObject
* obj2
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16306 arg2
= wxString_in_helper(obj1
);
16307 if (arg2
== NULL
) SWIG_fail
;
16311 arg3
= wxString_in_helper(obj2
);
16312 if (arg3
== NULL
) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16350 wxString
*arg2
= 0 ;
16351 wxString
*arg3
= 0 ;
16353 bool temp2
= false ;
16354 bool temp3
= false ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16366 arg2
= wxString_in_helper(obj1
);
16367 if (arg2
== NULL
) SWIG_fail
;
16371 arg3
= wxString_in_helper(obj2
);
16372 if (arg3
== NULL
) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16410 wxString
*arg2
= 0 ;
16411 bool arg3
= (bool) true ;
16413 bool temp2
= false ;
16414 PyObject
* obj0
= 0 ;
16415 PyObject
* obj1
= 0 ;
16416 PyObject
* obj2
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 arg2
= wxString_in_helper(obj1
);
16426 if (arg2
== NULL
) SWIG_fail
;
16430 arg3
= (bool)SWIG_As_bool(obj2
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16457 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16460 wxString
*arg2
= 0 ;
16462 bool temp2
= false ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self",(char *) "key", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 arg2
= wxString_in_helper(obj1
);
16474 if (arg2
== NULL
) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16501 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= (bool)(arg1
)->DeleteAll();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16529 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16532 bool arg2
= (bool) true ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "doIt", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 arg2
= (bool)SWIG_As_bool(obj1
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->SetExpandEnvVars(arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16588 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16591 bool arg2
= (bool) true ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self",(char *) "doIt", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 arg2
= (bool)SWIG_As_bool(obj1
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 (arg1
)->SetRecordDefaults(arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16647 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16650 wxString
*arg2
= 0 ;
16652 bool temp2
= false ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "str", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 arg2
= wxString_in_helper(obj1
);
16664 if (arg2
== NULL
) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16695 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16727 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16759 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16762 wxString
*arg2
= 0 ;
16763 bool temp2
= false ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self",(char *) "appName", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 arg2
= wxString_in_helper(obj1
);
16775 if (arg2
== NULL
) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->SetAppName((wxString
const &)*arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16800 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16803 wxString
*arg2
= 0 ;
16804 bool temp2
= false ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self",(char *) "vendorName", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16815 arg2
= wxString_in_helper(obj1
);
16816 if (arg2
== NULL
) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 Py_INCREF(Py_None
); resultobj
= Py_None
;
16841 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "style", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg2
= (long)SWIG_As_long(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->SetStyle(arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= SWIG_From_long((long)result
);
16896 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16899 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16901 return Py_BuildValue((char *)"");
16903 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16906 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16907 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16908 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16909 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16910 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16911 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16913 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16915 bool temp1
= false ;
16916 bool temp2
= false ;
16917 bool temp3
= false ;
16918 bool temp4
= false ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 PyObject
* obj2
= 0 ;
16922 PyObject
* obj3
= 0 ;
16923 PyObject
* obj4
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16931 arg1
= wxString_in_helper(obj0
);
16932 if (arg1
== NULL
) SWIG_fail
;
16938 arg2
= wxString_in_helper(obj1
);
16939 if (arg2
== NULL
) SWIG_fail
;
16945 arg3
= wxString_in_helper(obj2
);
16946 if (arg3
== NULL
) SWIG_fail
;
16952 arg4
= wxString_in_helper(obj3
);
16953 if (arg4
== NULL
) SWIG_fail
;
16958 arg5
= (long)SWIG_As_long(obj4
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
17007 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxConfig
*arg1
= (wxConfig
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
17017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
17034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17035 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
17037 return Py_BuildValue((char *)"");
17039 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17042 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17043 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17044 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17045 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17046 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17047 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17048 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17049 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
17050 wxFileConfig
*result
;
17051 bool temp1
= false ;
17052 bool temp2
= false ;
17053 bool temp3
= false ;
17054 bool temp4
= false ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 PyObject
* obj2
= 0 ;
17058 PyObject
* obj3
= 0 ;
17059 PyObject
* obj4
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17067 arg1
= wxString_in_helper(obj0
);
17068 if (arg1
== NULL
) SWIG_fail
;
17074 arg2
= wxString_in_helper(obj1
);
17075 if (arg2
== NULL
) SWIG_fail
;
17081 arg3
= wxString_in_helper(obj2
);
17082 if (arg3
== NULL
) SWIG_fail
;
17088 arg4
= wxString_in_helper(obj3
);
17089 if (arg4
== NULL
) SWIG_fail
;
17094 arg5
= (long)SWIG_As_long(obj4
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17143 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 Py_INCREF(Py_None
); resultobj
= Py_None
;
17168 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17173 return Py_BuildValue((char *)"");
17175 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17178 wxString
*arg2
= 0 ;
17179 wxConfigPathChanger
*result
;
17180 bool temp2
= false ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "config",(char *) "entry", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 arg2
= wxString_in_helper(obj1
);
17192 if (arg2
== NULL
) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17217 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17220 PyObject
* obj0
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 Py_INCREF(Py_None
); resultobj
= Py_None
;
17242 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17258 result
= (wxString
*) &_result_ref
;
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17277 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17280 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17282 return Py_BuildValue((char *)"");
17284 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxString
*arg1
= 0 ;
17288 bool temp1
= false ;
17289 PyObject
* obj0
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "sz", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17296 arg1
= wxString_in_helper(obj0
);
17297 if (arg1
== NULL
) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17328 static int _wrap_DateFormatStr_set(PyObject
*) {
17329 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17334 static PyObject
*_wrap_DateFormatStr_get() {
17339 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17341 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17348 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17349 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17354 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17359 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17361 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17368 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17371 PyObject
* obj0
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "country", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17377 arg1
= (int)SWIG_As_int(obj0
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 Py_INCREF(Py_None
); resultobj
= Py_None
;
17393 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17396 char *kwnames
[] = {
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= (int)wxDateTime::GetCountry();
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_From_int((int)result
);
17415 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 int arg1
= (int) wxDateTime::Country_Default
;
17419 PyObject
* obj0
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "country", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17426 arg1
= (int)SWIG_As_int(obj0
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17445 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 int arg1
= (int) wxDateTime::Gregorian
;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "cal", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17456 arg1
= (int)SWIG_As_int(obj0
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_From_int((int)result
);
17473 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "year", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17483 arg1
= (int)SWIG_As_int(obj0
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_From_int((int)result
);
17499 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 int arg1
= (int) wxDateTime::Gregorian
;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "cal", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17510 arg1
= (int)SWIG_As_int(obj0
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_From_int((int)result
);
17527 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 int arg1
= (int) wxDateTime::Inv_Year
;
17530 int arg2
= (int) wxDateTime::Gregorian
;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "year",(char *) "cal", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 arg1
= (int)SWIG_As_int(obj0
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 arg2
= (int)SWIG_As_int(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 int arg1
= (int) wxDateTime::Inv_Year
;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "year", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17574 arg1
= (int)SWIG_As_int(obj0
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (int)wxDateTime::GetCentury(arg1
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_From_int((int)result
);
17591 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17594 int arg2
= (int) wxDateTime::Gregorian
;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "year",(char *) "cal", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17603 arg1
= (int)SWIG_As_int(obj0
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 arg2
= (int)SWIG_As_int(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= SWIG_From_int((int)result
);
17623 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17626 int arg2
= (int) wxDateTime::Inv_Year
;
17627 int arg3
= (int) wxDateTime::Gregorian
;
17629 PyObject
* obj0
= 0 ;
17630 PyObject
* obj1
= 0 ;
17631 PyObject
* obj2
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "month",(char *) "year",(char *) "cal", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17637 arg1
= (int)SWIG_As_int(obj0
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 arg2
= (int)SWIG_As_int(obj1
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17644 arg3
= (int)SWIG_As_int(obj2
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_From_int((int)result
);
17661 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17664 int arg2
= (int) wxDateTime::Name_Full
;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "month",(char *) "flags", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 arg1
= (int)SWIG_As_int(obj0
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 arg2
= (int)SWIG_As_int(obj1
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17699 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17702 int arg2
= (int) wxDateTime::Name_Full
;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "weekday",(char *) "flags", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 arg1
= (int)SWIG_As_int(obj0
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 arg2
= (int)SWIG_As_int(obj1
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17737 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxString
*arg1
= (wxString
*) 0 ;
17740 wxString
*arg2
= (wxString
*) 0 ;
17741 bool temp1
= false ;
17742 bool temp2
= false ;
17743 PyObject
* obj0
= 0 ;
17744 PyObject
* obj1
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17751 arg1
= wxString_in_helper(obj0
);
17752 if (arg1
== NULL
) SWIG_fail
;
17756 arg2
= wxString_in_helper(obj1
);
17757 if (arg2
== NULL
) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 int arg1
= (int) wxDateTime::Inv_Year
;
17793 int arg2
= (int) wxDateTime::Country_Default
;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "year",(char *) "country", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17803 arg1
= (int)SWIG_As_int(obj0
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 arg2
= (int)SWIG_As_int(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17826 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 int arg1
= (int) wxDateTime::Inv_Year
;
17829 int arg2
= (int) wxDateTime::Country_Default
;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "year",(char *) "country", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17839 arg1
= (int)SWIG_As_int(obj0
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 arg2
= (int)SWIG_As_int(obj1
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17854 wxDateTime
* resultptr
;
17855 resultptr
= new wxDateTime((wxDateTime
&) result
);
17856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17864 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 int arg1
= (int) wxDateTime::Inv_Year
;
17867 int arg2
= (int) wxDateTime::Country_Default
;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "year",(char *) "country", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17877 arg1
= (int)SWIG_As_int(obj0
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17881 arg2
= (int)SWIG_As_int(obj1
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 wxDateTime
* resultptr
;
17893 resultptr
= new wxDateTime((wxDateTime
&) result
);
17894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17902 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17905 char *kwnames
[] = {
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= wxDateTime::Now();
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17918 wxDateTime
* resultptr
;
17919 resultptr
= new wxDateTime((wxDateTime
&) result
);
17920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17928 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17931 char *kwnames
[] = {
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= wxDateTime::UNow();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 wxDateTime
* resultptr
;
17945 resultptr
= new wxDateTime((wxDateTime
&) result
);
17946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17954 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17957 char *kwnames
[] = {
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= wxDateTime::Today();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 wxDateTime
* resultptr
;
17971 resultptr
= new wxDateTime((wxDateTime
&) result
);
17972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17980 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxDateTime
*result
;
17983 char *kwnames
[] = {
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (wxDateTime
*)new wxDateTime();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18002 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18005 wxDateTime
*result
;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "timet", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
18012 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (wxDateTime
*)new wxDateTime(arg1
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18028 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18031 wxDateTime
*result
;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "jdn", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
18038 arg1
= (double)SWIG_As_double(obj0
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (wxDateTime
*)new wxDateTime(arg1
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18054 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18057 int arg2
= (int) 0 ;
18058 int arg3
= (int) 0 ;
18059 int arg4
= (int) 0 ;
18060 wxDateTime
*result
;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 PyObject
* obj2
= 0 ;
18064 PyObject
* obj3
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18070 arg1
= (int)SWIG_As_int(obj0
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 arg2
= (int)SWIG_As_int(obj1
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 arg3
= (int)SWIG_As_int(obj2
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 arg4
= (int)SWIG_As_int(obj3
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18098 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18101 int arg2
= (int) wxDateTime::Inv_Month
;
18102 int arg3
= (int) wxDateTime::Inv_Year
;
18103 int arg4
= (int) 0 ;
18104 int arg5
= (int) 0 ;
18105 int arg6
= (int) 0 ;
18106 int arg7
= (int) 0 ;
18107 wxDateTime
*result
;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 PyObject
* obj2
= 0 ;
18111 PyObject
* obj3
= 0 ;
18112 PyObject
* obj4
= 0 ;
18113 PyObject
* obj5
= 0 ;
18114 PyObject
* obj6
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18120 arg1
= (int)SWIG_As_int(obj0
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 arg2
= (int)SWIG_As_int(obj1
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 arg3
= (int)SWIG_As_int(obj2
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18131 arg4
= (int)SWIG_As_int(obj3
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18135 arg5
= (int)SWIG_As_int(obj4
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 arg6
= (int)SWIG_As_int(obj5
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 arg7
= (int)SWIG_As_int(obj6
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18160 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18188 wxDateTime
*result
;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18201 result
= (wxDateTime
*) &_result_ref
;
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18214 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18218 wxDateTime
*result
;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "timet", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18234 result
= (wxDateTime
*) &_result_ref
;
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18247 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18251 wxDateTime
*result
;
18252 PyObject
* obj0
= 0 ;
18253 PyObject
* obj1
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "jdn", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18261 arg2
= (double)SWIG_As_double(obj1
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18267 result
= (wxDateTime
*) &_result_ref
;
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18280 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18284 int arg3
= (int) 0 ;
18285 int arg4
= (int) 0 ;
18286 int arg5
= (int) 0 ;
18287 wxDateTime
*result
;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 PyObject
* obj2
= 0 ;
18291 PyObject
* obj3
= 0 ;
18292 PyObject
* obj4
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 arg2
= (int)SWIG_As_int(obj1
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 arg3
= (int)SWIG_As_int(obj2
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 arg4
= (int)SWIG_As_int(obj3
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 arg5
= (int)SWIG_As_int(obj4
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18318 result
= (wxDateTime
*) &_result_ref
;
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18331 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18335 int arg3
= (int) wxDateTime::Inv_Month
;
18336 int arg4
= (int) wxDateTime::Inv_Year
;
18337 int arg5
= (int) 0 ;
18338 int arg6
= (int) 0 ;
18339 int arg7
= (int) 0 ;
18340 int arg8
= (int) 0 ;
18341 wxDateTime
*result
;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 PyObject
* obj2
= 0 ;
18345 PyObject
* obj3
= 0 ;
18346 PyObject
* obj4
= 0 ;
18347 PyObject
* obj5
= 0 ;
18348 PyObject
* obj6
= 0 ;
18349 PyObject
* obj7
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 arg2
= (int)SWIG_As_int(obj1
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 arg3
= (int)SWIG_As_int(obj2
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 arg4
= (int)SWIG_As_int(obj3
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 arg5
= (int)SWIG_As_int(obj4
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 arg6
= (int)SWIG_As_int(obj5
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 arg7
= (int)SWIG_As_int(obj6
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 arg8
= (int)SWIG_As_int(obj7
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18387 result
= (wxDateTime
*) &_result_ref
;
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18400 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18403 wxDateTime
*result
;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
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_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18433 wxDateTime
*result
;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self",(char *) "year", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 arg2
= (int)SWIG_As_int(obj1
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18449 result
= (wxDateTime
*) &_result_ref
;
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18462 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18466 wxDateTime
*result
;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "month", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 arg2
= (int)SWIG_As_int(obj1
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18482 result
= (wxDateTime
*) &_result_ref
;
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18495 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18499 wxDateTime
*result
;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "day", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18509 arg2
= (int)SWIG_As_int(obj1
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18515 result
= (wxDateTime
*) &_result_ref
;
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18528 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18532 wxDateTime
*result
;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self",(char *) "hour", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18542 arg2
= (int)SWIG_As_int(obj1
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18548 result
= (wxDateTime
*) &_result_ref
;
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18561 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
;
18563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18565 wxDateTime
*result
;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self",(char *) "minute", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 arg2
= (int)SWIG_As_int(obj1
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18581 result
= (wxDateTime
*) &_result_ref
;
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18594 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18598 wxDateTime
*result
;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self",(char *) "second", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 arg2
= (int)SWIG_As_int(obj1
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18614 result
= (wxDateTime
*) &_result_ref
;
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18627 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18631 wxDateTime
*result
;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self",(char *) "millisecond", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18641 arg2
= (int)SWIG_As_int(obj1
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18647 result
= (wxDateTime
*) &_result_ref
;
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18660 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18664 int arg3
= (int) wxDateTime::Monday_First
;
18665 wxDateTime
*result
;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 PyObject
* obj2
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 arg2
= (int)SWIG_As_int(obj1
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 arg3
= (int)SWIG_As_int(obj2
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18686 result
= (wxDateTime
*) &_result_ref
;
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18699 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18703 int arg3
= (int) wxDateTime::Monday_First
;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 PyObject
* obj2
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 wxDateTime
* resultptr
;
18730 resultptr
= new wxDateTime((wxDateTime
&) result
);
18731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18739 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18743 wxDateTime
*result
;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self",(char *) "weekday", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 arg2
= (int)SWIG_As_int(obj1
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18759 result
= (wxDateTime
*) &_result_ref
;
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18772 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self",(char *) "weekday", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 arg2
= (int)SWIG_As_int(obj1
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18796 wxDateTime
* resultptr
;
18797 resultptr
= new wxDateTime((wxDateTime
&) result
);
18798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18806 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18810 wxDateTime
*result
;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "weekday", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= (int)SWIG_As_int(obj1
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18826 result
= (wxDateTime
*) &_result_ref
;
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18839 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "weekday", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 arg2
= (int)SWIG_As_int(obj1
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
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_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18877 int arg3
= (int) 1 ;
18878 int arg4
= (int) wxDateTime::Inv_Month
;
18879 int arg5
= (int) wxDateTime::Inv_Year
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 PyObject
* obj3
= 0 ;
18885 PyObject
* obj4
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 arg2
= (int)SWIG_As_int(obj1
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 arg3
= (int)SWIG_As_int(obj2
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18900 arg4
= (int)SWIG_As_int(obj3
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18904 arg5
= (int)SWIG_As_int(obj4
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18923 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18927 int arg3
= (int) wxDateTime::Inv_Month
;
18928 int arg4
= (int) wxDateTime::Inv_Year
;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 PyObject
* obj2
= 0 ;
18933 PyObject
* obj3
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18941 arg2
= (int)SWIG_As_int(obj1
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 arg3
= (int)SWIG_As_int(obj2
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18948 arg4
= (int)SWIG_As_int(obj3
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18967 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18971 int arg3
= (int) wxDateTime::Inv_Month
;
18972 int arg4
= (int) wxDateTime::Inv_Year
;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 PyObject
* obj2
= 0 ;
18977 PyObject
* obj3
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18985 arg2
= (int)SWIG_As_int(obj1
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 arg3
= (int)SWIG_As_int(obj2
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 arg4
= (int)SWIG_As_int(obj3
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 wxDateTime
* resultptr
;
19004 resultptr
= new wxDateTime((wxDateTime
&) result
);
19005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19013 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19017 int arg3
= (int) wxDateTime::Mon
;
19018 int arg4
= (int) wxDateTime::Monday_First
;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 PyObject
* obj2
= 0 ;
19023 PyObject
* obj3
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 arg2
= (int)SWIG_As_int(obj1
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 arg3
= (int)SWIG_As_int(obj2
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19038 arg4
= (int)SWIG_As_int(obj3
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19057 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19061 int arg3
= (int) wxDateTime::Mon
;
19062 int arg4
= (int) wxDateTime::Monday_First
;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 PyObject
* obj3
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 arg2
= (int)SWIG_As_int(obj1
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19078 arg3
= (int)SWIG_As_int(obj2
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 arg4
= (int)SWIG_As_int(obj3
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 wxDateTime
* resultptr
;
19094 resultptr
= new wxDateTime((wxDateTime
&) result
);
19095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19103 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19107 int arg3
= (int) wxDateTime::Mon
;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 PyObject
* obj2
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19117 arg1
= (int)SWIG_As_int(obj0
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19119 arg2
= (int)SWIG_As_int(obj1
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 arg3
= (int)SWIG_As_int(obj2
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 wxDateTime
* resultptr
;
19134 resultptr
= new wxDateTime((wxDateTime
&) result
);
19135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19143 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19146 int arg2
= (int) wxDateTime::Inv_Month
;
19147 int arg3
= (int) wxDateTime::Inv_Year
;
19148 wxDateTime
*result
;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self",(char *) "month",(char *) "year", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19160 arg2
= (int)SWIG_As_int(obj1
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19164 arg3
= (int)SWIG_As_int(obj2
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19171 result
= (wxDateTime
*) &_result_ref
;
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19184 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19187 int arg2
= (int) wxDateTime::Inv_Month
;
19188 int arg3
= (int) wxDateTime::Inv_Year
;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 PyObject
* obj2
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self",(char *) "month",(char *) "year", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 arg2
= (int)SWIG_As_int(obj1
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 arg3
= (int)SWIG_As_int(obj2
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19216 wxDateTime
* resultptr
;
19217 resultptr
= new wxDateTime((wxDateTime
&) result
);
19218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19226 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19230 wxDateTime
*result
;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "yday", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 arg2
= (int)SWIG_As_int(obj1
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19246 result
= (wxDateTime
*) &_result_ref
;
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19259 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "yday", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= (int)SWIG_As_int(obj1
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (arg1
)->GetYearDay(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 wxDateTime
* resultptr
;
19284 resultptr
= new wxDateTime((wxDateTime
&) result
);
19285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19293 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= (double)(arg1
)->GetJulianDayNumber();
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= SWIG_From_double((double)result
);
19319 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (double)(arg1
)->GetJDN();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_From_double((double)result
);
19345 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_From_double((double)result
);
19371 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (double)(arg1
)->GetMJD();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_From_double((double)result
);
19397 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (double)(arg1
)->GetRataDie();
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_From_double((double)result
);
19423 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19426 wxDateTime::TimeZone
*arg2
= 0 ;
19427 bool arg3
= (bool) false ;
19429 bool temp2
= false ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 PyObject
* obj2
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19445 arg3
= (bool)SWIG_As_bool(obj2
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19456 wxDateTime
* resultptr
;
19457 resultptr
= new wxDateTime((wxDateTime
&) result
);
19458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19461 if (temp2
) delete arg2
;
19466 if (temp2
) delete arg2
;
19472 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19475 wxDateTime::TimeZone
*arg2
= 0 ;
19476 bool arg3
= (bool) false ;
19477 wxDateTime
*result
;
19478 bool temp2
= false ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 PyObject
* obj2
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19490 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19494 arg3
= (bool)SWIG_As_bool(obj2
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19501 result
= (wxDateTime
*) &_result_ref
;
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19509 if (temp2
) delete arg2
;
19514 if (temp2
) delete arg2
;
19520 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19523 bool arg2
= (bool) false ;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "noDST", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 arg2
= (bool)SWIG_As_bool(obj1
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (arg1
)->ToGMT(arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19546 wxDateTime
* resultptr
;
19547 resultptr
= new wxDateTime((wxDateTime
&) result
);
19548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19556 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19559 bool arg2
= (bool) false ;
19560 wxDateTime
*result
;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "noDST", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19571 arg2
= (bool)SWIG_As_bool(obj1
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19578 result
= (wxDateTime
*) &_result_ref
;
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19591 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19594 int arg2
= (int) wxDateTime::Country_Default
;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self",(char *) "country", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19606 arg2
= (int)SWIG_As_int(obj1
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_From_int((int)result
);
19623 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19651 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19677 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19680 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19681 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19683 bool temp2
= false ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self",(char *) "tz", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19695 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_From_int((int)result
);
19708 if (temp2
) delete arg2
;
19713 if (temp2
) delete arg2
;
19719 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19722 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19723 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19725 bool temp2
= false ;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "tz", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_From_int((int)result
);
19750 if (temp2
) delete arg2
;
19755 if (temp2
) delete arg2
;
19761 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19764 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19765 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19767 bool temp2
= false ;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self",(char *) "tz", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_From_int((int)result
);
19792 if (temp2
) delete arg2
;
19797 if (temp2
) delete arg2
;
19803 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19806 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19807 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19809 bool temp2
= false ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "tz", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= SWIG_From_int((int)result
);
19834 if (temp2
) delete arg2
;
19839 if (temp2
) delete arg2
;
19845 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19848 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19849 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19851 bool temp2
= false ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "tz", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19863 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_From_int((int)result
);
19876 if (temp2
) delete arg2
;
19881 if (temp2
) delete arg2
;
19887 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19890 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19891 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19893 bool temp2
= false ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "self",(char *) "tz", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_From_int((int)result
);
19918 if (temp2
) delete arg2
;
19923 if (temp2
) delete arg2
;
19929 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19932 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19933 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19935 bool temp2
= false ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self",(char *) "tz", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19947 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_From_int((int)result
);
19960 if (temp2
) delete arg2
;
19965 if (temp2
) delete arg2
;
19971 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19974 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19975 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19977 bool temp2
= false ;
19978 PyObject
* obj0
= 0 ;
19979 PyObject
* obj1
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self",(char *) "tz", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= SWIG_From_int((int)result
);
20002 if (temp2
) delete arg2
;
20007 if (temp2
) delete arg2
;
20013 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20016 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
20017 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
20019 bool temp2
= false ;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self",(char *) "tz", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= SWIG_From_int((int)result
);
20044 if (temp2
) delete arg2
;
20049 if (temp2
) delete arg2
;
20055 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20058 int arg2
= (int) wxDateTime::Monday_First
;
20059 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20060 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20062 bool temp3
= false ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 PyObject
* obj2
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "flags",(char *) "tz", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 arg2
= (int)SWIG_As_int(obj1
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20079 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_From_int((int)result
);
20092 if (temp3
) delete arg3
;
20097 if (temp3
) delete arg3
;
20103 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20106 int arg2
= (int) wxDateTime::Monday_First
;
20107 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20108 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20110 bool temp3
= false ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 PyObject
* obj2
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "flags",(char *) "tz", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20122 arg2
= (int)SWIG_As_int(obj1
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20127 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= SWIG_From_int((int)result
);
20140 if (temp3
) delete arg3
;
20145 if (temp3
) delete arg3
;
20151 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20154 int arg2
= (int) wxDateTime::Country_Default
;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self",(char *) "country", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20166 arg2
= (int)SWIG_As_int(obj1
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20185 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20188 wxDateTime
*arg2
= 0 ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self",(char *) "datetime", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20202 if (arg2
== NULL
) {
20203 PyErr_SetString(PyExc_TypeError
,"null reference");
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20222 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20225 wxDateTime
*arg2
= 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "datetime", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20239 if (arg2
== NULL
) {
20240 PyErr_SetString(PyExc_TypeError
,"null reference");
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20259 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20262 wxDateTime
*arg2
= 0 ;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "datetime", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20276 if (arg2
== NULL
) {
20277 PyErr_SetString(PyExc_TypeError
,"null reference");
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20296 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20299 wxDateTime
*arg2
= 0 ;
20300 wxDateTime
*arg3
= 0 ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 PyObject
* obj2
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "t1",(char *) "t2", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20315 if (arg2
== NULL
) {
20316 PyErr_SetString(PyExc_TypeError
,"null reference");
20319 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20322 if (arg3
== NULL
) {
20323 PyErr_SetString(PyExc_TypeError
,"null reference");
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20342 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20345 wxDateTime
*arg2
= 0 ;
20346 wxDateTime
*arg3
= 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 PyObject
* obj2
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self",(char *) "t1",(char *) "t2", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20361 if (arg2
== NULL
) {
20362 PyErr_SetString(PyExc_TypeError
,"null reference");
20365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20368 if (arg3
== NULL
) {
20369 PyErr_SetString(PyExc_TypeError
,"null reference");
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20388 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20391 wxDateTime
*arg2
= 0 ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self",(char *) "dt", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20405 if (arg2
== NULL
) {
20406 PyErr_SetString(PyExc_TypeError
,"null reference");
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20425 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20428 wxDateTime
*arg2
= 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "dt", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20442 if (arg2
== NULL
) {
20443 PyErr_SetString(PyExc_TypeError
,"null reference");
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20462 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20465 wxDateTime
*arg2
= 0 ;
20466 wxTimeSpan
*arg3
= 0 ;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 PyObject
* obj2
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "dt",(char *) "ts", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20481 if (arg2
== NULL
) {
20482 PyErr_SetString(PyExc_TypeError
,"null reference");
20485 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20488 if (arg3
== NULL
) {
20489 PyErr_SetString(PyExc_TypeError
,"null reference");
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20508 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20511 wxTimeSpan
*arg2
= 0 ;
20512 wxDateTime
*result
;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self",(char *) "diff", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20525 if (arg2
== NULL
) {
20526 PyErr_SetString(PyExc_TypeError
,"null reference");
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20533 result
= (wxDateTime
*) &_result_ref
;
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20546 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20549 wxDateSpan
*arg2
= 0 ;
20550 wxDateTime
*result
;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "diff", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20563 if (arg2
== NULL
) {
20564 PyErr_SetString(PyExc_TypeError
,"null reference");
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20571 result
= (wxDateTime
*) &_result_ref
;
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20584 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20587 wxTimeSpan
*arg2
= 0 ;
20588 wxDateTime
*result
;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self",(char *) "diff", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20601 if (arg2
== NULL
) {
20602 PyErr_SetString(PyExc_TypeError
,"null reference");
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20609 result
= (wxDateTime
*) &_result_ref
;
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20622 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20625 wxDateSpan
*arg2
= 0 ;
20626 wxDateTime
*result
;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self",(char *) "diff", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20639 if (arg2
== NULL
) {
20640 PyErr_SetString(PyExc_TypeError
,"null reference");
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20647 result
= (wxDateTime
*) &_result_ref
;
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20660 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20663 wxDateTime
*arg2
= 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "dt", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20677 if (arg2
== NULL
) {
20678 PyErr_SetString(PyExc_TypeError
,"null reference");
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 wxTimeSpan
* resultptr
;
20690 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20699 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20700 PyObject
*resultobj
;
20701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20702 wxTimeSpan
*arg2
= 0 ;
20703 wxDateTime
*result
;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20707 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20709 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20713 if (arg2
== NULL
) {
20714 PyErr_SetString(PyExc_TypeError
,"null reference");
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20721 result
= (wxDateTime
*) &_result_ref
;
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20734 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20735 PyObject
*resultobj
;
20736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20737 wxDateSpan
*arg2
= 0 ;
20738 wxDateTime
*result
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20742 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20744 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20748 if (arg2
== NULL
) {
20749 PyErr_SetString(PyExc_TypeError
,"null reference");
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20755 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20756 result
= (wxDateTime
*) &_result_ref
;
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20769 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20774 argc
= PyObject_Length(args
);
20775 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20776 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20782 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20792 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20800 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20808 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20818 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20826 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20831 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20836 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20837 PyObject
*resultobj
;
20838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20839 wxTimeSpan
*arg2
= 0 ;
20840 wxDateTime
*result
;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20844 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20846 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20850 if (arg2
== NULL
) {
20851 PyErr_SetString(PyExc_TypeError
,"null reference");
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20858 result
= (wxDateTime
*) &_result_ref
;
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20871 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20872 PyObject
*resultobj
;
20873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20874 wxDateSpan
*arg2
= 0 ;
20875 wxDateTime
*result
;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20879 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20881 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20885 if (arg2
== NULL
) {
20886 PyErr_SetString(PyExc_TypeError
,"null reference");
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20893 result
= (wxDateTime
*) &_result_ref
;
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20906 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20911 argc
= PyObject_Length(args
);
20912 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20913 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20919 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20929 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20937 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20945 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20955 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20963 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20968 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20973 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20974 PyObject
*resultobj
;
20975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20976 wxTimeSpan
*arg2
= 0 ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20981 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20987 if (arg2
== NULL
) {
20988 PyErr_SetString(PyExc_TypeError
,"null reference");
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 wxDateTime
* resultptr
;
21000 resultptr
= new wxDateTime((wxDateTime
&) result
);
21001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21009 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
21010 PyObject
*resultobj
;
21011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21012 wxDateSpan
*arg2
= 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21017 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21023 if (arg2
== NULL
) {
21024 PyErr_SetString(PyExc_TypeError
,"null reference");
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21035 wxDateTime
* resultptr
;
21036 resultptr
= new wxDateTime((wxDateTime
&) result
);
21037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21045 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
21050 argc
= PyObject_Length(args
);
21051 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21058 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21068 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21076 return _wrap_DateTime___add____SWIG_0(self
,args
);
21084 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21094 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21102 return _wrap_DateTime___add____SWIG_1(self
,args
);
21107 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21112 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21113 PyObject
*resultobj
;
21114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21115 wxDateTime
*arg2
= 0 ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21120 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21126 if (arg2
== NULL
) {
21127 PyErr_SetString(PyExc_TypeError
,"null reference");
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21138 wxTimeSpan
* resultptr
;
21139 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21148 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21149 PyObject
*resultobj
;
21150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21151 wxTimeSpan
*arg2
= 0 ;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21156 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21162 if (arg2
== NULL
) {
21163 PyErr_SetString(PyExc_TypeError
,"null reference");
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 wxDateTime
* resultptr
;
21175 resultptr
= new wxDateTime((wxDateTime
&) result
);
21176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21184 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21185 PyObject
*resultobj
;
21186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21187 wxDateSpan
*arg2
= 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21192 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21198 if (arg2
== NULL
) {
21199 PyErr_SetString(PyExc_TypeError
,"null reference");
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 wxDateTime
* resultptr
;
21211 resultptr
= new wxDateTime((wxDateTime
&) result
);
21212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21220 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21225 argc
= PyObject_Length(args
);
21226 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21227 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21233 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21243 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21251 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21259 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21269 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21277 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21285 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21295 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21303 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21308 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21313 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21314 PyObject
*resultobj
;
21315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21316 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21318 PyObject
* obj0
= 0 ;
21319 PyObject
* obj1
= 0 ;
21321 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21342 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21343 PyObject
*resultobj
;
21344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21345 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21350 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21371 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21372 PyObject
*resultobj
;
21373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21374 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21379 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21400 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21401 PyObject
*resultobj
;
21402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21403 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21408 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21429 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21430 PyObject
*resultobj
;
21431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21432 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21437 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21458 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21459 PyObject
*resultobj
;
21460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21461 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21466 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21487 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
;
21489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21490 wxString
*arg2
= 0 ;
21492 bool temp2
= false ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "date", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21503 arg2
= wxString_in_helper(obj1
);
21504 if (arg2
== NULL
) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_From_int((int)result
);
21529 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21532 wxString
*arg2
= 0 ;
21533 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21535 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21536 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21538 bool temp2
= false ;
21539 bool temp3
= false ;
21540 PyObject
* obj0
= 0 ;
21541 PyObject
* obj1
= 0 ;
21542 PyObject
* obj2
= 0 ;
21543 PyObject
* obj3
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 arg2
= wxString_in_helper(obj1
);
21553 if (arg2
== NULL
) SWIG_fail
;
21558 arg3
= wxString_in_helper(obj2
);
21559 if (arg3
== NULL
) SWIG_fail
;
21564 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21567 if (arg4
== NULL
) {
21568 PyErr_SetString(PyExc_TypeError
,"null reference");
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_From_int((int)result
);
21602 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21605 wxString
*arg2
= 0 ;
21607 bool temp2
= false ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "datetime", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21618 arg2
= wxString_in_helper(obj1
);
21619 if (arg2
== NULL
) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_From_int((int)result
);
21644 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21647 wxString
*arg2
= 0 ;
21649 bool temp2
= false ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self",(char *) "date", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 arg2
= wxString_in_helper(obj1
);
21661 if (arg2
== NULL
) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= SWIG_From_int((int)result
);
21686 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21689 wxString
*arg2
= 0 ;
21691 bool temp2
= false ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "time", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 arg2
= wxString_in_helper(obj1
);
21703 if (arg2
== NULL
) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_From_int((int)result
);
21728 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21731 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21732 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21733 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21734 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21736 bool temp2
= false ;
21737 bool temp3
= false ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self",(char *) "format",(char *) "tz", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21750 arg2
= wxString_in_helper(obj1
);
21751 if (arg2
== NULL
) SWIG_fail
;
21757 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21780 if (temp3
) delete arg3
;
21789 if (temp3
) delete arg3
;
21795 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21827 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21859 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21891 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21923 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21926 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21928 return Py_BuildValue((char *)"");
21930 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "sec", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21940 arg1
= (long)SWIG_As_long(obj0
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= wxTimeSpan::Seconds(arg1
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 wxTimeSpan
* resultptr
;
21951 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21960 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21963 char *kwnames
[] = {
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= wxTimeSpan::Second();
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 wxTimeSpan
* resultptr
;
21977 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21986 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21990 PyObject
* obj0
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "min", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21996 arg1
= (long)SWIG_As_long(obj0
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= wxTimeSpan::Minutes(arg1
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 wxTimeSpan
* resultptr
;
22007 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22016 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22019 char *kwnames
[] = {
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= wxTimeSpan::Minute();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 wxTimeSpan
* resultptr
;
22033 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22042 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22046 PyObject
* obj0
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "hours", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
22052 arg1
= (long)SWIG_As_long(obj0
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= wxTimeSpan::Hours(arg1
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 wxTimeSpan
* resultptr
;
22063 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22072 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22075 char *kwnames
[] = {
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= wxTimeSpan::Hour();
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22088 wxTimeSpan
* resultptr
;
22089 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22098 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
;
22102 PyObject
* obj0
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "days", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22108 arg1
= (long)SWIG_As_long(obj0
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= wxTimeSpan::Days(arg1
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 wxTimeSpan
* resultptr
;
22119 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22128 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22131 char *kwnames
[] = {
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= wxTimeSpan::Day();
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 wxTimeSpan
* resultptr
;
22145 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22154 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22158 PyObject
* obj0
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "days", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22164 arg1
= (long)SWIG_As_long(obj0
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= wxTimeSpan::Weeks(arg1
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22174 wxTimeSpan
* resultptr
;
22175 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22184 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22187 char *kwnames
[] = {
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= wxTimeSpan::Week();
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22200 wxTimeSpan
* resultptr
;
22201 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22210 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 long arg1
= (long) 0 ;
22213 long arg2
= (long) 0 ;
22214 long arg3
= (long) 0 ;
22215 long arg4
= (long) 0 ;
22216 wxTimeSpan
*result
;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 PyObject
* obj2
= 0 ;
22220 PyObject
* obj3
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22227 arg1
= (long)SWIG_As_long(obj0
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 arg2
= (long)SWIG_As_long(obj1
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 arg3
= (long)SWIG_As_long(obj2
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 arg4
= (long)SWIG_As_long(obj3
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22256 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 Py_INCREF(Py_None
); resultobj
= Py_None
;
22281 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22284 wxTimeSpan
*arg2
= 0 ;
22285 wxTimeSpan
*result
;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "diff", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22298 if (arg2
== NULL
) {
22299 PyErr_SetString(PyExc_TypeError
,"null reference");
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22306 result
= (wxTimeSpan
*) &_result_ref
;
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22319 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22322 wxTimeSpan
*arg2
= 0 ;
22323 wxTimeSpan
*result
;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self",(char *) "diff", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22336 if (arg2
== NULL
) {
22337 PyErr_SetString(PyExc_TypeError
,"null reference");
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22344 result
= (wxTimeSpan
*) &_result_ref
;
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22357 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22361 wxTimeSpan
*result
;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self",(char *) "n", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 arg2
= (int)SWIG_As_int(obj1
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22377 result
= (wxTimeSpan
*) &_result_ref
;
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22390 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22393 wxTimeSpan
*result
;
22394 PyObject
* obj0
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22406 result
= (wxTimeSpan
*) &_result_ref
;
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22419 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 wxTimeSpan
* resultptr
;
22440 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22449 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22452 wxTimeSpan
*arg2
= 0 ;
22453 wxTimeSpan
*result
;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self",(char *) "diff", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22462 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22466 if (arg2
== NULL
) {
22467 PyErr_SetString(PyExc_TypeError
,"null reference");
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22474 result
= (wxTimeSpan
*) &_result_ref
;
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22487 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22490 wxTimeSpan
*arg2
= 0 ;
22491 wxTimeSpan
*result
;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "diff", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22500 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22504 if (arg2
== NULL
) {
22505 PyErr_SetString(PyExc_TypeError
,"null reference");
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22512 result
= (wxTimeSpan
*) &_result_ref
;
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22525 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22529 wxTimeSpan
*result
;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "n", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22538 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22539 arg2
= (int)SWIG_As_int(obj1
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22545 result
= (wxTimeSpan
*) &_result_ref
;
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22558 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22561 wxTimeSpan
*result
;
22562 PyObject
* obj0
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22574 result
= (wxTimeSpan
*) &_result_ref
;
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22587 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22590 wxTimeSpan
*arg2
= 0 ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "other", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22604 if (arg2
== NULL
) {
22605 PyErr_SetString(PyExc_TypeError
,"null reference");
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 wxTimeSpan
* resultptr
;
22617 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22626 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22629 wxTimeSpan
*arg2
= 0 ;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "other", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22643 if (arg2
== NULL
) {
22644 PyErr_SetString(PyExc_TypeError
,"null reference");
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 wxTimeSpan
* resultptr
;
22656 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22665 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "n", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22679 arg2
= (int)SWIG_As_int(obj1
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= wxTimeSpan___mul__(arg1
,arg2
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 wxTimeSpan
* resultptr
;
22690 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22699 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self",(char *) "n", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 arg2
= (int)SWIG_As_int(obj1
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 wxTimeSpan
* resultptr
;
22724 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22733 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22736 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "other", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22765 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22768 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 PyObject
* obj1
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self",(char *) "other", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22797 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22800 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "other", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22829 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22832 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "other", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22861 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22864 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "other", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22893 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22896 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self",(char *) "other", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22925 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22953 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22981 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23009 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23012 wxTimeSpan
*arg2
= 0 ;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self",(char *) "ts", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23026 if (arg2
== NULL
) {
23027 PyErr_SetString(PyExc_TypeError
,"null reference");
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23046 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23049 wxTimeSpan
*arg2
= 0 ;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self",(char *) "ts", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23063 if (arg2
== NULL
) {
23064 PyErr_SetString(PyExc_TypeError
,"null reference");
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23083 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23086 wxTimeSpan
*arg2
= 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "t", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23100 if (arg2
== NULL
) {
23101 PyErr_SetString(PyExc_TypeError
,"null reference");
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23120 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_From_int((int)result
);
23146 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_From_int((int)result
);
23172 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= SWIG_From_int((int)result
);
23198 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23200 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23202 PyObject
* obj0
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 resultobj
= SWIG_From_int((int)result
);
23224 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23244 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23245 hi
= PyLong_FromLong( (&result
)->GetHi() );
23246 lo
= PyLong_FromLong( (&result
)->GetLo() );
23247 shifter
= PyLong_FromLong(32);
23248 shifted
= PyNumber_Lshift(hi
, shifter
);
23249 resultobj
= PyNumber_Or(shifted
, lo
);
23252 Py_DECREF(shifter
);
23253 Py_DECREF(shifted
);
23261 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23282 hi
= PyLong_FromLong( (&result
)->GetHi() );
23283 lo
= PyLong_FromLong( (&result
)->GetLo() );
23284 shifter
= PyLong_FromLong(32);
23285 shifted
= PyNumber_Lshift(hi
, shifter
);
23286 resultobj
= PyNumber_Or(shifted
, lo
);
23289 Py_DECREF(shifter
);
23290 Py_DECREF(shifted
);
23298 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23301 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23302 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23304 bool temp2
= false ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "format", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 arg2
= wxString_in_helper(obj1
);
23317 if (arg2
== NULL
) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23349 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23352 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23354 return Py_BuildValue((char *)"");
23356 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 int arg1
= (int) 0 ;
23359 int arg2
= (int) 0 ;
23360 int arg3
= (int) 0 ;
23361 int arg4
= (int) 0 ;
23362 wxDateSpan
*result
;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 PyObject
* obj2
= 0 ;
23366 PyObject
* obj3
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23373 arg1
= (int)SWIG_As_int(obj0
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 arg2
= (int)SWIG_As_int(obj1
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 arg3
= (int)SWIG_As_int(obj2
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 arg4
= (int)SWIG_As_int(obj3
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23402 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "days", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23437 arg1
= (int)SWIG_As_int(obj0
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= wxDateSpan::Days(arg1
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23447 wxDateSpan
* resultptr
;
23448 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23457 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23460 char *kwnames
[] = {
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= wxDateSpan::Day();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 wxDateSpan
* resultptr
;
23474 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23483 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23487 PyObject
* obj0
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "weeks", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23493 arg1
= (int)SWIG_As_int(obj0
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= wxDateSpan::Weeks(arg1
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 wxDateSpan
* resultptr
;
23504 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23513 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23516 char *kwnames
[] = {
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= wxDateSpan::Week();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23529 wxDateSpan
* resultptr
;
23530 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23539 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "mon", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23549 arg1
= (int)SWIG_As_int(obj0
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= wxDateSpan::Months(arg1
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 wxDateSpan
* resultptr
;
23560 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23569 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23572 char *kwnames
[] = {
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= wxDateSpan::Month();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23585 wxDateSpan
* resultptr
;
23586 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23595 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23599 PyObject
* obj0
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "years", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23605 arg1
= (int)SWIG_As_int(obj0
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= wxDateSpan::Years(arg1
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 wxDateSpan
* resultptr
;
23616 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23625 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23628 char *kwnames
[] = {
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= wxDateSpan::Year();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 wxDateSpan
* resultptr
;
23642 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23651 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23655 wxDateSpan
*result
;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self",(char *) "n", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 arg2
= (int)SWIG_As_int(obj1
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23671 result
= (wxDateSpan
*) &_result_ref
;
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23684 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23688 wxDateSpan
*result
;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self",(char *) "n", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 arg2
= (int)SWIG_As_int(obj1
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23704 result
= (wxDateSpan
*) &_result_ref
;
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23717 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23721 wxDateSpan
*result
;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "n", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 arg2
= (int)SWIG_As_int(obj1
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23737 result
= (wxDateSpan
*) &_result_ref
;
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23750 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23754 wxDateSpan
*result
;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self",(char *) "n", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 arg2
= (int)SWIG_As_int(obj1
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23770 result
= (wxDateSpan
*) &_result_ref
;
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23783 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_From_int((int)result
);
23809 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_From_int((int)result
);
23835 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_From_int((int)result
);
23861 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23865 PyObject
* obj0
= 0 ;
23866 char *kwnames
[] = {
23867 (char *) "self", NULL
23870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_From_int((int)result
);
23887 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
;
23889 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= SWIG_From_int((int)result
);
23913 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23916 wxDateSpan
*arg2
= 0 ;
23917 wxDateSpan
*result
;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "other", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23930 if (arg2
== NULL
) {
23931 PyErr_SetString(PyExc_TypeError
,"null reference");
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23938 result
= (wxDateSpan
*) &_result_ref
;
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23951 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23954 wxDateSpan
*arg2
= 0 ;
23955 wxDateSpan
*result
;
23956 PyObject
* obj0
= 0 ;
23957 PyObject
* obj1
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self",(char *) "other", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23968 if (arg2
== NULL
) {
23969 PyErr_SetString(PyExc_TypeError
,"null reference");
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23976 result
= (wxDateSpan
*) &_result_ref
;
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23989 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23992 wxDateSpan
*result
;
23993 PyObject
* obj0
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 wxDateSpan
&_result_ref
= (arg1
)->Neg();
24005 result
= (wxDateSpan
*) &_result_ref
;
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24018 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24022 wxDateSpan
*result
;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "factor", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (int)SWIG_As_int(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24038 result
= (wxDateSpan
*) &_result_ref
;
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24051 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24054 wxDateSpan
*arg2
= 0 ;
24055 wxDateSpan
*result
;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self",(char *) "other", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24064 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24068 if (arg2
== NULL
) {
24069 PyErr_SetString(PyExc_TypeError
,"null reference");
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24076 result
= (wxDateSpan
*) &_result_ref
;
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24089 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24092 wxDateSpan
*arg2
= 0 ;
24093 wxDateSpan
*result
;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "other", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24102 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24106 if (arg2
== NULL
) {
24107 PyErr_SetString(PyExc_TypeError
,"null reference");
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24114 result
= (wxDateSpan
*) &_result_ref
;
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24127 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24130 wxDateSpan
*result
;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24143 result
= (wxDateSpan
*) &_result_ref
;
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24156 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24160 wxDateSpan
*result
;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "factor", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24169 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24170 arg2
= (int)SWIG_As_int(obj1
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24176 result
= (wxDateSpan
*) &_result_ref
;
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24189 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24192 wxDateSpan
*arg2
= 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "other", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24206 if (arg2
== NULL
) {
24207 PyErr_SetString(PyExc_TypeError
,"null reference");
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 wxDateSpan
* resultptr
;
24219 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24228 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24231 wxDateSpan
*arg2
= 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self",(char *) "other", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24245 if (arg2
== NULL
) {
24246 PyErr_SetString(PyExc_TypeError
,"null reference");
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24257 wxDateSpan
* resultptr
;
24258 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24267 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "n", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24281 arg2
= (int)SWIG_As_int(obj1
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= wxDateSpan___mul__(arg1
,arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24291 wxDateSpan
* resultptr
;
24292 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24301 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self",(char *) "n", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 arg2
= (int)SWIG_As_int(obj1
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= wxDateSpan___rmul__(arg1
,arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 wxDateSpan
* resultptr
;
24326 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24335 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24338 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self",(char *) "other", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24367 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24370 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 char *kwnames
[] = {
24375 (char *) "self",(char *) "other", NULL
24378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24399 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24402 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24404 return Py_BuildValue((char *)"");
24406 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24409 char *kwnames
[] = {
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (long)wxGetLocalTime();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_From_long((long)result
);
24428 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24431 char *kwnames
[] = {
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (long)wxGetUTCTime();
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= SWIG_From_long((long)result
);
24450 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24453 char *kwnames
[] = {
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= (long)wxGetCurrentTime();
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_From_long((long)result
);
24472 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24475 char *kwnames
[] = {
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 result
= wxGetLocalTimeMillis();
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24488 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24489 hi
= PyLong_FromLong( (&result
)->GetHi() );
24490 lo
= PyLong_FromLong( (&result
)->GetLo() );
24491 shifter
= PyLong_FromLong(32);
24492 shifted
= PyNumber_Lshift(hi
, shifter
);
24493 resultobj
= PyNumber_Or(shifted
, lo
);
24496 Py_DECREF(shifter
);
24497 Py_DECREF(shifted
);
24505 static int _wrap_DefaultDateTime_set(PyObject
*) {
24506 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24511 static PyObject
*_wrap_DefaultDateTime_get() {
24514 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24519 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24522 wxDataFormat
*result
;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "type", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24529 arg1
= (int)SWIG_As_int(obj0
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24545 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxString
*arg1
= 0 ;
24548 wxDataFormat
*result
;
24549 bool temp1
= false ;
24550 PyObject
* obj0
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "format", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24557 arg1
= wxString_in_helper(obj0
);
24558 if (arg1
== NULL
) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24583 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 Py_INCREF(Py_None
); resultobj
= Py_None
;
24608 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24609 PyObject
*resultobj
;
24610 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24616 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 arg2
= (int)SWIG_As_int(obj1
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24637 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24638 PyObject
*resultobj
;
24639 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24645 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 arg2
= (int)SWIG_As_int(obj1
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24666 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24667 PyObject
*resultobj
;
24668 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24669 wxDataFormat
*arg2
= 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24674 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24680 if (arg2
== NULL
) {
24681 PyErr_SetString(PyExc_TypeError
,"null reference");
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24700 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24705 argc
= PyObject_Length(args
);
24706 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24707 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24713 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24723 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24731 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24747 _v
= SWIG_Check_int(argv
[1]);
24749 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24754 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24759 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24760 PyObject
*resultobj
;
24761 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24762 wxDataFormat
*arg2
= 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24767 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24773 if (arg2
== NULL
) {
24774 PyErr_SetString(PyExc_TypeError
,"null reference");
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24793 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24798 argc
= PyObject_Length(args
);
24799 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24800 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24806 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24816 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24824 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24832 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24840 _v
= SWIG_Check_int(argv
[1]);
24842 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24847 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24852 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "format", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24865 arg2
= (int)SWIG_As_int(obj1
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->SetType((wxDataFormatId
)arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_From_int((int)result
);
24907 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= ((wxDataFormat
const *)arg1
)->GetId();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24939 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24942 wxString
*arg2
= 0 ;
24943 bool temp2
= false ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "format", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 arg2
= wxString_in_helper(obj1
);
24955 if (arg2
== NULL
) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->SetId((wxString
const &)*arg2
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24980 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24983 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24985 return Py_BuildValue((char *)"");
24987 static int _wrap_FormatInvalid_set(PyObject
*) {
24988 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24993 static PyObject
*_wrap_FormatInvalid_get() {
24996 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
25001 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25004 PyObject
* obj0
= 0 ;
25005 char *kwnames
[] = {
25006 (char *) "self", NULL
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
25010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 Py_INCREF(Py_None
); resultobj
= Py_None
;
25026 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25029 int arg2
= (int) wxDataObject::Get
;
25030 SwigValueWrapper
< wxDataFormat
> result
;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self",(char *) "dir", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 arg2
= (int)SWIG_As_int(obj1
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25052 wxDataFormat
* resultptr
;
25053 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
25054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
25062 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25065 int arg2
= (int) wxDataObject::Get
;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self",(char *) "dir", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 arg2
= (int)SWIG_As_int(obj1
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25094 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25097 wxDataFormat
*arg2
= 0 ;
25098 int arg3
= (int) wxDataObject::Get
;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 PyObject
* obj2
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self",(char *) "format",(char *) "dir", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25113 if (arg2
== NULL
) {
25114 PyErr_SetString(PyExc_TypeError
,"null reference");
25118 arg3
= (int)SWIG_As_int(obj2
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25137 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25140 wxDataFormat
*arg2
= 0 ;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj1
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self",(char *) "format", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25154 if (arg2
== NULL
) {
25155 PyErr_SetString(PyExc_TypeError
,"null reference");
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25172 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25175 int arg2
= (int) wxDataObject::Get
;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "dir", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 arg2
= (int)SWIG_As_int(obj1
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= result
;
25204 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25207 wxDataFormat
*arg2
= 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self",(char *) "format", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25221 if (arg2
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference");
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= result
;
25239 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25242 wxDataFormat
*arg2
= 0 ;
25243 PyObject
*arg3
= (PyObject
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 PyObject
* obj2
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self",(char *) "format",(char *) "data", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25258 if (arg2
== NULL
) {
25259 PyErr_SetString(PyExc_TypeError
,"null reference");
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25279 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25282 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25284 return Py_BuildValue((char *)"");
25286 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25289 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25290 wxDataObjectSimple
*result
;
25291 PyObject
* obj0
= 0 ;
25292 char *kwnames
[] = {
25293 (char *) "format", NULL
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25301 if (arg1
== NULL
) {
25302 PyErr_SetString(PyExc_TypeError
,"null reference");
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25320 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25323 wxDataFormat
*result
;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25336 result
= (wxDataFormat
*) &_result_ref
;
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25349 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25352 wxDataFormat
*arg2
= 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self",(char *) "format", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25365 if (arg2
== NULL
) {
25366 PyErr_SetString(PyExc_TypeError
,"null reference");
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25409 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= result
;
25435 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25438 PyObject
*arg2
= (PyObject
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "data", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25466 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25469 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25471 return Py_BuildValue((char *)"");
25473 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
;
25475 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25476 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25477 wxPyDataObjectSimple
*result
;
25478 PyObject
* obj0
= 0 ;
25479 char *kwnames
[] = {
25480 (char *) "format", NULL
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25488 if (arg1
== NULL
) {
25489 PyErr_SetString(PyExc_TypeError
,"null reference");
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25507 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25510 PyObject
*arg2
= (PyObject
*) 0 ;
25511 PyObject
*arg3
= (PyObject
*) 0 ;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 PyObject
* obj2
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "self",(char *) "self",(char *) "_class", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 Py_INCREF(Py_None
); resultobj
= Py_None
;
25538 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25541 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25543 return Py_BuildValue((char *)"");
25545 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxDataObjectComposite
*result
;
25548 char *kwnames
[] = {
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25567 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25570 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25571 bool arg3
= (bool) false ;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 PyObject
* obj2
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25583 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25585 arg3
= (bool)SWIG_As_bool(obj2
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 (arg1
)->Add(arg2
,arg3
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 Py_INCREF(Py_None
); resultobj
= Py_None
;
25602 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25605 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25607 return Py_BuildValue((char *)"");
25609 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25612 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25613 wxTextDataObject
*result
;
25614 bool temp1
= false ;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "text", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25623 arg1
= wxString_in_helper(obj0
);
25624 if (arg1
== NULL
) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25650 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (size_t)(arg1
)->GetTextLength();
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25676 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25680 PyObject
* obj0
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (arg1
)->GetText();
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25708 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25711 wxString
*arg2
= 0 ;
25712 bool temp2
= false ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "text", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 arg2
= wxString_in_helper(obj1
);
25724 if (arg2
== NULL
) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 (arg1
)->SetText((wxString
const &)*arg2
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 Py_INCREF(Py_None
); resultobj
= Py_None
;
25749 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25752 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25754 return Py_BuildValue((char *)"");
25756 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25758 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25759 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25760 wxPyTextDataObject
*result
;
25761 bool temp1
= false ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "text", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25770 arg1
= wxString_in_helper(obj0
);
25771 if (arg1
== NULL
) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25797 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25800 PyObject
*arg2
= (PyObject
*) 0 ;
25801 PyObject
*arg3
= (PyObject
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 PyObject
* obj2
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "self",(char *) "_class", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25831 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25833 return Py_BuildValue((char *)"");
25835 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25838 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25839 wxBitmapDataObject
*result
;
25840 PyObject
* obj0
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "bitmap", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25850 if (arg1
== NULL
) {
25851 PyErr_SetString(PyExc_TypeError
,"null reference");
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25869 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25873 PyObject
* obj0
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25889 wxBitmap
* resultptr
;
25890 resultptr
= new wxBitmap((wxBitmap
&) result
);
25891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25899 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25902 wxBitmap
*arg2
= 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "bitmap", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25915 if (arg2
== NULL
) {
25916 PyErr_SetString(PyExc_TypeError
,"null reference");
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 Py_INCREF(Py_None
); resultobj
= Py_None
;
25933 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25936 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25938 return Py_BuildValue((char *)"");
25940 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25943 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25944 wxPyBitmapDataObject
*result
;
25945 PyObject
* obj0
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "bitmap", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25955 if (arg1
== NULL
) {
25956 PyErr_SetString(PyExc_TypeError
,"null reference");
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25974 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25977 PyObject
*arg2
= (PyObject
*) 0 ;
25978 PyObject
*arg3
= (PyObject
*) 0 ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 PyObject
* obj2
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self",(char *) "self",(char *) "_class", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25998 Py_INCREF(Py_None
); resultobj
= Py_None
;
26005 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
26007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26008 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
26010 return Py_BuildValue((char *)"");
26012 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxFileDataObject
*result
;
26015 char *kwnames
[] = {
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (wxFileDataObject
*)new wxFileDataObject();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
26034 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
;
26036 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26037 wxArrayString
*result
;
26038 PyObject
* obj0
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
26044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
26050 result
= (wxArrayString
*) &_result_ref
;
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= wxArrayString2PyList_helper(*result
);
26065 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26068 wxString
*arg2
= 0 ;
26069 bool temp2
= false ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "filename", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26080 arg2
= wxString_in_helper(obj1
);
26081 if (arg2
== NULL
) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 (arg1
)->AddFile((wxString
const &)*arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 Py_INCREF(Py_None
); resultobj
= Py_None
;
26106 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26109 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26111 return Py_BuildValue((char *)"");
26113 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26116 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26117 wxCustomDataObject
*result
;
26118 PyObject
* obj0
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "format", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26128 if (arg1
== NULL
) {
26129 PyErr_SetString(PyExc_TypeError
,"null reference");
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26147 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26150 PyObject
*arg2
= (PyObject
*) 0 ;
26152 PyObject
* obj0
= 0 ;
26153 PyObject
* obj1
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self",(char *) "data", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26178 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26182 PyObject
* obj0
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= (size_t)(arg1
)->GetSize();
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26204 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26205 PyObject
*resultobj
;
26206 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= result
;
26230 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26233 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26235 return Py_BuildValue((char *)"");
26237 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxURLDataObject
*result
;
26240 char *kwnames
[] = {
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= (wxURLDataObject
*)new wxURLDataObject();
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26259 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26260 PyObject
*resultobj
;
26261 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 char *kwnames
[] = {
26265 (char *) "self", NULL
26268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 result
= (arg1
)->GetURL();
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26291 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26294 wxString
*arg2
= 0 ;
26295 bool temp2
= false ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "url", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26306 arg2
= wxString_in_helper(obj1
);
26307 if (arg2
== NULL
) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 (arg1
)->SetURL((wxString
const &)*arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 Py_INCREF(Py_None
); resultobj
= Py_None
;
26332 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26335 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26337 return Py_BuildValue((char *)"");
26339 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxMetafileDataObject
*result
;
26342 char *kwnames
[] = {
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26361 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26364 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26366 return Py_BuildValue((char *)"");
26368 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26372 PyObject
* obj0
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "res", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26378 arg1
= (int)SWIG_As_int(obj0
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26396 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 wxIcon
const &arg2_defvalue
= wxNullIcon
;
26400 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
26401 wxIcon
const &arg3_defvalue
= wxNullIcon
;
26402 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
26403 wxIcon
const &arg4_defvalue
= wxNullIcon
;
26404 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
26405 wxPyDropSource
*result
;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 PyObject
* obj2
= 0 ;
26409 PyObject
* obj3
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26421 if (arg2
== NULL
) {
26422 PyErr_SetString(PyExc_TypeError
,"null reference");
26427 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26430 if (arg3
== NULL
) {
26431 PyErr_SetString(PyExc_TypeError
,"null reference");
26436 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26439 if (arg4
== NULL
) {
26440 PyErr_SetString(PyExc_TypeError
,"null reference");
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26458 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
;
26460 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26461 PyObject
*arg2
= (PyObject
*) 0 ;
26462 PyObject
*arg3
= (PyObject
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 PyObject
* obj2
= 0 ;
26467 PyObject
* obj3
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26477 arg4
= (int)SWIG_As_int(obj3
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 Py_INCREF(Py_None
); resultobj
= Py_None
;
26493 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26518 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26521 wxDataObject
*arg2
= 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "data", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26534 if (arg2
== NULL
) {
26535 PyErr_SetString(PyExc_TypeError
,"null reference");
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 (arg1
)->SetData(*arg2
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26555 wxDataObject
*result
;
26556 PyObject
* obj0
= 0 ;
26557 char *kwnames
[] = {
26558 (char *) "self", NULL
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26578 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26582 wxCursor
*arg3
= 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 PyObject
* obj2
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self",(char *) "res",(char *) "cursor", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26593 arg2
= (int)SWIG_As_int(obj1
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26595 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26598 if (arg3
== NULL
) {
26599 PyErr_SetString(PyExc_TypeError
,"null reference");
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 Py_INCREF(Py_None
); resultobj
= Py_None
;
26616 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26619 int arg2
= (int) wxDrag_CopyOnly
;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self",(char *) "flags", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26631 arg2
= (int)SWIG_As_int(obj1
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (int)(arg1
)->DoDragDrop(arg2
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_From_int((int)result
);
26648 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
;
26650 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "effect", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26662 arg2
= (int)SWIG_As_int(obj1
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26680 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26683 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26685 return Py_BuildValue((char *)"");
26687 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26690 wxPyDropTarget
*result
;
26691 PyObject
* obj0
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "dataObject", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26699 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26715 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26718 PyObject
*arg2
= (PyObject
*) 0 ;
26719 PyObject
*arg3
= (PyObject
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 PyObject
* obj2
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "self",(char *) "_class", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 Py_INCREF(Py_None
); resultobj
= Py_None
;
26746 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26749 PyObject
* obj0
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "self", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 Py_INCREF(Py_None
); resultobj
= Py_None
;
26771 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26774 wxDataObject
*result
;
26775 PyObject
* obj0
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26797 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
;
26799 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26800 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 char *kwnames
[] = {
26804 (char *) "self",(char *) "dataObject", NULL
26807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26811 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->SetDataObject(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 Py_INCREF(Py_None
); resultobj
= Py_None
;
26826 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 PyObject
* obj2
= 0 ;
26836 PyObject
* obj3
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 arg2
= (int)SWIG_As_int(obj1
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26846 arg3
= (int)SWIG_As_int(obj2
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26848 arg4
= (int)SWIG_As_int(obj3
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_From_int((int)result
);
26864 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 PyObject
* obj3
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 arg2
= (int)SWIG_As_int(obj1
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26884 arg3
= (int)SWIG_As_int(obj2
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26886 arg4
= (int)SWIG_As_int(obj3
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_From_int((int)result
);
26902 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->base_OnLeave();
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 Py_INCREF(Py_None
); resultobj
= Py_None
;
26927 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 PyObject
* obj2
= 0 ;
26936 char *kwnames
[] = {
26937 (char *) "self",(char *) "x",(char *) "y", NULL
26940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 arg2
= (int)SWIG_As_int(obj1
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26945 arg3
= (int)SWIG_As_int(obj2
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26963 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
;
26965 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26967 PyObject
* obj0
= 0 ;
26968 char *kwnames
[] = {
26969 (char *) "self", NULL
26972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 result
= (bool)(arg1
)->GetData();
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26991 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26994 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26996 return Py_BuildValue((char *)"");
26998 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxPyTextDropTarget
*result
;
27001 char *kwnames
[] = {
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
27020 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27023 PyObject
*arg2
= (PyObject
*) 0 ;
27024 PyObject
*arg3
= (PyObject
*) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 PyObject
* obj2
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self",(char *) "self",(char *) "_class", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 Py_INCREF(Py_None
); resultobj
= Py_None
;
27051 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 PyObject
* obj2
= 0 ;
27061 PyObject
* obj3
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 arg2
= (int)SWIG_As_int(obj1
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27071 arg3
= (int)SWIG_As_int(obj2
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27073 arg4
= (int)SWIG_As_int(obj3
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= SWIG_From_int((int)result
);
27089 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 PyObject
* obj2
= 0 ;
27099 PyObject
* obj3
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 arg2
= (int)SWIG_As_int(obj1
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27109 arg3
= (int)SWIG_As_int(obj2
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27111 arg4
= (int)SWIG_As_int(obj3
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_From_int((int)result
);
27127 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27130 PyObject
* obj0
= 0 ;
27131 char *kwnames
[] = {
27132 (char *) "self", NULL
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 (arg1
)->base_OnLeave();
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 Py_INCREF(Py_None
); resultobj
= Py_None
;
27152 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 PyObject
* obj2
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self",(char *) "x",(char *) "y", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27168 arg2
= (int)SWIG_As_int(obj1
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27170 arg3
= (int)SWIG_As_int(obj2
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27188 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 PyObject
* obj2
= 0 ;
27198 PyObject
* obj3
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 arg2
= (int)SWIG_As_int(obj1
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27208 arg3
= (int)SWIG_As_int(obj2
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27210 arg4
= (int)SWIG_As_int(obj3
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= SWIG_From_int((int)result
);
27226 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27229 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27231 return Py_BuildValue((char *)"");
27233 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxPyFileDropTarget
*result
;
27236 char *kwnames
[] = {
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27255 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27258 PyObject
*arg2
= (PyObject
*) 0 ;
27259 PyObject
*arg3
= (PyObject
*) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 PyObject
* obj2
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "self",(char *) "_class", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 PyObject
* obj2
= 0 ;
27296 PyObject
* obj3
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 arg2
= (int)SWIG_As_int(obj1
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27306 arg3
= (int)SWIG_As_int(obj2
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27308 arg4
= (int)SWIG_As_int(obj3
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_From_int((int)result
);
27324 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 PyObject
* obj2
= 0 ;
27334 PyObject
* obj3
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27342 arg2
= (int)SWIG_As_int(obj1
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27344 arg3
= (int)SWIG_As_int(obj2
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27346 arg4
= (int)SWIG_As_int(obj3
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= SWIG_From_int((int)result
);
27362 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 (arg1
)->base_OnLeave();
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 Py_INCREF(Py_None
); resultobj
= Py_None
;
27387 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "x",(char *) "y", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27403 arg2
= (int)SWIG_As_int(obj1
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27405 arg3
= (int)SWIG_As_int(obj2
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 PyObject
* obj2
= 0 ;
27433 PyObject
* obj3
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 arg2
= (int)SWIG_As_int(obj1
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27443 arg3
= (int)SWIG_As_int(obj2
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27445 arg4
= (int)SWIG_As_int(obj3
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_From_int((int)result
);
27461 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27464 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27466 return Py_BuildValue((char *)"");
27468 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxClipboard
*result
;
27471 char *kwnames
[] = {
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (wxClipboard
*)new wxClipboard();
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27490 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 Py_INCREF(Py_None
); resultobj
= Py_None
;
27515 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 result
= (bool)(arg1
)->Open();
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27543 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27572 PyObject
* obj0
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27584 wxPyEndAllowThreads(__tstate
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27596 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27599 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "data", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27611 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (bool)(arg1
)->AddData(arg2
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27628 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
;
27630 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27631 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self",(char *) "data", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27643 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (bool)(arg1
)->SetData(arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27660 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27663 wxDataFormat
*arg2
= 0 ;
27665 PyObject
* obj0
= 0 ;
27666 PyObject
* obj1
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "self",(char *) "format", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27677 if (arg2
== NULL
) {
27678 PyErr_SetString(PyExc_TypeError
,"null reference");
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27697 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27700 wxDataObject
*arg2
= 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "data", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27714 if (arg2
== NULL
) {
27715 PyErr_SetString(PyExc_TypeError
,"null reference");
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= (bool)(arg1
)->GetData(*arg2
);
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27734 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 Py_INCREF(Py_None
); resultobj
= Py_None
;
27759 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27763 PyObject
* obj0
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "self", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (bool)(arg1
)->Flush();
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27787 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27790 bool arg2
= (bool) true ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self",(char *) "primary", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27801 arg2
= (bool)SWIG_As_bool(obj1
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->UsePrimarySelection(arg2
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 Py_INCREF(Py_None
); resultobj
= Py_None
;
27818 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxClipboard
*result
;
27821 char *kwnames
[] = {
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 result
= (wxClipboard
*)wxClipboard::Get();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27840 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27843 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27845 return Py_BuildValue((char *)"");
27847 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27850 wxClipboardLocker
*result
;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "clipboard", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27875 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27928 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27931 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27933 return Py_BuildValue((char *)"");
27935 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 int arg1
= (int) 0 ;
27938 int arg2
= (int) 0 ;
27939 int arg3
= (int) 0 ;
27940 int arg4
= (int) 0 ;
27941 wxVideoMode
*result
;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 PyObject
* obj2
= 0 ;
27945 PyObject
* obj3
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27952 arg1
= (int)SWIG_As_int(obj0
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27956 arg2
= (int)SWIG_As_int(obj1
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27960 arg3
= (int)SWIG_As_int(obj2
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27964 arg4
= (int)SWIG_As_int(obj3
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27981 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 Py_INCREF(Py_None
); resultobj
= Py_None
;
28006 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28009 wxVideoMode
*arg2
= 0 ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "other", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
28018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28023 if (arg2
== NULL
) {
28024 PyErr_SetString(PyExc_TypeError
,"null reference");
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28043 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
;
28045 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_From_int((int)result
);
28069 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_From_int((int)result
);
28095 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= SWIG_From_int((int)result
);
28121 static PyObject
*_wrap_VideoMode_IsOk(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_IsOk",kwnames
,&obj0
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28149 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28152 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 PyObject
* obj1
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "other", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28181 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28184 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 PyObject
* obj1
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self",(char *) "other", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28213 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "self",(char *) "w", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28226 arg2
= (int)SWIG_As_int(obj1
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28228 if (arg1
) (arg1
)->w
= arg2
;
28230 Py_INCREF(Py_None
); resultobj
= Py_None
;
28237 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28241 PyObject
* obj0
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 result
= (int) ((arg1
)->w
);
28251 resultobj
= SWIG_From_int((int)result
);
28258 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self",(char *) "h", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28271 arg2
= (int)SWIG_As_int(obj1
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28273 if (arg1
) (arg1
)->h
= arg2
;
28275 Py_INCREF(Py_None
); resultobj
= Py_None
;
28282 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
;
28284 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 char *kwnames
[] = {
28288 (char *) "self", NULL
28291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28294 result
= (int) ((arg1
)->h
);
28296 resultobj
= SWIG_From_int((int)result
);
28303 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "bpp", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28316 arg2
= (int)SWIG_As_int(obj1
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28318 if (arg1
) (arg1
)->bpp
= arg2
;
28320 Py_INCREF(Py_None
); resultobj
= Py_None
;
28327 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28331 PyObject
* obj0
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 result
= (int) ((arg1
)->bpp
);
28341 resultobj
= SWIG_From_int((int)result
);
28348 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 PyObject
* obj1
= 0 ;
28354 char *kwnames
[] = {
28355 (char *) "self",(char *) "refresh", NULL
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28361 arg2
= (int)SWIG_As_int(obj1
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28363 if (arg1
) (arg1
)->refresh
= arg2
;
28365 Py_INCREF(Py_None
); resultobj
= Py_None
;
28372 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
;
28374 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28376 PyObject
* obj0
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 result
= (int) ((arg1
)->refresh
);
28386 resultobj
= SWIG_From_int((int)result
);
28393 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28396 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28398 return Py_BuildValue((char *)"");
28400 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28401 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28406 static PyObject
*_wrap_DefaultVideoMode_get() {
28409 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28414 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
;
28416 size_t arg1
= (size_t) 0 ;
28418 PyObject
* obj0
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "index", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28425 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (wxDisplay
*)new wxDisplay(arg1
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28442 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28445 PyObject
* obj0
= 0 ;
28446 char *kwnames
[] = {
28447 (char *) "self", NULL
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 Py_INCREF(Py_None
); resultobj
= Py_None
;
28467 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28470 char *kwnames
[] = {
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 result
= (size_t)wxDisplay::GetCount();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28489 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
;
28491 wxPoint
*arg1
= 0 ;
28494 PyObject
* obj0
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "pt", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28502 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28511 resultobj
= SWIG_From_int((int)result
);
28518 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxWindow
*arg1
= (wxWindow
*) 0 ;
28522 PyObject
* obj0
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "window", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 result
= (int)Display_GetFromWindow(arg1
);
28534 wxPyEndAllowThreads(__tstate
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= SWIG_From_int((int)result
);
28544 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28548 PyObject
* obj0
= 0 ;
28549 char *kwnames
[] = {
28550 (char *) "self", NULL
28553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28572 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 wxRect
* resultptr
;
28593 resultptr
= new wxRect((wxRect
&) result
);
28594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28602 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= ((wxDisplay
const *)arg1
)->GetName();
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28634 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28662 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28665 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28666 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28668 PyObject
* obj0
= 0 ;
28669 PyObject
* obj1
= 0 ;
28670 char *kwnames
[] = {
28671 (char *) "self",(char *) "mode", NULL
28674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28681 if (arg2
== NULL
) {
28682 PyErr_SetString(PyExc_TypeError
,"null reference");
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= result
;
28700 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28703 wxVideoMode result
;
28704 PyObject
* obj0
= 0 ;
28705 char *kwnames
[] = {
28706 (char *) "self", NULL
28709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28720 wxVideoMode
* resultptr
;
28721 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28730 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
;
28732 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28733 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28734 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self",(char *) "mode", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28749 if (arg2
== NULL
) {
28750 PyErr_SetString(PyExc_TypeError
,"null reference");
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28770 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 (arg1
)->ResetMode();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 Py_INCREF(Py_None
); resultobj
= Py_None
;
28795 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28798 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28800 return Py_BuildValue((char *)"");
28802 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxStandardPaths
*result
;
28805 char *kwnames
[] = {
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (wxStandardPaths
*)StandardPaths_Get();
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28824 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28828 PyObject
* obj0
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "self", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28856 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
;
28858 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28888 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
;
28890 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28892 PyObject
* obj0
= 0 ;
28893 char *kwnames
[] = {
28894 (char *) "self", NULL
28897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28920 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
;
28922 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28924 PyObject
* obj0
= 0 ;
28925 char *kwnames
[] = {
28926 (char *) "self", NULL
28929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28952 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28956 PyObject
* obj0
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28984 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
;
28986 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28988 PyObject
* obj0
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29016 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29020 PyObject
* obj0
= 0 ;
29021 char *kwnames
[] = {
29022 (char *) "self", NULL
29025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
29026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29048 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29051 wxString
*arg2
= 0 ;
29052 bool temp2
= false ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "self",(char *) "prefix", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
29060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29063 arg2
= wxString_in_helper(obj1
);
29064 if (arg2
== NULL
) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 Py_INCREF(Py_None
); resultobj
= Py_None
;
29089 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
;
29091 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29093 PyObject
* obj0
= 0 ;
29094 char *kwnames
[] = {
29095 (char *) "self", NULL
29098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29121 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29124 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29126 return Py_BuildValue((char *)"");
29128 static PyMethodDef SwigMethods
[] = {
29129 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29136 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29143 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29207 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29215 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29231 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29236 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29239 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29242 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29248 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29262 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29268 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29274 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29277 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29291 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29294 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29295 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29298 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29325 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29327 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29329 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29331 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29338 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29344 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29358 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29362 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29365 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29382 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29390 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29437 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29465 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29475 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29491 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29507 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29521 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29530 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29573 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29576 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29579 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29583 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29676 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29677 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29678 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29679 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29680 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29681 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29682 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29683 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29684 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29685 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29696 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29726 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29741 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29775 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29776 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29783 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29784 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29789 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29798 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29805 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29808 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29811 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29816 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29819 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29823 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29826 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29830 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29833 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29835 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29839 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29841 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29851 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29862 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29870 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29878 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29892 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29896 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29914 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29928 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29939 { NULL
, NULL
, 0, NULL
}
29943 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29945 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29946 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29948 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29949 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29951 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29952 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29954 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29955 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29957 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29958 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29960 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29961 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29963 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29964 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29966 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29967 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29969 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29972 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29973 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29975 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29978 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29979 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29981 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29982 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29984 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29987 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29988 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29990 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29991 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29993 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29994 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29996 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29997 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29999 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30000 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30002 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30003 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30005 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30006 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30008 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30009 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30011 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30014 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30015 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30017 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30018 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30020 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30021 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30023 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30024 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30026 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30027 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30029 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30030 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30032 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30035 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
30036 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
30038 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30039 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30041 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30042 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30044 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30047 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30050 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30051 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30053 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30054 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30056 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30057 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30059 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
30060 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
30062 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30063 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30065 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30066 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30068 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30069 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30071 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30072 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30074 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30075 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30077 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30078 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30080 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30081 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30083 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30084 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30086 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30087 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30089 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30090 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30092 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30093 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30095 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30096 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30098 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30099 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30101 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30102 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30104 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30105 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30107 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30108 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30110 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30111 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30113 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30114 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30116 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30117 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30119 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30120 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30122 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30123 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30125 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30126 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30128 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30129 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30131 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30132 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30134 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30135 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30137 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30140 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30141 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30143 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30144 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30146 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30147 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30149 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30150 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30152 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30153 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30155 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30156 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30158 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30159 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30161 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30162 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30164 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30165 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30167 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30168 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30170 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30171 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30173 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30176 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30177 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30179 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30180 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30182 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30183 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30185 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30186 return (void *)((wxObject
*) ((wxSizer
*) x
));
30188 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30189 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30191 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30192 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30194 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30197 static void *_p_wxEventTo_p_wxObject(void *x
) {
30198 return (void *)((wxObject
*) ((wxEvent
*) x
));
30200 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30201 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30203 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30204 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30206 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30207 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30209 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30210 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30212 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30213 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30215 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30216 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30218 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30219 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30221 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30222 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30224 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30225 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30227 static void *_p_wxControlTo_p_wxObject(void *x
) {
30228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30230 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30231 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30233 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30234 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30236 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30237 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30239 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30240 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30242 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30243 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30245 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30246 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30248 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30251 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30252 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30254 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30255 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30257 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30258 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30260 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30261 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30263 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30266 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30267 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30269 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30270 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30272 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30273 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30275 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30276 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30278 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30279 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30281 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30282 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30284 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30287 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30290 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30293 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30296 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30299 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30300 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30302 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30303 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30305 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30306 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30308 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30309 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30311 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30314 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30315 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30317 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30320 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30321 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30323 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30324 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30326 static void *_p_wxImageTo_p_wxObject(void *x
) {
30327 return (void *)((wxObject
*) ((wxImage
*) x
));
30329 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30330 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30332 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30333 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30335 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30336 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30338 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30339 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30341 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30342 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30344 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30345 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30347 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30348 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30350 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30351 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30353 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30356 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30357 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30359 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30360 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30362 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30365 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30366 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30368 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30369 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30371 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30372 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30374 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30375 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30377 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30378 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30380 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30381 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30383 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30386 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30387 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30389 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30390 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30392 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30393 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30395 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30398 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30399 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30401 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30404 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30407 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30408 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30410 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30411 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30413 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30414 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30416 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30417 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30419 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30420 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30422 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30423 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30425 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30426 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30428 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30429 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30431 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30432 return (void *)((wxWindow
*) ((wxControl
*) x
));
30434 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30435 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30437 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30438 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30440 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30441 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30443 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30444 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30446 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}};
30447 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}};
30448 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}};
30449 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}};
30450 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}};
30451 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}};
30452 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}};
30453 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}};
30454 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}};
30455 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}};
30456 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}};
30457 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}};
30458 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}};
30459 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}};
30460 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}};
30461 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}};
30462 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}};
30463 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}};
30464 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}};
30465 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}};
30466 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}};
30467 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}};
30468 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}};
30469 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}};
30470 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}};
30471 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}};
30472 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}};
30473 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}};
30474 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}};
30475 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}};
30476 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}};
30477 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}};
30478 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}};
30479 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}};
30480 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}};
30481 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}};
30482 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}};
30483 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}};
30484 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}};
30485 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}};
30486 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}};
30487 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}};
30488 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}};
30489 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}};
30490 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}};
30491 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}};
30492 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}};
30493 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}};
30494 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}};
30495 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}};
30496 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}};
30497 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}};
30498 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}};
30499 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}};
30500 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}};
30501 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}};
30502 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}};
30503 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}};
30504 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}};
30505 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}};
30506 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}};
30507 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}};
30508 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}};
30509 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}};
30510 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}};
30511 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}};
30512 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}};
30513 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}};
30514 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}};
30515 static swig_type_info _swigt__p_wxKillError
[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30516 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}};
30517 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}};
30518 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}};
30519 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}};
30520 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}};
30521 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}};
30522 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}};
30523 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}};
30524 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}};
30525 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}};
30526 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}};
30527 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}};
30528 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}};
30529 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}};
30530 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}};
30531 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}};
30532 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}};
30534 static swig_type_info
*swig_types_initial
[] = {
30535 _swigt__p_wxLogChain
,
30536 _swigt__p_wxMutexGuiLocker
,
30537 _swigt__p_wxFileHistory
,
30539 _swigt__p_wxDateTime__TimeZone
,
30542 _swigt__p_wxConfigBase
,
30543 _swigt__p_wxDisplay
,
30544 _swigt__p_wxFileType
,
30545 _swigt__p_wxLogGui
,
30547 _swigt__p_wxDataFormat
,
30548 _swigt__p_wxTimerEvent
,
30552 _swigt__p_wxClipboard
,
30553 _swigt__p_wxStopWatch
,
30555 _swigt__p_wxClipboardLocker
,
30557 _swigt__p_wxLogStderr
,
30558 _swigt__p_wxLogTextCtrl
,
30559 _swigt__p_wxTextCtrl
,
30560 _swigt__p_wxBusyCursor
,
30561 _swigt__p_wxPyTextDataObject
,
30562 _swigt__p_wxBitmapDataObject
,
30563 _swigt__p_wxTextDataObject
,
30564 _swigt__p_wxDataObject
,
30565 _swigt__p_wxPyBitmapDataObject
,
30566 _swigt__p_wxFileDataObject
,
30567 _swigt__p_wxCustomDataObject
,
30568 _swigt__p_wxURLDataObject
,
30569 _swigt__p_wxMetafileDataObject
,
30571 _swigt__p_wxTimerRunner
,
30572 _swigt__p_wxLogWindow
,
30573 _swigt__p_wxTimeSpan
,
30574 _swigt__p_wxArrayString
,
30575 _swigt__p_wxWindowDisabler
,
30576 _swigt__p_wxToolTip
,
30577 _swigt__p_wxDataObjectComposite
,
30578 _swigt__p_wxFileConfig
,
30579 _swigt__p_wxSystemSettings
,
30580 _swigt__p_wxVideoMode
,
30581 _swigt__p_wxPyDataObjectSimple
,
30582 _swigt__p_wxDataObjectSimple
,
30583 _swigt__p_wxEvtHandler
,
30586 _swigt__p_wxSingleInstanceChecker
,
30587 _swigt__p_wxStandardPaths
,
30588 _swigt__p_wxFileTypeInfo
,
30591 _swigt__p_wxMimeTypesManager
,
30592 _swigt__p_wxPyArtProvider
,
30593 _swigt__p_wxPyTipProvider
,
30594 _swigt__p_wxTipProvider
,
30595 _swigt__p_wxJoystick
,
30596 _swigt__p_wxSystemOptions
,
30598 _swigt__p_wxJoystickEvent
,
30599 _swigt__p_wxCursor
,
30600 _swigt__p_wxObject
,
30601 _swigt__p_wxOutputStream
,
30602 _swigt__p_wxDateTime
,
30603 _swigt__p_wxPyDropSource
,
30604 _swigt__p_wxKillError
,
30605 _swigt__p_wxWindow
,
30606 _swigt__p_wxString
,
30607 _swigt__p_wxPyProcess
,
30608 _swigt__p_wxBitmap
,
30609 _swigt__p_wxConfig
,
30611 _swigt__p_wxBusyInfo
,
30612 _swigt__p_wxPyDropTarget
,
30613 _swigt__p_wxPyTextDropTarget
,
30614 _swigt__p_wxPyFileDropTarget
,
30615 _swigt__p_wxProcessEvent
,
30617 _swigt__p_wxLogNull
,
30618 _swigt__p_wxColour
,
30619 _swigt__p_wxConfigPathChanger
,
30620 _swigt__p_wxPyTimer
,
30621 _swigt__p_wxDateSpan
,
30626 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30628 static swig_const_info swig_const_table
[] = {
30629 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30630 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30631 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30632 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30633 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30634 {0, 0, 0, 0.0, 0, 0}};
30643 SWIGEXPORT(void) SWIG_init(void) {
30644 static PyObject
*SWIG_globals
= 0;
30645 static int typeinit
= 0;
30648 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30649 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30650 d
= PyModule_GetDict(m
);
30653 for (i
= 0; swig_types_initial
[i
]; i
++) {
30654 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30658 SWIG_InstallConstants(d
,swig_const_table
);
30660 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30661 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30662 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30663 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30664 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30665 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30666 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30667 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30668 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30669 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30670 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30671 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30672 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30673 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30674 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30675 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30676 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30677 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30678 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30679 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30680 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30681 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30682 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30683 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30684 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30685 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30686 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30687 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30688 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30689 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30690 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30691 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30692 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30693 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30694 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30695 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30696 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30697 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30698 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30699 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30700 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30701 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30702 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30703 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30704 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30705 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30706 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30707 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30708 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30709 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30710 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30711 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30712 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30713 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30714 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30715 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30716 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30717 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30718 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30719 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30720 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30721 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30722 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30723 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30724 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30725 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30726 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30727 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30728 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30729 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30730 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30731 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30732 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30733 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30734 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30735 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30736 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30737 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30738 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30739 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30740 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30741 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30742 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30743 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30744 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30745 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30746 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30747 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30748 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30749 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30750 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30751 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30752 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30753 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30754 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30755 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30756 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30757 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30758 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30759 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30760 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30762 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30764 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30765 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30766 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30767 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30768 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30769 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30770 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30771 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30772 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30773 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30774 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30775 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30776 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30777 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30778 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30779 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30780 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30781 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30782 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30783 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30784 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30785 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30786 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30787 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30788 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30789 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30790 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30791 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30792 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)wxKILL_NOCHILDREN
));
30793 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)wxKILL_CHILDREN
));
30794 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30795 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30796 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30797 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30798 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30799 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30800 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30801 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30802 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30803 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30804 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30805 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30806 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30807 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30808 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30809 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30810 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30811 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30812 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30813 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30814 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30815 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30816 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)wxEXEC_NODISABLE
));
30818 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30820 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30821 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30822 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30823 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30824 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30825 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30826 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30827 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30828 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30829 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30830 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30831 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30832 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30833 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30834 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30835 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30836 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30837 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30838 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30839 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30876 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30885 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30887 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30888 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30889 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30890 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30891 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30892 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30893 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30894 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30895 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30896 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30897 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30898 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30899 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30900 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30901 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30902 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30903 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30904 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30905 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30906 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30907 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30908 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30909 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30910 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30911 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30912 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30913 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30914 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30915 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30916 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30917 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30918 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30919 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30920 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30921 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30922 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30923 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30924 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30925 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30926 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30927 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30928 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30929 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30930 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30931 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30932 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30933 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30934 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30935 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30936 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30937 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30938 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30939 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30940 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30941 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30942 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30943 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30944 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30945 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30946 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30947 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30948 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30949 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30950 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30951 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30952 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30953 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30954 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30955 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30956 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30957 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30958 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30959 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30960 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30961 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30962 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30963 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30964 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30965 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30966 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30967 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30968 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30969 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30970 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30971 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30972 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30973 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30974 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30975 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30976 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30977 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30978 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30979 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30980 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30981 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30982 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30983 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30984 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30985 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30986 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30987 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30988 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30989 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30990 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30991 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30992 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30993 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30994 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30995 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30996 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30997 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30998 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30999 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
31000 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
31001 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
31002 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
31003 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
31004 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
31005 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
31006 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
31007 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
31008 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
31009 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
31010 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
31011 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
31012 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
31013 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
31014 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
31015 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
31016 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
31017 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
31018 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
31019 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
31020 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
31021 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
31022 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
31023 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
31024 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
31025 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
31026 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
31027 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
31028 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
31029 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
31030 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
31031 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
31032 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
31033 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
31034 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
31035 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
31036 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
31037 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
31038 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
31039 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
31040 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
31041 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
31042 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
31043 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
31044 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
31045 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
31046 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
31047 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
31048 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
31049 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
31050 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
31051 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
31052 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
31053 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
31054 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
31055 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
31056 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
31057 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
31058 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
31059 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
31060 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
31061 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
31062 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
31063 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
31064 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
31065 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
31066 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
31067 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31068 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31069 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31070 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31071 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31072 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31073 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31074 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31075 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31076 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31077 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31078 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31079 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31080 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31081 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31082 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31083 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31084 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31085 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31086 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31088 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31089 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31090 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31091 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31093 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);