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 void wxPyTimer::Notify() {
760 bool blocked
= wxPyBeginBlockThreads();
761 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
762 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
763 wxPyEndBlockThreads(blocked
);
767 void wxPyTimer::base_Notify() {
773 SWIGSTATICINLINE(PyObject
*)
774 SWIG_FromCharPtr(const char* cptr
)
777 size_t size
= strlen(cptr
);
778 if (size
> INT_MAX
) {
779 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
780 SWIG_TypeQuery("char *"), 0);
783 return PyString_FromStringAndSize(cptr
, size
);
785 return PyString_FromString(cptr
);
794 SWIGSTATICINLINE(int)
795 SWIG_CheckUnsignedLongInRange(unsigned long value
,
796 unsigned long max_value
,
799 if (value
> max_value
) {
801 PyErr_Format(PyExc_OverflowError
,
802 "value %ld is greater than '%s' minimum %ld",
803 value
, errmsg
, max_value
);
811 #if UINT_MAX != ULONG_MAX
812 SWIGSTATICINLINE(int)
813 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
815 const char* errmsg
= val
? "unsigned int" : 0;
817 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
818 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
819 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
826 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
831 SWIGSTATICINLINE(unsigned int)
832 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
834 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
839 SWIGSTATICINLINE(unsigned int)
840 SWIG_As_unsigned_SS_int(PyObject
* obj
)
843 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
845 this is needed to make valgrind/purify happier. the other
846 solution is throw an exception, but since this code should work
849 memset((void*)&v
, 0, sizeof(unsigned int));
855 SWIGSTATICINLINE(int)
856 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
858 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
861 wxString
Log_TimeStamp(){
863 wxLog::TimeStamp(&msg
);
866 void wxLog_Destroy(wxLog
*self
){ delete self
; }
867 // Make somce wrappers that double any % signs so they are 'escaped'
868 void wxPyLogFatalError(const wxString
& msg
)
871 m
.Replace(wxT("%"), wxT("%%"));
875 void wxPyLogError(const wxString
& msg
)
878 m
.Replace(wxT("%"), wxT("%%"));
882 void wxPyLogWarning(const wxString
& msg
)
885 m
.Replace(wxT("%"), wxT("%%"));
889 void wxPyLogMessage(const wxString
& msg
)
892 m
.Replace(wxT("%"), wxT("%%"));
896 void wxPyLogInfo(const wxString
& msg
)
899 m
.Replace(wxT("%"), wxT("%%"));
903 void wxPyLogDebug(const wxString
& msg
)
906 m
.Replace(wxT("%"), wxT("%%"));
910 void wxPyLogVerbose(const wxString
& msg
)
913 m
.Replace(wxT("%"), wxT("%%"));
917 void wxPyLogStatus(const wxString
& msg
)
920 m
.Replace(wxT("%"), wxT("%%"));
924 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
927 m
.Replace(wxT("%"), wxT("%%"));
928 wxLogStatus(pFrame
, m
);
931 void wxPyLogSysError(const wxString
& msg
)
934 m
.Replace(wxT("%"), wxT("%%"));
938 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
941 m
.Replace(wxT("%"), wxT("%%"));
942 wxLogGeneric(level
, m
);
945 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
948 m
.Replace(wxT("%"), wxT("%%"));
952 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
955 m
.Replace(wxT("%"), wxT("%%"));
961 // A wxLog class that can be derived from in wxPython
962 class wxPyLog
: public wxLog
{
964 wxPyLog() : wxLog() {}
966 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
968 bool blocked
= wxPyBeginBlockThreads();
969 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
970 PyObject
* s
= wx2PyString(szString
);
971 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
974 wxPyEndBlockThreads(blocked
);
976 wxLog::DoLog(level
, szString
, t
);
979 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
981 bool blocked
= wxPyBeginBlockThreads();
982 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
983 PyObject
* s
= wx2PyString(szString
);
984 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
987 wxPyEndBlockThreads(blocked
);
989 wxLog::DoLogString(szString
, t
);
998 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1001 #include <wx/joystick.h>
1004 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1005 // A C++ stub class for wxJoystick for platforms that don't have it.
1006 class wxJoystick
: public wxObject
{
1008 wxJoystick(int joystick
= wxJOYSTICK1
) {
1009 bool blocked
= wxPyBeginBlockThreads();
1010 PyErr_SetString(PyExc_NotImplementedError
,
1011 "wxJoystick is not available on this platform.");
1012 wxPyEndBlockThreads(blocked
);
1014 wxPoint
GetPosition() { return wxPoint(-1,-1); }
1015 int GetZPosition() { return -1; }
1016 int GetButtonState() { return -1; }
1017 int GetPOVPosition() { return -1; }
1018 int GetPOVCTSPosition() { return -1; }
1019 int GetRudderPosition() { return -1; }
1020 int GetUPosition() { return -1; }
1021 int GetVPosition() { return -1; }
1022 int GetMovementThreshold() { return -1; }
1023 void SetMovementThreshold(int threshold
) {}
1025 bool IsOk(void) { return false; }
1026 int GetNumberJoysticks() { return -1; }
1027 int GetManufacturerId() { return -1; }
1028 int GetProductId() { return -1; }
1029 wxString
GetProductName() { return wxEmptyString
; }
1030 int GetXMin() { return -1; }
1031 int GetYMin() { return -1; }
1032 int GetZMin() { return -1; }
1033 int GetXMax() { return -1; }
1034 int GetYMax() { return -1; }
1035 int GetZMax() { return -1; }
1036 int GetNumberButtons() { return -1; }
1037 int GetNumberAxes() { return -1; }
1038 int GetMaxButtons() { return -1; }
1039 int GetMaxAxes() { return -1; }
1040 int GetPollingMin() { return -1; }
1041 int GetPollingMax() { return -1; }
1042 int GetRudderMin() { return -1; }
1043 int GetRudderMax() { return -1; }
1044 int GetUMin() { return -1; }
1045 int GetUMax() { return -1; }
1046 int GetVMin() { return -1; }
1047 int GetVMax() { return -1; }
1049 bool HasRudder() { return false; }
1050 bool HasZ() { return false; }
1051 bool HasU() { return false; }
1052 bool HasV() { return false; }
1053 bool HasPOV() { return false; }
1054 bool HasPOV4Dir() { return false; }
1055 bool HasPOVCTS() { return false; }
1057 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
1058 bool ReleaseCapture() { return false; }
1063 #include <wx/sound.h>
1067 // A C++ stub class for wxWave for platforms that don't have it.
1068 class wxSound
: public wxObject
1072 bool blocked
= wxPyBeginBlockThreads();
1073 PyErr_SetString(PyExc_NotImplementedError
,
1074 "wxSound is not available on this platform.");
1075 wxPyEndBlockThreads(blocked
);
1077 wxSound(const wxString
&/*, bool*/) {
1078 bool blocked
= wxPyBeginBlockThreads();
1079 PyErr_SetString(PyExc_NotImplementedError
,
1080 "wxSound is not available on this platform.");
1081 wxPyEndBlockThreads(blocked
);
1083 wxSound(int, const wxByte
*) {
1084 bool blocked
= wxPyBeginBlockThreads();
1085 PyErr_SetString(PyExc_NotImplementedError
,
1086 "wxSound is not available on this platform.");
1087 wxPyEndBlockThreads(blocked
);
1092 bool Create(const wxString
&/*, bool*/) { return false; }
1093 bool Create(int, const wxByte
*) { return false; };
1094 bool IsOk() { return false; };
1095 bool Play(unsigned) const { return false; }
1096 static bool Play(const wxString
&, unsigned) { return false; }
1097 static void Stop() {}
1102 wxSound
*new_wxSound(wxString
const &fileName
){
1103 if (fileName
.Length() == 0)
1106 return new wxSound(fileName
);
1108 wxSound
*new_wxSound(PyObject
*data
){
1109 unsigned char* buffer
; int size
;
1110 wxSound
*sound
= NULL
;
1112 bool blocked
= wxPyBeginBlockThreads();
1113 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1115 sound
= new wxSound(size
, buffer
);
1117 wxPyEndBlockThreads(blocked
);
1120 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1122 unsigned char* buffer
;
1126 bool blocked
= wxPyBeginBlockThreads();
1127 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1129 rv
= self
->Create(size
, buffer
);
1131 wxPyEndBlockThreads(blocked
);
1134 bool blocked
= wxPyBeginBlockThreads();
1135 PyErr_SetString(PyExc_NotImplementedError
,
1136 "Create from data is not available on this platform.");
1137 wxPyEndBlockThreads(blocked
);
1142 #include <wx/mimetype.h>
1144 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1146 if (self
->GetMimeType(&str
))
1147 return wx2PyString(str
);
1151 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1153 if (self
->GetMimeTypes(arr
))
1154 return wxArrayString2PyList_helper(arr
);
1158 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1160 if (self
->GetExtensions(arr
))
1161 return wxArrayString2PyList_helper(arr
);
1165 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1167 if (self
->GetIcon(&loc
))
1168 return new wxIcon(loc
);
1172 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1174 if (self
->GetIcon(&loc
)) {
1175 wxString iconFile
= loc
.GetFileName();
1180 // Make a tuple and put the values in it
1181 bool blocked
= wxPyBeginBlockThreads();
1182 PyObject
* tuple
= PyTuple_New(3);
1183 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1184 wxT("wxIcon"), true));
1185 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1186 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1187 wxPyEndBlockThreads(blocked
);
1193 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1195 if (self
->GetDescription(&str
))
1196 return wx2PyString(str
);
1200 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1202 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1203 return wx2PyString(str
);
1207 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1209 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1210 return wx2PyString(str
);
1214 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1215 wxArrayString verbs
;
1216 wxArrayString commands
;
1217 if (self
->GetAllCommands(&verbs
, &commands
,
1218 wxFileType::MessageParameters(filename
, mimetype
))) {
1219 bool blocked
= wxPyBeginBlockThreads();
1220 PyObject
* tuple
= PyTuple_New(2);
1221 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1222 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1223 wxPyEndBlockThreads(blocked
);
1229 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1230 return wxFileType::ExpandCommand(command
,
1231 wxFileType::MessageParameters(filename
, mimetype
));
1233 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1235 self
->EnumAllFileTypes(arr
);
1236 return wxArrayString2PyList_helper(arr
);
1239 #include <wx/artprov.h>
1241 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1242 static const wxString
wxPyART_MENU(wxART_MENU
);
1243 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1244 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1245 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1246 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1247 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1248 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1249 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1250 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1251 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1252 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1253 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1254 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1255 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1256 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1257 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1258 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1259 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1260 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1261 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1262 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1263 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1264 static const wxString
wxPyART_HELP(wxART_HELP
);
1265 static const wxString
wxPyART_TIP(wxART_TIP
);
1266 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1267 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1268 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1269 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1270 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1271 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1272 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1273 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1274 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1275 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1276 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1277 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1278 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1279 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1280 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1281 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1282 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1283 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1284 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1285 // Python aware wxArtProvider
1286 class wxPyArtProvider
: public wxArtProvider
{
1289 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1290 const wxArtClient
& client
,
1291 const wxSize
& size
) {
1292 wxBitmap rval
= wxNullBitmap
;
1293 bool blocked
= wxPyBeginBlockThreads();
1294 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1295 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1299 s1
= wx2PyString(id
);
1300 s2
= wx2PyString(client
);
1301 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1306 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1311 wxPyEndBlockThreads(blocked
);
1318 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1322 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1323 PyObject
* ret
= PyTuple_New(3);
1325 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1326 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1327 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1332 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1337 cont
= self
->GetFirstGroup(value
, index
);
1338 return __EnumerationHelper(cont
, value
, index
);
1340 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1344 cont
= self
->GetNextGroup(value
, index
);
1345 return __EnumerationHelper(cont
, value
, index
);
1347 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1352 cont
= self
->GetFirstEntry(value
, index
);
1353 return __EnumerationHelper(cont
, value
, index
);
1355 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1359 cont
= self
->GetNextEntry(value
, index
);
1360 return __EnumerationHelper(cont
, value
, index
);
1362 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1364 self
->Read(key
, &rv
, defaultVal
);
1368 // See my_fragments.i
1369 SWIGSTATICINLINE(int)
1370 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1372 if (PyNumber_Check(obj
)) {
1373 if (val
) *val
= PyFloat_AsDouble(obj
);
1377 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1378 obj
->ob_type
->tp_name
);
1379 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1386 SWIGSTATICINLINE(double)
1387 SWIG_As_double(PyObject
* obj
)
1390 if (!SWIG_AsVal_double(obj
, &v
)) {
1392 this is needed to make valgrind/purify happier. the other
1393 solution is throw an exception, but since this code should work
1396 memset((void*)&v
, 0, sizeof(double));
1402 SWIGSTATICINLINE(int)
1403 SWIG_Check_double(PyObject
* obj
)
1405 return SWIG_AsVal_double(obj
, (double*)0);
1408 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1410 self
->Read(key
, &rv
, defaultVal
);
1413 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1415 self
->Read(key
, &rv
, defaultVal
);
1419 #include <wx/datetime.h>
1422 static const wxString
wxPyDateFormatStr(wxT("%c"));
1423 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1425 #define LOCAL_TZ wxDateTime::Local
1428 #if UINT_MAX < LONG_MAX
1429 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1430 #define SWIG_From_unsigned_SS_int SWIG_From_long
1433 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1434 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1438 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1439 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1440 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1441 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1442 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1443 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1444 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1445 return (*self
< *other
);
1447 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1448 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1449 return (*self
<= *other
);
1451 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1452 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1453 return (*self
> *other
);
1455 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1456 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1457 return (*self
>= *other
);
1459 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1460 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1461 return (*self
== *other
);
1463 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1464 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1465 return (*self
!= *other
);
1467 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1469 const wxChar
* _date
= date
;
1470 rv
= self
->ParseRfc822Date(_date
);
1471 if (rv
== NULL
) return -1;
1474 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1476 const wxChar
* _date
= date
;
1477 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1478 if (rv
== NULL
) return -1;
1481 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1483 const wxChar
* _datetime
= datetime
;
1484 rv
= self
->ParseDateTime(_datetime
);
1485 if (rv
== NULL
) return -1;
1486 return rv
- _datetime
;
1488 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1490 const wxChar
* _date
= date
;
1491 rv
= self
->ParseDate(_date
);
1492 if (rv
== NULL
) return -1;
1495 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1497 const wxChar
* _time
= time
;
1498 rv
= self
->ParseTime(_time
);
1499 if (rv
== NULL
) return -1;
1502 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1503 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1504 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1505 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1506 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1507 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1508 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1509 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1510 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1511 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1512 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1513 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1514 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1515 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1516 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1517 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1519 #include <wx/dataobj.h>
1521 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1522 size_t count
= self
->GetFormatCount(dir
);
1523 wxDataFormat
* formats
= new wxDataFormat
[count
];
1524 self
->GetAllFormats(formats
, dir
);
1526 bool blocked
= wxPyBeginBlockThreads();
1527 PyObject
* list
= PyList_New(count
);
1528 for (size_t i
=0; i
<count
; i
++) {
1529 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1530 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1531 PyList_Append(list
, obj
);
1534 wxPyEndBlockThreads(blocked
);
1538 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1539 PyObject
* rval
= NULL
;
1540 size_t size
= self
->GetDataSize(format
);
1541 bool blocked
= wxPyBeginBlockThreads();
1543 char* buf
= new char[size
];
1544 if (self
->GetDataHere(format
, buf
))
1545 rval
= PyString_FromStringAndSize(buf
, size
);
1552 wxPyEndBlockThreads(blocked
);
1555 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1557 bool blocked
= wxPyBeginBlockThreads();
1558 if (PyString_Check(data
)) {
1559 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1562 // raise a TypeError if not a string
1563 PyErr_SetString(PyExc_TypeError
, "String expected.");
1566 wxPyEndBlockThreads(blocked
);
1569 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1570 PyObject
* rval
= NULL
;
1571 size_t size
= self
->GetDataSize();
1572 bool blocked
= wxPyBeginBlockThreads();
1574 char* buf
= new char[size
];
1575 if (self
->GetDataHere(buf
))
1576 rval
= PyString_FromStringAndSize(buf
, size
);
1583 wxPyEndBlockThreads(blocked
);
1586 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1588 bool blocked
= wxPyBeginBlockThreads();
1589 if (PyString_Check(data
)) {
1590 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1593 // raise a TypeError if not a string
1594 PyErr_SetString(PyExc_TypeError
, "String expected.");
1597 wxPyEndBlockThreads(blocked
);
1600 // Create a new class for wxPython to use
1601 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1603 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1604 : wxDataObjectSimple(format
) {}
1606 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1607 bool GetDataHere(void *buf
) const;
1608 bool SetData(size_t len
, const void *buf
) const;
1612 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1614 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1615 // We need to get the data for this object and write it to buf. I think
1616 // the best way to do this for wxPython is to have the Python method
1617 // return either a string or None and then act appropriately with the
1621 bool blocked
= wxPyBeginBlockThreads();
1622 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1624 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1626 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1628 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1632 wxPyEndBlockThreads(blocked
);
1636 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1637 // For this one we simply need to make a string from buf and len
1638 // and send it to the Python method.
1640 bool blocked
= wxPyBeginBlockThreads();
1641 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1642 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1643 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1646 wxPyEndBlockThreads(blocked
);
1650 // Create a new class for wxPython to use
1651 class wxPyTextDataObject
: public wxTextDataObject
{
1653 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1654 : wxTextDataObject(text
) {}
1656 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1657 DEC_PYCALLBACK_STRING__const(GetText
);
1658 DEC_PYCALLBACK__STRING(SetText
);
1662 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1663 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1664 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1667 // Create a new class for wxPython to use
1668 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1670 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1671 : wxBitmapDataObject(bitmap
) {}
1673 wxBitmap
GetBitmap() const;
1674 void SetBitmap(const wxBitmap
& bitmap
);
1678 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1679 wxBitmap
* rval
= &wxNullBitmap
;
1680 bool blocked
= wxPyBeginBlockThreads();
1681 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1684 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1686 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1691 wxPyEndBlockThreads(blocked
);
1695 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1696 bool blocked
= wxPyBeginBlockThreads();
1697 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1698 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1699 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1702 wxPyEndBlockThreads(blocked
);
1705 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1707 bool blocked
= wxPyBeginBlockThreads();
1708 if (PyString_Check(data
)) {
1709 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1712 // raise a TypeError if not a string
1713 PyErr_SetString(PyExc_TypeError
, "String expected.");
1716 wxPyEndBlockThreads(blocked
);
1719 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1721 bool blocked
= wxPyBeginBlockThreads();
1722 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1723 wxPyEndBlockThreads(blocked
);
1727 class wxMetafileDataObject
: public wxDataObjectSimple
1730 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1734 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1737 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1738 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1739 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1740 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1741 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1744 class wxPyTextDropTarget
: public wxTextDropTarget
{
1746 wxPyTextDropTarget() {}
1748 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1750 DEC_PYCALLBACK__(OnLeave
);
1751 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1752 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1753 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1754 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1759 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1760 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1761 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1762 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1763 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1764 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1768 class wxPyFileDropTarget
: public wxFileDropTarget
{
1770 wxPyFileDropTarget() {}
1772 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1774 DEC_PYCALLBACK__(OnLeave
);
1775 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1776 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1777 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1778 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1783 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1784 const wxArrayString
& filenames
) {
1786 bool blocked
= wxPyBeginBlockThreads();
1787 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1788 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1789 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1792 wxPyEndBlockThreads(blocked
);
1798 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1799 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1800 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1801 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1802 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1807 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1809 #include <wx/display.h>
1811 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1812 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1814 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1816 #include <wx/dynarray.h>
1817 #include <wx/vidmode.h>
1819 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1820 #include "wx/arrimpl.cpp"
1821 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1822 const wxVideoMode wxDefaultVideoMode
;
1827 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1830 static size_t GetCount()
1831 { wxPyRaiseNotImplemented(); return 0; }
1833 static int GetFromPoint(const wxPoint
& pt
)
1834 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1835 static int GetFromWindow(wxWindow
*window
)
1836 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1838 virtual bool IsOk() const { return false; }
1839 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1840 virtual wxString
GetName() const { return wxEmptyString
; }
1841 bool IsPrimary() const { return false; }
1843 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1844 { wxArrayVideoModes a
; return a
; }
1846 virtual wxVideoMode
GetCurrentMode() const
1847 { return wxDefaultVideoMode
; }
1849 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1856 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1857 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1858 PyObject
* pyList
= NULL
;
1859 wxArrayVideoModes arr
= self
->GetModes(mode
);
1860 bool blocked
= wxPyBeginBlockThreads();
1861 pyList
= PyList_New(0);
1862 for (int i
=0; i
< arr
.GetCount(); i
++) {
1863 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1864 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1865 PyList_Append(pyList
, pyObj
);
1868 wxPyEndBlockThreads(blocked
);
1872 #include <wx/stdpaths.h>
1874 wxStandardPaths
*StandardPaths_Get(){
1875 return (wxStandardPaths
*) &wxStandardPaths::Get();
1880 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1884 PyObject
* obj0
= 0 ;
1886 (char *) "index", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1890 arg1
= (int)SWIG_As_int(obj0
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 if (!wxPyCheckForApp()) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1901 wxColour
* resultptr
;
1902 resultptr
= new wxColour((wxColour
&) result
);
1903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1911 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
*resultobj
;
1915 PyObject
* obj0
= 0 ;
1917 (char *) "index", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1921 arg1
= (int)SWIG_As_int(obj0
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 if (!wxPyCheckForApp()) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1933 resultptr
= new wxFont((wxFont
&) result
);
1934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1942 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1946 PyObject
* obj0
= 0 ;
1948 (char *) "index", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1952 arg1
= (int)SWIG_As_int(obj0
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 if (!wxPyCheckForApp()) SWIG_fail
;
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 resultobj
= SWIG_From_int((int)result
);
1969 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1973 PyObject
* obj0
= 0 ;
1975 (char *) "index", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1979 arg1
= (int)SWIG_As_int(obj0
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 if (!wxPyCheckForApp()) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1998 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
2007 if (!wxPyCheckForApp()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (int)wxSystemSettings::GetScreenType();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= SWIG_From_int((int)result
);
2021 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "screen", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2030 arg1
= (int)SWIG_As_int(obj0
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 if (!wxPyCheckForApp()) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2050 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2052 return Py_BuildValue((char *)"");
2054 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2055 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2060 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2065 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2067 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2074 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxSystemOptions
*result
;
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 result
= (wxSystemOptions
*)new wxSystemOptions();
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2096 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxString
*arg1
= 0 ;
2099 wxString
*arg2
= 0 ;
2100 bool temp1
= false ;
2101 bool temp2
= false ;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 (char *) "name",(char *) "value", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2110 arg1
= wxString_in_helper(obj0
);
2111 if (arg1
== NULL
) SWIG_fail
;
2115 arg2
= wxString_in_helper(obj1
);
2116 if (arg2
== NULL
) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxString
*arg1
= 0 ;
2153 bool temp1
= false ;
2154 PyObject
* obj0
= 0 ;
2155 PyObject
* obj1
= 0 ;
2157 (char *) "name",(char *) "value", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2162 arg1
= wxString_in_helper(obj0
);
2163 if (arg1
== NULL
) SWIG_fail
;
2166 arg2
= (int)SWIG_As_int(obj1
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2175 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxString
*arg1
= 0 ;
2194 bool temp1
= false ;
2195 PyObject
* obj0
= 0 ;
2197 (char *) "name", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2202 arg1
= wxString_in_helper(obj0
);
2203 if (arg1
== NULL
) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2234 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxString
*arg1
= 0 ;
2238 bool temp1
= false ;
2239 PyObject
* obj0
= 0 ;
2241 (char *) "name", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2246 arg1
= wxString_in_helper(obj0
);
2247 if (arg1
== NULL
) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= SWIG_From_int((int)result
);
2272 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxString
*arg1
= 0 ;
2276 bool temp1
= false ;
2277 PyObject
* obj0
= 0 ;
2279 (char *) "name", NULL
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2284 arg1
= wxString_in_helper(obj0
);
2285 if (arg1
== NULL
) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2312 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2315 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2317 return Py_BuildValue((char *)"");
2319 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2320 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2325 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2330 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2332 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2339 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2340 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2345 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2350 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2352 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2359 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2360 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2365 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2370 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2372 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2379 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 result
= (long)wxNewId();
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= SWIG_From_long((long)result
);
2401 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2404 PyObject
* obj0
= 0 ;
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2410 arg1
= (long)SWIG_As_long(obj0
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= (long)wxGetCurrentId();
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2441 resultobj
= SWIG_From_long((long)result
);
2448 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2452 PyObject
* obj0
= 0 ;
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2458 arg1
= (int)SWIG_As_int(obj0
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 result
= (bool)wxIsStockID(arg1
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2476 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2479 wxString
*arg2
= 0 ;
2481 bool temp2
= false ;
2482 PyObject
* obj0
= 0 ;
2483 PyObject
* obj1
= 0 ;
2485 (char *) "id",(char *) "label", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2489 arg1
= (int)SWIG_As_int(obj0
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 arg2
= wxString_in_helper(obj1
);
2493 if (arg2
== NULL
) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2520 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2524 PyObject
* obj0
= 0 ;
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2530 arg1
= (int)SWIG_As_int(obj0
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 result
= wxGetStockLabel(arg1
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2552 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2560 if (!wxPyCheckForApp()) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 Py_INCREF(Py_None
); resultobj
= Py_None
;
2574 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2582 if (!wxPyCheckForApp()) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 Py_INCREF(Py_None
); resultobj
= Py_None
;
2596 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 bool arg1
= (bool) true ;
2600 PyObject
* obj0
= 0 ;
2602 (char *) "resetTimer", NULL
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2607 arg1
= (bool)SWIG_As_bool(obj0
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 result
= (long)wxGetElapsedTime(arg1
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= SWIG_From_long((long)result
);
2624 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 int *arg1
= (int *) 0 ;
2627 int *arg2
= (int *) 0 ;
2636 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2637 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2640 if (!wxPyCheckForApp()) SWIG_fail
;
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 wxGetMousePosition(arg1
,arg2
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2647 Py_INCREF(Py_None
); resultobj
= Py_None
;
2648 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2649 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2650 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2651 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2658 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
*resultobj
;
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 result
= (bool)wxIsBusy();
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2682 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2710 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2713 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2715 bool temp1
= false ;
2716 PyObject
* obj0
= 0 ;
2718 (char *) "command", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2724 arg1
= wxString_in_helper(obj0
);
2725 if (arg1
== NULL
) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)wxShell((wxString
const &)*arg1
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2753 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 Py_INCREF(Py_None
); resultobj
= Py_None
;
2774 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 int *arg1
= (int *) 0 ;
2777 int *arg2
= (int *) 0 ;
2787 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2788 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 result
= (int)wxGetOsVersion(arg1
,arg2
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 resultobj
= SWIG_From_int((int)result
);
2798 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2799 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2801 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2808 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= wxGetOsDescription();
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2836 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 result
= (long)wxGetFreeMemory();
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2851 resultobj
= SWIG_From_long((long)result
);
2858 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2862 PyObject
* obj0
= 0 ;
2864 (char *) "wFlags", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2868 arg1
= (int)SWIG_As_int(obj0
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 if (!wxPyCheckForApp()) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2887 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2890 PyObject
* obj0
= 0 ;
2892 (char *) "secs", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2896 arg1
= (int)SWIG_As_int(obj0
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 Py_INCREF(Py_None
); resultobj
= Py_None
;
2912 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 unsigned long arg1
;
2915 PyObject
* obj0
= 0 ;
2917 (char *) "milliseconds", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2921 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 Py_INCREF(Py_None
); resultobj
= Py_None
;
2937 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 unsigned long arg1
;
2940 PyObject
* obj0
= 0 ;
2942 (char *) "microseconds", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2946 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 Py_INCREF(Py_None
); resultobj
= Py_None
;
2962 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2965 PyObject
* obj0
= 0 ;
2967 (char *) "enable", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2971 arg1
= (bool)SWIG_As_bool(obj0
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 wxEnableTopLevelWindows(arg1
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 Py_INCREF(Py_None
); resultobj
= Py_None
;
2987 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxString
*arg1
= 0 ;
2991 bool temp1
= false ;
2992 PyObject
* obj0
= 0 ;
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2999 arg1
= wxString_in_helper(obj0
);
3000 if (arg1
== NULL
) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= wxStripMenuCodes((wxString
const &)*arg1
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3031 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= wxGetEmailAddress();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3059 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= wxGetHostName();
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3087 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= wxGetFullHostName();
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3115 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= wxGetUserId();
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3143 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 result
= wxGetUserName();
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3171 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 result
= wxGetHomeDir();
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3199 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3202 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3204 bool temp1
= false ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "user", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3213 arg1
= wxString_in_helper(obj0
);
3214 if (arg1
== NULL
) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= wxGetUserHome((wxString
const &)*arg1
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3246 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 unsigned long result
;
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (unsigned long)wxGetProcessId();
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3268 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 Py_INCREF(Py_None
); resultobj
= Py_None
;
3289 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3292 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3293 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3294 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3295 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3299 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3300 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3301 int arg6
= (int) 0 ;
3302 wxWindow
*arg7
= (wxWindow
*) NULL
;
3303 int arg8
= (int) -1 ;
3304 int arg9
= (int) -1 ;
3306 bool temp1
= false ;
3307 bool temp2
= false ;
3308 bool temp3
= false ;
3309 bool temp4
= false ;
3310 bool temp5
= false ;
3311 PyObject
* obj0
= 0 ;
3312 PyObject
* obj1
= 0 ;
3313 PyObject
* obj2
= 0 ;
3314 PyObject
* obj3
= 0 ;
3315 PyObject
* obj4
= 0 ;
3316 PyObject
* obj5
= 0 ;
3317 PyObject
* obj6
= 0 ;
3318 PyObject
* obj7
= 0 ;
3319 PyObject
* obj8
= 0 ;
3321 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3327 arg1
= wxString_in_helper(obj0
);
3328 if (arg1
== NULL
) SWIG_fail
;
3334 arg2
= wxString_in_helper(obj1
);
3335 if (arg2
== NULL
) SWIG_fail
;
3341 arg3
= wxString_in_helper(obj2
);
3342 if (arg3
== NULL
) SWIG_fail
;
3348 arg4
= wxString_in_helper(obj3
);
3349 if (arg4
== NULL
) SWIG_fail
;
3355 arg5
= wxString_in_helper(obj4
);
3356 if (arg5
== NULL
) SWIG_fail
;
3361 arg6
= (int)SWIG_As_int(obj5
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3365 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 arg8
= (int)SWIG_As_int(obj7
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3373 arg9
= (int)SWIG_As_int(obj8
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3377 if (!wxPyCheckForApp()) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3437 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxString
*arg1
= 0 ;
3440 wxString
*arg2
= 0 ;
3441 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3442 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3443 wxWindow
*arg4
= (wxWindow
*) NULL
;
3445 bool temp1
= false ;
3446 bool temp2
= false ;
3447 bool temp3
= false ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3450 PyObject
* obj2
= 0 ;
3451 PyObject
* obj3
= 0 ;
3453 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3458 arg1
= wxString_in_helper(obj0
);
3459 if (arg1
== NULL
) SWIG_fail
;
3463 arg2
= wxString_in_helper(obj1
);
3464 if (arg2
== NULL
) SWIG_fail
;
3469 arg3
= wxString_in_helper(obj2
);
3470 if (arg3
== NULL
) SWIG_fail
;
3475 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3479 if (!wxPyCheckForApp()) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3523 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxString
*arg1
= 0 ;
3526 wxString
*arg2
= 0 ;
3527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3529 wxWindow
*arg4
= (wxWindow
*) NULL
;
3531 bool temp1
= false ;
3532 bool temp2
= false ;
3533 bool temp3
= false ;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3536 PyObject
* obj2
= 0 ;
3537 PyObject
* obj3
= 0 ;
3539 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3544 arg1
= wxString_in_helper(obj0
);
3545 if (arg1
== NULL
) SWIG_fail
;
3549 arg2
= wxString_in_helper(obj1
);
3550 if (arg2
== NULL
) SWIG_fail
;
3555 arg3
= wxString_in_helper(obj2
);
3556 if (arg3
== NULL
) SWIG_fail
;
3561 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 if (!wxPyCheckForApp()) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3609 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3612 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3613 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3614 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3615 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3616 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3617 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3618 wxWindow
*arg5
= (wxWindow
*) NULL
;
3620 bool temp1
= false ;
3621 bool temp2
= false ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3625 PyObject
* obj2
= 0 ;
3626 PyObject
* obj3
= 0 ;
3627 PyObject
* obj4
= 0 ;
3629 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3635 arg1
= wxString_in_helper(obj0
);
3636 if (arg1
== NULL
) SWIG_fail
;
3642 arg2
= wxString_in_helper(obj1
);
3643 if (arg2
== NULL
) SWIG_fail
;
3648 arg3
= (long)SWIG_As_long(obj2
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3658 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 if (!wxPyCheckForApp()) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3698 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxString
*arg1
= 0 ;
3701 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3702 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3703 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3705 wxWindow
*arg4
= (wxWindow
*) NULL
;
3706 int arg5
= (int) -1 ;
3707 int arg6
= (int) -1 ;
3708 bool arg7
= (bool) true ;
3710 bool temp1
= false ;
3711 bool temp2
= false ;
3712 bool temp3
= false ;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3715 PyObject
* obj2
= 0 ;
3716 PyObject
* obj3
= 0 ;
3717 PyObject
* obj4
= 0 ;
3718 PyObject
* obj5
= 0 ;
3719 PyObject
* obj6
= 0 ;
3721 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3726 arg1
= wxString_in_helper(obj0
);
3727 if (arg1
== NULL
) SWIG_fail
;
3732 arg2
= wxString_in_helper(obj1
);
3733 if (arg2
== NULL
) SWIG_fail
;
3739 arg3
= wxString_in_helper(obj2
);
3740 if (arg3
== NULL
) SWIG_fail
;
3745 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg5
= (int)SWIG_As_int(obj4
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 arg6
= (int)SWIG_As_int(obj5
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 arg7
= (bool)SWIG_As_bool(obj6
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 if (!wxPyCheckForApp()) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3805 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxString
*arg1
= 0 ;
3808 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3809 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3810 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3812 wxWindow
*arg4
= (wxWindow
*) NULL
;
3814 bool temp1
= false ;
3815 bool temp2
= false ;
3816 bool temp3
= false ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3819 PyObject
* obj2
= 0 ;
3820 PyObject
* obj3
= 0 ;
3822 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3827 arg1
= wxString_in_helper(obj0
);
3828 if (arg1
== NULL
) SWIG_fail
;
3833 arg2
= wxString_in_helper(obj1
);
3834 if (arg2
== NULL
) SWIG_fail
;
3840 arg3
= wxString_in_helper(obj2
);
3841 if (arg3
== NULL
) SWIG_fail
;
3846 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3894 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxString
*arg1
= 0 ;
3897 wxString
*arg2
= 0 ;
3899 wxString
*arg4
= (wxString
*) 0 ;
3900 wxWindow
*arg5
= (wxWindow
*) NULL
;
3901 int arg6
= (int) -1 ;
3902 int arg7
= (int) -1 ;
3903 bool arg8
= (bool) true ;
3904 int arg9
= (int) 150 ;
3905 int arg10
= (int) 200 ;
3907 bool temp1
= false ;
3908 bool temp2
= false ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3911 PyObject
* obj2
= 0 ;
3912 PyObject
* obj3
= 0 ;
3913 PyObject
* obj4
= 0 ;
3914 PyObject
* obj5
= 0 ;
3915 PyObject
* obj6
= 0 ;
3916 PyObject
* obj7
= 0 ;
3917 PyObject
* obj8
= 0 ;
3919 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3924 arg1
= wxString_in_helper(obj0
);
3925 if (arg1
== NULL
) SWIG_fail
;
3929 arg2
= wxString_in_helper(obj1
);
3930 if (arg2
== NULL
) SWIG_fail
;
3934 arg3
= PyList_Size(obj2
);
3935 arg4
= wxString_LIST_helper(obj2
);
3936 if (arg4
== NULL
) SWIG_fail
;
3939 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 arg6
= (int)SWIG_As_int(obj4
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 arg7
= (int)SWIG_As_int(obj5
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 arg8
= (bool)SWIG_As_bool(obj6
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 arg9
= (int)SWIG_As_int(obj7
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3959 arg10
= (int)SWIG_As_int(obj8
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 if (!wxPyCheckForApp()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3986 if (arg4
) delete [] arg4
;
3999 if (arg4
) delete [] arg4
;
4005 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxString
*arg1
= 0 ;
4008 wxString
*arg2
= 0 ;
4010 wxString
*arg4
= (wxString
*) 0 ;
4011 wxWindow
*arg5
= (wxWindow
*) NULL
;
4012 int arg6
= (int) -1 ;
4013 int arg7
= (int) -1 ;
4014 bool arg8
= (bool) true ;
4015 int arg9
= (int) 150 ;
4016 int arg10
= (int) 200 ;
4018 bool temp1
= false ;
4019 bool temp2
= false ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4022 PyObject
* obj2
= 0 ;
4023 PyObject
* obj3
= 0 ;
4024 PyObject
* obj4
= 0 ;
4025 PyObject
* obj5
= 0 ;
4026 PyObject
* obj6
= 0 ;
4027 PyObject
* obj7
= 0 ;
4028 PyObject
* obj8
= 0 ;
4030 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4035 arg1
= wxString_in_helper(obj0
);
4036 if (arg1
== NULL
) SWIG_fail
;
4040 arg2
= wxString_in_helper(obj1
);
4041 if (arg2
== NULL
) SWIG_fail
;
4045 arg3
= PyList_Size(obj2
);
4046 arg4
= wxString_LIST_helper(obj2
);
4047 if (arg4
== NULL
) SWIG_fail
;
4050 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 arg6
= (int)SWIG_As_int(obj4
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4058 arg7
= (int)SWIG_As_int(obj5
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4062 arg8
= (bool)SWIG_As_bool(obj6
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4066 arg9
= (int)SWIG_As_int(obj7
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 arg10
= (int)SWIG_As_int(obj8
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4074 if (!wxPyCheckForApp()) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= SWIG_From_int((int)result
);
4091 if (arg4
) delete [] arg4
;
4104 if (arg4
) delete [] arg4
;
4110 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxString
*arg1
= 0 ;
4113 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4114 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4115 int arg3
= (int) wxOK
|wxCENTRE
;
4116 wxWindow
*arg4
= (wxWindow
*) NULL
;
4117 int arg5
= (int) -1 ;
4118 int arg6
= (int) -1 ;
4120 bool temp1
= false ;
4121 bool temp2
= false ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4125 PyObject
* obj3
= 0 ;
4126 PyObject
* obj4
= 0 ;
4127 PyObject
* obj5
= 0 ;
4129 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4134 arg1
= wxString_in_helper(obj0
);
4135 if (arg1
== NULL
) SWIG_fail
;
4140 arg2
= wxString_in_helper(obj1
);
4141 if (arg2
== NULL
) SWIG_fail
;
4146 arg3
= (int)SWIG_As_int(obj2
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 arg5
= (int)SWIG_As_int(obj4
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 arg6
= (int)SWIG_As_int(obj5
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4162 if (!wxPyCheckForApp()) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= SWIG_From_int((int)result
);
4192 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxString
*arg1
= 0 ;
4195 wxString
*arg2
= 0 ;
4196 wxString
*arg3
= 0 ;
4198 long arg5
= (long) 0 ;
4199 long arg6
= (long) 100 ;
4200 wxWindow
*arg7
= (wxWindow
*) NULL
;
4201 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4202 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4204 bool temp1
= false ;
4205 bool temp2
= false ;
4206 bool temp3
= false ;
4208 PyObject
* obj0
= 0 ;
4209 PyObject
* obj1
= 0 ;
4210 PyObject
* obj2
= 0 ;
4211 PyObject
* obj3
= 0 ;
4212 PyObject
* obj4
= 0 ;
4213 PyObject
* obj5
= 0 ;
4214 PyObject
* obj6
= 0 ;
4215 PyObject
* obj7
= 0 ;
4217 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4222 arg1
= wxString_in_helper(obj0
);
4223 if (arg1
== NULL
) SWIG_fail
;
4227 arg2
= wxString_in_helper(obj1
);
4228 if (arg2
== NULL
) SWIG_fail
;
4232 arg3
= wxString_in_helper(obj2
);
4233 if (arg3
== NULL
) SWIG_fail
;
4236 arg4
= (long)SWIG_As_long(obj3
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 arg5
= (long)SWIG_As_long(obj4
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4243 arg6
= (long)SWIG_As_long(obj5
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4257 if (!wxPyCheckForApp()) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= SWIG_From_long((long)result
);
4295 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4304 if (!wxPyCheckForApp()) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (bool)wxColourDisplay();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4320 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4329 if (!wxPyCheckForApp()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (int)wxDisplayDepth();
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_From_int((int)result
);
4343 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4352 if (!wxPyCheckForApp()) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (int)wxGetDisplayDepth();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= SWIG_From_int((int)result
);
4366 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 int *arg1
= (int *) 0 ;
4369 int *arg2
= (int *) 0 ;
4378 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4379 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4382 if (!wxPyCheckForApp()) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 wxDisplaySize(arg1
,arg2
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4391 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4392 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4393 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4400 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4409 if (!wxPyCheckForApp()) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= wxGetDisplaySize();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4418 resultptr
= new wxSize((wxSize
&) result
);
4419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4427 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 int *arg1
= (int *) 0 ;
4430 int *arg2
= (int *) 0 ;
4439 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4440 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4443 if (!wxPyCheckForApp()) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxDisplaySizeMM(arg1
,arg2
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 Py_INCREF(Py_None
); resultobj
= Py_None
;
4451 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4452 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4453 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4454 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4461 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4470 if (!wxPyCheckForApp()) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= wxGetDisplaySizeMM();
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4479 resultptr
= new wxSize((wxSize
&) result
);
4480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4488 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 int *arg1
= (int *) 0 ;
4491 int *arg2
= (int *) 0 ;
4492 int *arg3
= (int *) 0 ;
4493 int *arg4
= (int *) 0 ;
4506 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4507 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4508 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4509 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4512 if (!wxPyCheckForApp()) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4521 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4522 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4523 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4524 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4525 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4526 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4527 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4534 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4543 if (!wxPyCheckForApp()) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= wxGetClientDisplayRect();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4552 resultptr
= new wxRect((wxRect
&) result
);
4553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4561 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxCursor
*arg1
= 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "cursor", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4574 PyErr_SetString(PyExc_TypeError
,"null reference");
4578 if (!wxPyCheckForApp()) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 Py_INCREF(Py_None
); resultobj
= Py_None
;
4592 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4595 PyObject
* obj0
= 0 ;
4597 (char *) "cursor", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 if (!wxPyCheckForApp()) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 wxBeginBusyCursor(arg1
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4629 if (!wxPyCheckForApp()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxWindow
*)wxGetActiveWindow();
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= wxPyMake_wxObject(result
, 0);
4645 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4650 PyObject
* obj0
= 0 ;
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4658 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4661 if (!wxPyCheckForApp()) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= wxPyMake_wxObject(result
, 0);
4677 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4682 PyObject
* obj0
= 0 ;
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4690 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4693 if (!wxPyCheckForApp()) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= wxPyMake_wxObject(result
, 0);
4709 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxWindow
*arg1
= (wxWindow
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "win", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 if (!wxPyCheckForApp()) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= wxPyMake_wxObject(result
, 0);
4738 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "key", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4748 arg1
= (int)SWIG_As_int(obj0
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 if (!wxPyCheckForApp()) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4767 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4775 if (!wxPyCheckForApp()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 wxWakeUpMainThread();
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4797 if (!wxPyCheckForApp()) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4819 if (!wxPyCheckForApp()) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 Py_INCREF(Py_None
); resultobj
= Py_None
;
4833 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxMutexGuiLocker
*result
;
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4842 if (!wxPyCheckForApp()) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4856 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4859 PyObject
* obj0
= 0 ;
4861 (char *) "self", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 Py_INCREF(Py_None
); resultobj
= Py_None
;
4881 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4884 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4886 return Py_BuildValue((char *)"");
4888 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (bool)wxThread_IsMain();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4912 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxString
*arg1
= 0 ;
4916 bool temp1
= false ;
4917 PyObject
* obj0
= 0 ;
4919 (char *) "tip", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4924 arg1
= wxString_in_helper(obj0
);
4925 if (arg1
== NULL
) SWIG_fail
;
4929 if (!wxPyCheckForApp()) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= wxPyMake_wxObject(result
, 1);
4953 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4956 wxString
*arg2
= 0 ;
4957 bool temp2
= false ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4961 (char *) "self",(char *) "tip", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= wxString_in_helper(obj1
);
4969 if (arg2
== NULL
) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 (arg1
)->SetTip((wxString
const &)*arg2
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (arg1
)->GetTip();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5026 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (wxWindow
*)(arg1
)->GetWindow();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= wxPyMake_wxObject(result
, 0);
5054 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "flag", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5063 arg1
= (bool)SWIG_As_bool(obj0
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxToolTip::Enable(arg1
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "milliseconds", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5088 arg1
= (long)SWIG_As_long(obj0
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 wxToolTip::SetDelay(arg1
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5107 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5109 return Py_BuildValue((char *)"");
5111 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxWindow
*arg1
= (wxWindow
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "window",(char *) "size", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5131 if (!wxPyCheckForApp()) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5145 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxCaret
*arg1
= (wxCaret
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxCaret
*arg1
= (wxCaret
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (bool)(arg1
)->IsOk();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5198 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxCaret
*arg1
= (wxCaret
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5204 (char *) "self", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (bool)(arg1
)->IsVisible();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5226 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxCaret
*arg1
= (wxCaret
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5232 (char *) "self", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (arg1
)->GetPosition();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 wxPoint
* resultptr
;
5247 resultptr
= new wxPoint((wxPoint
&) result
);
5248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5256 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxCaret
*arg1
= (wxCaret
*) 0 ;
5259 int *arg2
= (int *) 0 ;
5260 int *arg3
= (int *) 0 ;
5265 PyObject
* obj0
= 0 ;
5267 (char *) "self", NULL
5270 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5271 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 (arg1
)->GetPosition(arg2
,arg3
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 Py_INCREF(Py_None
); resultobj
= Py_None
;
5283 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5284 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5285 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5286 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5293 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxCaret
*arg1
= (wxCaret
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "self", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (arg1
)->GetSize();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5314 resultptr
= new wxSize((wxSize
&) result
);
5315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5323 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxCaret
*arg1
= (wxCaret
*) 0 ;
5326 int *arg2
= (int *) 0 ;
5327 int *arg3
= (int *) 0 ;
5332 PyObject
* obj0
= 0 ;
5334 (char *) "self", NULL
5337 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5338 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->GetSize(arg2
,arg3
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 Py_INCREF(Py_None
); resultobj
= Py_None
;
5350 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5351 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5352 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5353 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5360 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxCaret
*arg1
= (wxCaret
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "self", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (wxWindow
*)(arg1
)->GetWindow();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= wxPyMake_wxObject(result
, 0);
5388 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxCaret
*arg1
= (wxCaret
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5394 PyObject
* obj1
= 0 ;
5395 PyObject
* obj2
= 0 ;
5397 (char *) "self",(char *) "x",(char *) "y", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5403 arg2
= (int)SWIG_As_int(obj1
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5405 arg3
= (int)SWIG_As_int(obj2
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->Move(arg2
,arg3
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxCaret
*arg1
= (wxCaret
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5429 (char *) "self",(char *) "pt", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 (arg1
)->Move((wxPoint
const &)*arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 Py_INCREF(Py_None
); resultobj
= Py_None
;
5453 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxCaret
*arg1
= (wxCaret
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 PyObject
* obj2
= 0 ;
5462 (char *) "self",(char *) "width",(char *) "height", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 arg2
= (int)SWIG_As_int(obj1
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5470 arg3
= (int)SWIG_As_int(obj2
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 (arg1
)->SetSize(arg2
,arg3
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 Py_INCREF(Py_None
); resultobj
= Py_None
;
5486 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxCaret
*arg1
= (wxCaret
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "size", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5502 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 (arg1
)->SetSize((wxSize
const &)*arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5518 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxCaret
*arg1
= (wxCaret
*) 0 ;
5521 int arg2
= (int) true ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "show", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 arg2
= (int)SWIG_As_int(obj1
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 Py_INCREF(Py_None
); resultobj
= Py_None
;
5549 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxCaret
*arg1
= (wxCaret
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5554 (char *) "self", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5577 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5579 return Py_BuildValue((char *)"");
5581 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (int)wxCaret_GetBlinkTime();
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_From_int((int)result
);
5603 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "milliseconds", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5612 arg1
= (int)SWIG_As_int(obj0
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 wxCaret_SetBlinkTime(arg1
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5631 wxBusyCursor
*result
;
5632 PyObject
* obj0
= 0 ;
5634 (char *) "cursor", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5657 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5662 (char *) "self", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5685 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5687 return Py_BuildValue((char *)"");
5689 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxWindow
*arg1
= (wxWindow
*) NULL
;
5692 wxWindowDisabler
*result
;
5693 PyObject
* obj0
= 0 ;
5695 (char *) "winToSkip", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 if (!wxPyCheckForApp()) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5718 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5723 (char *) "self", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 Py_INCREF(Py_None
); resultobj
= Py_None
;
5743 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5746 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5748 return Py_BuildValue((char *)"");
5750 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxString
*arg1
= 0 ;
5754 bool temp1
= false ;
5755 PyObject
* obj0
= 0 ;
5757 (char *) "message", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5762 arg1
= wxString_in_helper(obj0
);
5763 if (arg1
== NULL
) SWIG_fail
;
5767 if (!wxPyCheckForApp()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5789 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5817 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5819 return Py_BuildValue((char *)"");
5821 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxStopWatch
*result
;
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (wxStopWatch
*)new wxStopWatch();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5843 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5846 long arg2
= (long) 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "t0", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 arg2
= (long)SWIG_As_long(obj1
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->Start(arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 Py_INCREF(Py_None
); resultobj
= Py_None
;
5899 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5904 (char *) "self", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 Py_INCREF(Py_None
); resultobj
= Py_None
;
5924 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "self", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_From_long((long)result
);
5950 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5953 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5955 return Py_BuildValue((char *)"");
5957 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 int arg1
= (int) 9 ;
5960 int arg2
= (int) wxID_FILE1
;
5961 wxFileHistory
*result
;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 (char *) "maxFiles",(char *) "idBase", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5970 arg1
= (int)SWIG_As_int(obj0
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 arg2
= (int)SWIG_As_int(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5991 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6019 wxString
*arg2
= 0 ;
6020 bool temp2
= false ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6024 (char *) "self",(char *) "file", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 arg2
= wxString_in_helper(obj1
);
6032 if (arg2
== NULL
) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 Py_INCREF(Py_None
); resultobj
= Py_None
;
6057 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6064 (char *) "self",(char *) "i", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 arg2
= (int)SWIG_As_int(obj1
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 (arg1
)->RemoveFileFromHistory(arg2
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 Py_INCREF(Py_None
); resultobj
= Py_None
;
6086 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_From_int((int)result
);
6112 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6115 wxMenu
*arg2
= (wxMenu
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6119 (char *) "self",(char *) "menu", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 (arg1
)->UseMenu(arg2
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 Py_INCREF(Py_None
); resultobj
= Py_None
;
6141 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6144 wxMenu
*arg2
= (wxMenu
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6148 (char *) "self",(char *) "menu", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 (arg1
)->RemoveMenu(arg2
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 Py_INCREF(Py_None
); resultobj
= Py_None
;
6170 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6173 wxConfigBase
*arg2
= 0 ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6177 (char *) "self",(char *) "config", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6187 PyErr_SetString(PyExc_TypeError
,"null reference");
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 (arg1
)->Load(*arg2
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 Py_INCREF(Py_None
); resultobj
= Py_None
;
6204 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6207 wxConfigBase
*arg2
= 0 ;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6211 (char *) "self",(char *) "config", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6221 PyErr_SetString(PyExc_TypeError
,"null reference");
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 (arg1
)->Save(*arg2
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 Py_INCREF(Py_None
); resultobj
= Py_None
;
6238 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6243 (char *) "self", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 (arg1
)->AddFilesToMenu();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6266 wxMenu
*arg2
= (wxMenu
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "menu", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->AddFilesToMenu(arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6298 PyObject
* obj1
= 0 ;
6300 (char *) "self",(char *) "i", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 arg2
= (int)SWIG_As_int(obj1
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6328 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_From_int((int)result
);
6354 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6357 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6359 return Py_BuildValue((char *)"");
6361 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxString
*arg1
= 0 ;
6364 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6365 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6366 wxSingleInstanceChecker
*result
;
6367 bool temp1
= false ;
6368 bool temp2
= false ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "name",(char *) "path", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6377 arg1
= wxString_in_helper(obj0
);
6378 if (arg1
== NULL
) SWIG_fail
;
6383 arg2
= wxString_in_helper(obj1
);
6384 if (arg2
== NULL
) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6418 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxSingleInstanceChecker
*result
;
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6440 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6468 wxString
*arg2
= 0 ;
6469 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6472 bool temp2
= false ;
6473 bool temp3
= false ;
6474 PyObject
* obj0
= 0 ;
6475 PyObject
* obj1
= 0 ;
6476 PyObject
* obj2
= 0 ;
6478 (char *) "self",(char *) "name",(char *) "path", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 arg2
= wxString_in_helper(obj1
);
6486 if (arg2
== NULL
) SWIG_fail
;
6491 arg3
= wxString_in_helper(obj2
);
6492 if (arg3
== NULL
) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6528 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "self", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6556 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6561 return Py_BuildValue((char *)"");
6563 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxWindow
*arg1
= (wxWindow
*) 0 ;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6570 PyObject
* obj2
= 0 ;
6572 (char *) "window",(char *) "dc",(char *) "method", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6582 PyErr_SetString(PyExc_TypeError
,"null reference");
6585 arg3
= (int)SWIG_As_int(obj2
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 Py_INCREF(Py_None
); resultobj
= Py_None
;
6601 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 Py_INCREF(Py_None
); resultobj
= Py_None
;
6626 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6632 (char *) "self", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (arg1
)->GetTip();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6658 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (size_t)(arg1
)->GetCurrentTip();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6684 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6687 wxString
*arg2
= 0 ;
6689 bool temp2
= false ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "tip", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 arg2
= wxString_in_helper(obj1
);
6701 if (arg2
== NULL
) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6732 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6735 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6737 return Py_BuildValue((char *)"");
6739 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6742 wxPyTipProvider
*result
;
6743 PyObject
* obj0
= 0 ;
6745 (char *) "currentTip", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6749 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6765 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6768 PyObject
*arg2
= (PyObject
*) 0 ;
6769 PyObject
*arg3
= (PyObject
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6772 PyObject
* obj2
= 0 ;
6774 (char *) "self",(char *) "self",(char *) "_class", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6799 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6801 return Py_BuildValue((char *)"");
6803 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxWindow
*arg1
= (wxWindow
*) 0 ;
6806 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6807 bool arg3
= (bool) true ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6811 PyObject
* obj2
= 0 ;
6813 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6822 arg3
= (bool)SWIG_As_bool(obj2
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6826 if (!wxPyCheckForApp()) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6842 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxString
*arg1
= 0 ;
6846 wxTipProvider
*result
;
6847 bool temp1
= false ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6851 (char *) "filename",(char *) "currentTip", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 arg1
= wxString_in_helper(obj0
);
6857 if (arg1
== NULL
) SWIG_fail
;
6860 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 if (!wxPyCheckForApp()) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6885 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6888 int arg2
= (int) -1 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6893 (char *) "owner",(char *) "id", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg2
= (int)SWIG_As_int(obj1
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 if (!wxPyCheckForApp()) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6920 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6925 (char *) "self", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 Py_INCREF(Py_None
); resultobj
= Py_None
;
6945 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6948 PyObject
*arg2
= (PyObject
*) 0 ;
6949 PyObject
*arg3
= (PyObject
*) 0 ;
6950 int arg4
= (int) 1 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6954 PyObject
* obj3
= 0 ;
6956 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 arg4
= (int)SWIG_As_int(obj3
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6985 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6986 int arg3
= (int) -1 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6989 PyObject
* obj2
= 0 ;
6991 (char *) "self",(char *) "owner",(char *) "id", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7000 arg3
= (int)SWIG_As_int(obj2
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->SetOwner(arg2
,arg3
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 Py_INCREF(Py_None
); resultobj
= Py_None
;
7017 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7020 wxEvtHandler
*result
;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= wxPyMake_wxObject(result
, 0);
7045 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7048 int arg2
= (int) -1 ;
7049 bool arg3
= (bool) false ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7055 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 arg2
= (int)SWIG_As_int(obj1
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 arg3
= (bool)SWIG_As_bool(obj2
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7085 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "self", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7116 (char *) "self", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7138 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7142 PyObject
* obj0
= 0 ;
7144 (char *) "self", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_From_int((int)result
);
7164 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7170 (char *) "self", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7192 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_From_int((int)result
);
7218 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7223 return Py_BuildValue((char *)"");
7225 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 int arg1
= (int) 0 ;
7228 int arg2
= (int) 0 ;
7229 wxTimerEvent
*result
;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "timerid",(char *) "interval", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7238 arg1
= (int)SWIG_As_int(obj0
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7242 arg2
= (int)SWIG_As_int(obj1
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7259 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_From_int((int)result
);
7285 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7288 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7290 return Py_BuildValue((char *)"");
7292 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7293 PyObject
*resultobj
;
7295 wxTimerRunner
*result
;
7296 PyObject
* obj0
= 0 ;
7298 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7303 PyErr_SetString(PyExc_TypeError
,"null reference");
7307 if (!wxPyCheckForApp()) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7321 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7322 PyObject
*resultobj
;
7325 bool arg3
= (bool) false ;
7326 wxTimerRunner
*result
;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 PyObject
* obj2
= 0 ;
7331 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7336 PyErr_SetString(PyExc_TypeError
,"null reference");
7339 arg2
= (int)SWIG_As_int(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 arg3
= (bool)SWIG_As_bool(obj2
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 if (!wxPyCheckForApp()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7360 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7365 argc
= PyObject_Length(args
);
7366 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7367 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7373 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7381 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7384 if ((argc
>= 2) && (argc
<= 3)) {
7388 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7396 _v
= SWIG_Check_int(argv
[1]);
7399 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7401 _v
= SWIG_Check_bool(argv
[2]);
7403 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7409 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7414 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7419 (char *) "self", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7443 bool arg3
= (bool) false ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7446 PyObject
* obj2
= 0 ;
7448 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7454 arg2
= (int)SWIG_As_int(obj1
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 arg3
= (bool)SWIG_As_bool(obj2
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 (arg1
)->Start(arg2
,arg3
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7477 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7479 return Py_BuildValue((char *)"");
7481 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (wxLog
*)new wxLog();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7503 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (bool)wxLog::IsEnabled();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7527 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 bool arg1
= (bool) true ;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "doIt", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7538 arg1
= (bool)SWIG_As_bool(obj0
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)wxLog::EnableLogging(arg1
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7560 wxChar
*arg2
= (wxChar
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 PyObject
* obj2
= 0 ;
7566 (char *) "level",(char *) "szString",(char *) "t", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7570 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7590 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxLog
*arg1
= (wxLog
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "self", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 wxLog::FlushActive();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (wxLog
*)wxLog::GetActiveTarget();
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7658 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxLog
*arg1
= (wxLog
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "pLogger", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7684 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 Py_INCREF(Py_None
); resultobj
= Py_None
;
7705 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 bool arg1
= (bool) true ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "bVerbose", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7736 arg1
= (bool)SWIG_As_bool(obj0
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxLog::SetVerbose(arg1
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "logLevel", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7762 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 wxLog::SetLogLevel(arg1
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 wxLog::DontCreateOnDemand();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 Py_INCREF(Py_None
); resultobj
= Py_None
;
7799 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "ulMask", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7808 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 wxLog::SetTraceMask(arg1
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 Py_INCREF(Py_None
); resultobj
= Py_None
;
7824 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxString
*arg1
= 0 ;
7827 bool temp1
= false ;
7828 PyObject
* obj0
= 0 ;
7830 (char *) "str", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7835 arg1
= wxString_in_helper(obj0
);
7836 if (arg1
== NULL
) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 wxLog::AddTraceMask((wxString
const &)*arg1
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxString
*arg1
= 0 ;
7864 bool temp1
= false ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "str", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7872 arg1
= wxString_in_helper(obj0
);
7873 if (arg1
== NULL
) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7898 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 wxLog::ClearTraceMasks();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxArrayString
*result
;
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7931 result
= (wxArrayString
*) &_result_ref
;
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= wxArrayString2PyList_helper(*result
);
7946 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxChar
*arg1
= (wxChar
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 wxLog::SetTimestamp((wxChar
const *)arg1
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 Py_INCREF(Py_None
); resultobj
= Py_None
;
7971 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (bool)wxLog::GetVerbose();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7995 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (wxTraceMask
)wxLog::GetTraceMask();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8017 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxChar
*arg1
= (wxChar
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "mask", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8045 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (wxLogLevel
)wxLog::GetLogLevel();
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8067 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxChar
*)wxLog::GetTimestamp();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8089 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= Log_TimeStamp();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8117 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxLog
*arg1
= (wxLog
*) 0 ;
8120 PyObject
* obj0
= 0 ;
8122 (char *) "self", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 wxLog_Destroy(arg1
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 Py_INCREF(Py_None
); resultobj
= Py_None
;
8142 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8145 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8147 return Py_BuildValue((char *)"");
8149 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxLogStderr
*result
;
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (wxLogStderr
*)new wxLogStderr();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8171 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8174 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8176 return Py_BuildValue((char *)"");
8178 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8181 wxLogTextCtrl
*result
;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "pTextCtrl", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8204 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8207 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8209 return Py_BuildValue((char *)"");
8211 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (wxLogGui
*)new wxLogGui();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8233 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8236 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8238 return Py_BuildValue((char *)"");
8240 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxFrame
*arg1
= (wxFrame
*) 0 ;
8243 wxString
*arg2
= 0 ;
8244 bool arg3
= (bool) true ;
8245 bool arg4
= (bool) true ;
8246 wxLogWindow
*result
;
8247 bool temp2
= false ;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8250 PyObject
* obj2
= 0 ;
8251 PyObject
* obj3
= 0 ;
8253 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8260 arg2
= wxString_in_helper(obj1
);
8261 if (arg2
== NULL
) SWIG_fail
;
8265 arg3
= (bool)SWIG_As_bool(obj2
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 arg4
= (bool)SWIG_As_bool(obj3
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8294 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8297 bool arg2
= (bool) true ;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8301 (char *) "self",(char *) "bShow", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 arg2
= (bool)SWIG_As_bool(obj1
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8325 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8329 PyObject
* obj0
= 0 ;
8331 (char *) "self", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= wxPyMake_wxObject(result
, 0);
8353 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8357 PyObject
* obj0
= 0 ;
8359 (char *) "self", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8379 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8407 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8414 (char *) "self",(char *) "bDoPass", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 arg2
= (bool)SWIG_As_bool(obj1
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->PassMessages(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8439 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8441 return Py_BuildValue((char *)"");
8443 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxLog
*arg1
= (wxLog
*) 0 ;
8447 PyObject
* obj0
= 0 ;
8449 (char *) "logger", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (wxLogChain
*)new wxLogChain(arg1
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8469 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8472 wxLog
*arg2
= (wxLog
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8476 (char *) "self",(char *) "logger", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 (arg1
)->SetLog(arg2
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 Py_INCREF(Py_None
); resultobj
= Py_None
;
8498 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8505 (char *) "self",(char *) "bDoPass", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8511 arg2
= (bool)SWIG_As_bool(obj1
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 (arg1
)->PassMessages(arg2
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 Py_INCREF(Py_None
); resultobj
= Py_None
;
8527 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (bool)(arg1
)->IsPassingMessages();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8555 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (wxLog
*)(arg1
)->GetOldLog();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8581 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8586 return Py_BuildValue((char *)"");
8588 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 unsigned long result
;
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (unsigned long)wxSysErrorCode();
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8610 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 unsigned long arg1
= (unsigned long) 0 ;
8614 PyObject
* obj0
= 0 ;
8616 (char *) "nErrCode", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8621 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= wxSysErrorMsg(arg1
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8644 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxString
*arg1
= 0 ;
8647 bool temp1
= false ;
8648 PyObject
* obj0
= 0 ;
8650 (char *) "msg", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8655 arg1
= wxString_in_helper(obj0
);
8656 if (arg1
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 wxPyLogFatalError((wxString
const &)*arg1
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxString
*arg1
= 0 ;
8684 bool temp1
= false ;
8685 PyObject
* obj0
= 0 ;
8687 (char *) "msg", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8692 arg1
= wxString_in_helper(obj0
);
8693 if (arg1
== NULL
) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 wxPyLogError((wxString
const &)*arg1
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxString
*arg1
= 0 ;
8721 bool temp1
= false ;
8722 PyObject
* obj0
= 0 ;
8724 (char *) "msg", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8729 arg1
= wxString_in_helper(obj0
);
8730 if (arg1
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxPyLogWarning((wxString
const &)*arg1
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxString
*arg1
= 0 ;
8758 bool temp1
= false ;
8759 PyObject
* obj0
= 0 ;
8761 (char *) "msg", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8766 arg1
= wxString_in_helper(obj0
);
8767 if (arg1
== NULL
) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 wxPyLogMessage((wxString
const &)*arg1
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxString
*arg1
= 0 ;
8795 bool temp1
= false ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "msg", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8803 arg1
= wxString_in_helper(obj0
);
8804 if (arg1
== NULL
) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxPyLogInfo((wxString
const &)*arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxString
*arg1
= 0 ;
8832 bool temp1
= false ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "msg", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8840 arg1
= wxString_in_helper(obj0
);
8841 if (arg1
== NULL
) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 wxPyLogDebug((wxString
const &)*arg1
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxString
*arg1
= 0 ;
8869 bool temp1
= false ;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "msg", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8877 arg1
= wxString_in_helper(obj0
);
8878 if (arg1
== NULL
) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 wxPyLogVerbose((wxString
const &)*arg1
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxString
*arg1
= 0 ;
8906 bool temp1
= false ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "msg", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8914 arg1
= wxString_in_helper(obj0
);
8915 if (arg1
== NULL
) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 wxPyLogStatus((wxString
const &)*arg1
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 Py_INCREF(Py_None
); resultobj
= Py_None
;
8940 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxFrame
*arg1
= (wxFrame
*) 0 ;
8943 wxString
*arg2
= 0 ;
8944 bool temp2
= false ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8948 (char *) "pFrame",(char *) "msg", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 arg2
= wxString_in_helper(obj1
);
8956 if (arg2
== NULL
) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8981 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8983 wxString
*arg1
= 0 ;
8984 bool temp1
= false ;
8985 PyObject
* obj0
= 0 ;
8987 (char *) "msg", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8992 arg1
= wxString_in_helper(obj0
);
8993 if (arg1
== NULL
) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 wxPyLogSysError((wxString
const &)*arg1
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 unsigned long arg1
;
9021 wxString
*arg2
= 0 ;
9022 bool temp2
= false ;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9026 (char *) "level",(char *) "msg", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9030 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 arg2
= wxString_in_helper(obj1
);
9034 if (arg2
== NULL
) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 Py_INCREF(Py_None
); resultobj
= Py_None
;
9059 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9060 PyObject
*resultobj
;
9061 unsigned long arg1
;
9062 wxString
*arg2
= 0 ;
9063 bool temp2
= false ;
9064 PyObject
* obj0
= 0 ;
9065 PyObject
* obj1
= 0 ;
9067 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9068 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 arg2
= wxString_in_helper(obj1
);
9072 if (arg2
== NULL
) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9097 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9098 PyObject
*resultobj
;
9099 wxString
*arg1
= 0 ;
9100 wxString
*arg2
= 0 ;
9101 bool temp1
= false ;
9102 bool temp2
= false ;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9106 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9108 arg1
= wxString_in_helper(obj0
);
9109 if (arg1
== NULL
) SWIG_fail
;
9113 arg2
= wxString_in_helper(obj1
);
9114 if (arg2
== NULL
) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 Py_INCREF(Py_None
); resultobj
= Py_None
;
9147 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9152 argc
= PyObject_Length(args
);
9153 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9154 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9159 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9163 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9166 return _wrap_LogTrace__SWIG_1(self
,args
);
9172 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9175 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9178 return _wrap_LogTrace__SWIG_0(self
,args
);
9183 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9188 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxString
*arg1
= 0 ;
9191 wxString
*arg2
= 0 ;
9192 bool temp1
= false ;
9193 bool temp2
= false ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9197 (char *) "title",(char *) "text", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9202 arg1
= wxString_in_helper(obj0
);
9203 if (arg1
== NULL
) SWIG_fail
;
9207 arg2
= wxString_in_helper(obj1
);
9208 if (arg2
== NULL
) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9241 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (wxLogNull
*)new wxLogNull();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9263 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9291 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9293 return Py_BuildValue((char *)"");
9295 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (wxPyLog
*)new wxPyLog();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9317 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9320 PyObject
*arg2
= (PyObject
*) 0 ;
9321 PyObject
*arg3
= (PyObject
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9326 (char *) "self",(char *) "self",(char *) "_class", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 Py_INCREF(Py_None
); resultobj
= Py_None
;
9348 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9351 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9353 return Py_BuildValue((char *)"");
9355 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9358 int arg2
= (int) wxSIGTERM
;
9359 int arg3
= (int) wxKILL_NOCHILDREN
;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9363 PyObject
* obj2
= 0 ;
9365 (char *) "pid",(char *) "sig",(char *) "flags", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9369 arg1
= (int)SWIG_As_int(obj0
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 arg2
= (int)SWIG_As_int(obj1
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 arg3
= (int)SWIG_As_int(obj2
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_From_int((int)result
);
9393 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "pid", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9403 arg1
= (int)SWIG_As_int(obj0
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (bool)wxPyProcess::Exists(arg1
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9421 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxString
*arg1
= 0 ;
9424 int arg2
= (int) wxEXEC_ASYNC
;
9425 wxPyProcess
*result
;
9426 bool temp1
= false ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9430 (char *) "cmd",(char *) "flags", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9435 arg1
= wxString_in_helper(obj0
);
9436 if (arg1
== NULL
) SWIG_fail
;
9440 arg2
= (int)SWIG_As_int(obj1
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9465 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9468 int arg2
= (int) -1 ;
9469 wxPyProcess
*result
;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9473 (char *) "parent",(char *) "id", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (int)SWIG_As_int(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9499 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9502 PyObject
*arg2
= (PyObject
*) 0 ;
9503 PyObject
*arg3
= (PyObject
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9508 (char *) "self",(char *) "self",(char *) "_class", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 Py_INCREF(Py_None
); resultobj
= Py_None
;
9530 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 PyObject
* obj2
= 0 ;
9539 (char *) "self",(char *) "pid",(char *) "status", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9545 arg2
= (int)SWIG_As_int(obj1
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9547 arg3
= (int)SWIG_As_int(obj2
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->base_OnTerminate(arg2
,arg3
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 Py_INCREF(Py_None
); resultobj
= Py_None
;
9588 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (bool)(arg1
)->IsRedirected();
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9616 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9644 wxInputStream
*result
;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 wxPyInputStream
* _ptr
= NULL
;
9664 _ptr
= new wxPyInputStream(result
);
9666 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9674 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9677 wxInputStream
*result
;
9678 PyObject
* obj0
= 0 ;
9680 (char *) "self", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 wxPyInputStream
* _ptr
= NULL
;
9697 _ptr
= new wxPyInputStream(result
);
9699 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9707 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9710 wxOutputStream
*result
;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9733 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 (arg1
)->CloseOutput();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 Py_INCREF(Py_None
); resultobj
= Py_None
;
9758 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9764 (char *) "self", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9786 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9814 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9842 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9845 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9847 return Py_BuildValue((char *)"");
9849 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 int arg1
= (int) 0 ;
9852 int arg2
= (int) 0 ;
9853 int arg3
= (int) 0 ;
9854 wxProcessEvent
*result
;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9857 PyObject
* obj2
= 0 ;
9859 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9864 arg1
= (int)SWIG_As_int(obj0
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9868 arg2
= (int)SWIG_As_int(obj1
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 arg3
= (int)SWIG_As_int(obj2
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9889 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)(arg1
)->GetPid();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_From_int((int)result
);
9915 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "self", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (int)(arg1
)->GetExitCode();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_From_int((int)result
);
9941 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9948 (char *) "self",(char *) "m_pid", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9954 arg2
= (int)SWIG_As_int(obj1
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9956 if (arg1
) (arg1
)->m_pid
= arg2
;
9958 Py_INCREF(Py_None
); resultobj
= Py_None
;
9965 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9969 PyObject
* obj0
= 0 ;
9971 (char *) "self", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9977 result
= (int) ((arg1
)->m_pid
);
9979 resultobj
= SWIG_From_int((int)result
);
9986 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9993 (char *) "self",(char *) "m_exitcode", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9999 arg2
= (int)SWIG_As_int(obj1
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10001 if (arg1
) (arg1
)->m_exitcode
= arg2
;
10003 Py_INCREF(Py_None
); resultobj
= Py_None
;
10010 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 result
= (int) ((arg1
)->m_exitcode
);
10024 resultobj
= SWIG_From_int((int)result
);
10031 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
10033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
10036 return Py_BuildValue((char *)"");
10038 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxString
*arg1
= 0 ;
10041 int arg2
= (int) wxEXEC_ASYNC
;
10042 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
10044 bool temp1
= false ;
10045 PyObject
* obj0
= 0 ;
10046 PyObject
* obj1
= 0 ;
10047 PyObject
* obj2
= 0 ;
10048 char *kwnames
[] = {
10049 (char *) "command",(char *) "flags",(char *) "process", NULL
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10054 arg1
= wxString_in_helper(obj0
);
10055 if (arg1
== NULL
) SWIG_fail
;
10059 arg2
= (int)SWIG_As_int(obj1
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 if (!wxPyCheckForApp()) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= SWIG_From_long((long)result
);
10089 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10092 int arg2
= (int) wxSIGTERM
;
10093 wxKillError
*arg3
= (wxKillError
*) 0 ;
10094 int arg4
= (int) wxKILL_NOCHILDREN
;
10096 wxKillError temp3
;
10097 PyObject
* obj0
= 0 ;
10098 PyObject
* obj1
= 0 ;
10099 PyObject
* obj2
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10108 arg1
= (long)SWIG_As_long(obj0
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 arg2
= (int)SWIG_As_int(obj1
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 arg4
= (int)SWIG_As_int(obj2
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_From_int((int)result
);
10128 o
= PyInt_FromLong((long) (*arg3
));
10129 resultobj
= t_output_helper(resultobj
, o
);
10137 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 int arg1
= (int) wxJOYSTICK1
;
10140 wxJoystick
*result
;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "joystick", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10148 arg1
= (int)SWIG_As_int(obj0
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10152 if (!wxPyCheckForApp()) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (wxJoystick
*)new wxJoystick(arg1
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10166 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10191 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (arg1
)->GetPosition();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10211 wxPoint
* resultptr
;
10212 resultptr
= new wxPoint((wxPoint
&) result
);
10213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10221 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (int)(arg1
)->GetZPosition();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int((int)result
);
10247 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (int)(arg1
)->GetButtonState();
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= SWIG_From_int((int)result
);
10273 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (int)(arg1
)->GetPOVPosition();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_From_int((int)result
);
10299 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (int)(arg1
)->GetPOVCTSPosition();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_From_int((int)result
);
10325 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (int)(arg1
)->GetRudderPosition();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_From_int((int)result
);
10351 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10355 PyObject
* obj0
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (int)(arg1
)->GetUPosition();
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= SWIG_From_int((int)result
);
10377 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10381 PyObject
* obj0
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= (int)(arg1
)->GetVPosition();
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= SWIG_From_int((int)result
);
10403 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (int)(arg1
)->GetMovementThreshold();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_From_int((int)result
);
10429 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self",(char *) "threshold", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10442 arg2
= (int)SWIG_As_int(obj1
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 (arg1
)->SetMovementThreshold(arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)(arg1
)->IsOk();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10486 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (int)(arg1
)->GetNumberJoysticks();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_From_int((int)result
);
10512 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)(arg1
)->GetManufacturerId();
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_From_int((int)result
);
10538 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (int)(arg1
)->GetProductId();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_From_int((int)result
);
10564 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (arg1
)->GetProductName();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10596 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (int)(arg1
)->GetXMin();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_From_int((int)result
);
10622 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (int)(arg1
)->GetYMin();
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_From_int((int)result
);
10648 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)(arg1
)->GetZMin();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_From_int((int)result
);
10674 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (int)(arg1
)->GetXMax();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_From_int((int)result
);
10700 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (int)(arg1
)->GetYMax();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int((int)result
);
10726 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (int)(arg1
)->GetZMax();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_From_int((int)result
);
10752 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (int)(arg1
)->GetNumberButtons();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= SWIG_From_int((int)result
);
10778 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (int)(arg1
)->GetNumberAxes();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_From_int((int)result
);
10804 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (int)(arg1
)->GetMaxButtons();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_From_int((int)result
);
10830 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (int)(arg1
)->GetMaxAxes();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_From_int((int)result
);
10856 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (int)(arg1
)->GetPollingMin();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_From_int((int)result
);
10882 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (int)(arg1
)->GetPollingMax();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_From_int((int)result
);
10908 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (int)(arg1
)->GetRudderMin();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_From_int((int)result
);
10934 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10938 PyObject
* obj0
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (int)(arg1
)->GetRudderMax();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_From_int((int)result
);
10960 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 result
= (int)(arg1
)->GetUMin();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_From_int((int)result
);
10986 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10990 PyObject
* obj0
= 0 ;
10991 char *kwnames
[] = {
10992 (char *) "self", NULL
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (int)(arg1
)->GetUMax();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= SWIG_From_int((int)result
);
11012 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (int)(arg1
)->GetVMin();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_From_int((int)result
);
11038 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (int)(arg1
)->GetVMax();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_From_int((int)result
);
11064 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->HasRudder();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11092 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)(arg1
)->HasZ();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11120 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)(arg1
)->HasU();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11148 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)(arg1
)->HasV();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11180 PyObject
* obj0
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)(arg1
)->HasPOV();
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11204 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->HasPOV4Dir();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (bool)(arg1
)->HasPOVCTS();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11263 wxWindow
*arg2
= (wxWindow
*) 0 ;
11264 int arg3
= (int) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 PyObject
* obj2
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 arg3
= (int)SWIG_As_int(obj2
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11298 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (bool)(arg1
)->ReleaseCapture();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11326 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11329 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11331 return Py_BuildValue((char *)"");
11333 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11336 wxPoint
*arg2
= (wxPoint
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "m_pos", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 if (arg1
) (arg1
)->m_pos
= *arg2
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11369 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11378 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self",(char *) "m_zPosition", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11391 arg2
= (int)SWIG_As_int(obj1
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11393 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11395 Py_INCREF(Py_None
); resultobj
= Py_None
;
11402 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11414 result
= (int) ((arg1
)->m_zPosition
);
11416 resultobj
= SWIG_From_int((int)result
);
11423 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "m_buttonChange", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= (int)SWIG_As_int(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11438 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11440 Py_INCREF(Py_None
); resultobj
= Py_None
;
11447 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 result
= (int) ((arg1
)->m_buttonChange
);
11461 resultobj
= SWIG_From_int((int)result
);
11468 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self",(char *) "m_buttonState", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 arg2
= (int)SWIG_As_int(obj1
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11483 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11485 Py_INCREF(Py_None
); resultobj
= Py_None
;
11492 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 result
= (int) ((arg1
)->m_buttonState
);
11506 resultobj
= SWIG_From_int((int)result
);
11513 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "m_joyStick", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 arg2
= (int)SWIG_As_int(obj1
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11528 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11530 Py_INCREF(Py_None
); resultobj
= Py_None
;
11537 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11549 result
= (int) ((arg1
)->m_joyStick
);
11551 resultobj
= SWIG_From_int((int)result
);
11558 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11561 int arg2
= (int) 0 ;
11562 int arg3
= (int) wxJOYSTICK1
;
11563 int arg4
= (int) 0 ;
11564 wxJoystickEvent
*result
;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 PyObject
* obj2
= 0 ;
11568 PyObject
* obj3
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11575 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 arg2
= (int)SWIG_As_int(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11583 arg3
= (int)SWIG_As_int(obj2
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11587 arg4
= (int)SWIG_As_int(obj3
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11604 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11624 wxPoint
* resultptr
;
11625 resultptr
= new wxPoint((wxPoint
&) result
);
11626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11634 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_From_int((int)result
);
11660 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_From_int((int)result
);
11686 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_From_int((int)result
);
11712 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= SWIG_From_int((int)result
);
11738 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "stick", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11751 arg2
= (int)SWIG_As_int(obj1
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 (arg1
)->SetJoystick(arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 Py_INCREF(Py_None
); resultobj
= Py_None
;
11767 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self",(char *) "state", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 arg2
= (int)SWIG_As_int(obj1
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->SetButtonState(arg2
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11796 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self",(char *) "change", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11809 arg2
= (int)SWIG_As_int(obj1
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 (arg1
)->SetButtonChange(arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 Py_INCREF(Py_None
); resultobj
= Py_None
;
11825 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11828 wxPoint
*arg2
= 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "pos", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "zPos", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 arg2
= (int)SWIG_As_int(obj1
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 (arg1
)->SetZPosition(arg2
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 Py_INCREF(Py_None
); resultobj
= Py_None
;
11886 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11914 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11918 PyObject
* obj0
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11970 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11973 int arg2
= (int) wxJOY_BUTTON_ANY
;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self",(char *) "but", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 arg2
= (int)SWIG_As_int(obj1
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12007 int arg2
= (int) wxJOY_BUTTON_ANY
;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "but", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 arg2
= (int)SWIG_As_int(obj1
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12038 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12041 int arg2
= (int) wxJOY_BUTTON_ANY
;
12043 PyObject
* obj0
= 0 ;
12044 PyObject
* obj1
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "but", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 arg2
= (int)SWIG_As_int(obj1
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12072 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12075 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12077 return Py_BuildValue((char *)"");
12079 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12082 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12084 bool temp1
= false ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "fileName", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12093 arg1
= wxString_in_helper(obj0
);
12094 if (arg1
== NULL
) SWIG_fail
;
12099 if (!wxPyCheckForApp()) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12121 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 PyObject
*arg1
= (PyObject
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "data", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12133 if (!wxPyCheckForApp()) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (wxSound
*)new_wxSound(arg1
);
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12147 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxSound
*arg1
= (wxSound
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxSound
*arg1
= (wxSound
*) 0 ;
12175 wxString
*arg2
= 0 ;
12177 bool temp2
= false ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "fileName", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12216 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxSound
*arg1
= (wxSound
*) 0 ;
12219 PyObject
*arg2
= (PyObject
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "data", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxSound
*arg1
= (wxSound
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (bool)(arg1
)->IsOk();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12275 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxSound
*arg1
= (wxSound
*) 0 ;
12278 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "flags", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 if (!wxPyCheckForApp()) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12310 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxString
*arg1
= 0 ;
12313 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12315 bool temp1
= false ;
12316 PyObject
* obj0
= 0 ;
12317 PyObject
* obj1
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "filename",(char *) "flags", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12324 arg1
= wxString_in_helper(obj0
);
12325 if (arg1
== NULL
) SWIG_fail
;
12329 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12333 if (!wxPyCheckForApp()) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12357 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 char *kwnames
[] = {
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12365 if (!wxPyCheckForApp()) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12382 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12384 return Py_BuildValue((char *)"");
12386 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxString
*arg1
= 0 ;
12389 wxString
*arg2
= 0 ;
12390 wxString
*arg3
= 0 ;
12391 wxString
*arg4
= 0 ;
12392 wxFileTypeInfo
*result
;
12393 bool temp1
= false ;
12394 bool temp2
= false ;
12395 bool temp3
= false ;
12396 bool temp4
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 PyObject
* obj3
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12407 arg1
= wxString_in_helper(obj0
);
12408 if (arg1
== NULL
) SWIG_fail
;
12412 arg2
= wxString_in_helper(obj1
);
12413 if (arg2
== NULL
) SWIG_fail
;
12417 arg3
= wxString_in_helper(obj2
);
12418 if (arg3
== NULL
) SWIG_fail
;
12422 arg4
= wxString_in_helper(obj3
);
12423 if (arg4
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12472 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
;
12474 wxArrayString
*arg1
= 0 ;
12475 wxFileTypeInfo
*result
;
12476 bool temp1
= false ;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "sArray", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12484 if (! PySequence_Check(obj0
)) {
12485 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12488 arg1
= new wxArrayString
;
12490 int i
, len
=PySequence_Length(obj0
);
12491 for (i
=0; i
<len
; i
++) {
12492 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12494 PyObject
* str
= PyObject_Unicode(item
);
12496 PyObject
* str
= PyObject_Str(item
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12499 arg1
->Add(Py2wxString(str
));
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12513 if (temp1
) delete arg1
;
12518 if (temp1
) delete arg1
;
12524 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxFileTypeInfo
*result
;
12527 char *kwnames
[] = {
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12546 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12574 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12577 wxString
*arg2
= 0 ;
12578 int arg3
= (int) 0 ;
12579 bool temp2
= false ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 arg2
= wxString_in_helper(obj1
);
12592 if (arg2
== NULL
) SWIG_fail
;
12596 arg3
= (int)SWIG_As_int(obj2
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12624 wxString
*arg2
= 0 ;
12625 bool temp2
= false ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "shortDesc", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 arg2
= wxString_in_helper(obj1
);
12637 if (arg2
== NULL
) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12647 Py_INCREF(Py_None
); resultobj
= Py_None
;
12662 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12678 result
= (wxString
*) &_result_ref
;
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12697 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12713 result
= (wxString
*) &_result_ref
;
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12723 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12732 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "self", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12748 result
= (wxString
*) &_result_ref
;
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12758 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12767 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12783 result
= (wxString
*) &_result_ref
;
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12802 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12818 result
= (wxString
*) &_result_ref
;
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12828 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12837 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12840 wxArrayString
*result
;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12853 result
= (wxArrayString
*) &_result_ref
;
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= wxArrayString2PyList_helper(*result
);
12868 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_From_int((int)result
);
12894 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12910 result
= (wxString
*) &_result_ref
;
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12920 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12929 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_From_int((int)result
);
12955 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12958 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12960 return Py_BuildValue((char *)"");
12962 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxFileTypeInfo
*arg1
= 0 ;
12965 wxFileType
*result
;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "ftInfo", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12975 if (arg1
== NULL
) {
12976 PyErr_SetString(PyExc_TypeError
,"null reference");
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12993 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxFileType
*arg1
= (wxFileType
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxFileType
*arg1
= (wxFileType
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
;
13044 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxFileType
*arg1
= (wxFileType
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
13054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= result
;
13070 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxFileType
*arg1
= (wxFileType
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= result
;
13096 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxFileType
*arg1
= (wxFileType
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13122 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxFileType
*arg1
= (wxFileType
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= result
;
13148 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxFileType
*arg1
= (wxFileType
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= result
;
13174 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxFileType
*arg1
= (wxFileType
*) 0 ;
13177 wxString
*arg2
= 0 ;
13178 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13179 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13181 bool temp2
= false ;
13182 bool temp3
= false ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 PyObject
* obj2
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 arg2
= wxString_in_helper(obj1
);
13195 if (arg2
== NULL
) SWIG_fail
;
13200 arg3
= wxString_in_helper(obj2
);
13201 if (arg3
== NULL
) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
;
13235 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxFileType
*arg1
= (wxFileType
*) 0 ;
13238 wxString
*arg2
= 0 ;
13239 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13240 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13242 bool temp2
= false ;
13243 bool temp3
= false ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 PyObject
* obj2
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 arg2
= wxString_in_helper(obj1
);
13256 if (arg2
== NULL
) SWIG_fail
;
13261 arg3
= wxString_in_helper(obj2
);
13262 if (arg3
== NULL
) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= result
;
13296 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxFileType
*arg1
= (wxFileType
*) 0 ;
13299 wxString
*arg2
= 0 ;
13300 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13301 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13303 bool temp2
= false ;
13304 bool temp3
= false ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 arg2
= wxString_in_helper(obj1
);
13317 if (arg2
== NULL
) SWIG_fail
;
13322 arg3
= wxString_in_helper(obj2
);
13323 if (arg3
== NULL
) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
;
13357 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxFileType
*arg1
= (wxFileType
*) 0 ;
13360 wxString
*arg2
= 0 ;
13361 wxString
*arg3
= 0 ;
13362 bool arg4
= (bool) true ;
13364 bool temp2
= false ;
13365 bool temp3
= false ;
13366 PyObject
* obj0
= 0 ;
13367 PyObject
* obj1
= 0 ;
13368 PyObject
* obj2
= 0 ;
13369 PyObject
* obj3
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13378 arg2
= wxString_in_helper(obj1
);
13379 if (arg2
== NULL
) SWIG_fail
;
13383 arg3
= wxString_in_helper(obj2
);
13384 if (arg3
== NULL
) SWIG_fail
;
13388 arg4
= (bool)SWIG_As_bool(obj3
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13423 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxFileType
*arg1
= (wxFileType
*) 0 ;
13426 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13427 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13428 int arg3
= (int) 0 ;
13430 bool temp2
= false ;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 PyObject
* obj2
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self",(char *) "cmd",(char *) "index", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 arg2
= wxString_in_helper(obj1
);
13444 if (arg2
== NULL
) SWIG_fail
;
13449 arg3
= (int)SWIG_As_int(obj2
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxFileType
*arg1
= (wxFileType
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (bool)(arg1
)->Unassociate();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxString
*arg1
= 0 ;
13507 wxString
*arg2
= 0 ;
13508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13511 bool temp1
= false ;
13512 bool temp2
= false ;
13513 bool temp3
= false ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13523 arg1
= wxString_in_helper(obj0
);
13524 if (arg1
== NULL
) SWIG_fail
;
13528 arg2
= wxString_in_helper(obj1
);
13529 if (arg2
== NULL
) SWIG_fail
;
13534 arg3
= wxString_in_helper(obj2
);
13535 if (arg3
== NULL
) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13583 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13586 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13588 return Py_BuildValue((char *)"");
13590 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13591 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13596 static PyObject
*_wrap_TheMimeTypesManager_get() {
13599 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13604 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxString
*arg1
= 0 ;
13607 wxString
*arg2
= 0 ;
13609 bool temp1
= false ;
13610 bool temp2
= false ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "mimeType",(char *) "wildcard", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13619 arg1
= wxString_in_helper(obj0
);
13620 if (arg1
== NULL
) SWIG_fail
;
13624 arg2
= wxString_in_helper(obj1
);
13625 if (arg2
== NULL
) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13660 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxMimeTypesManager
*result
;
13663 char *kwnames
[] = {
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13682 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13685 int arg2
= (int) wxMAILCAP_ALL
;
13686 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13688 bool temp3
= false ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 PyObject
* obj2
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13700 arg2
= (int)SWIG_As_int(obj1
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13705 arg3
= wxString_in_helper(obj2
);
13706 if (arg3
== NULL
) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 Py_INCREF(Py_None
); resultobj
= Py_None
;
13732 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13735 PyObject
* obj0
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 (arg1
)->ClearData();
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 Py_INCREF(Py_None
); resultobj
= Py_None
;
13757 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13760 wxString
*arg2
= 0 ;
13761 wxFileType
*result
;
13762 bool temp2
= false ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "ext", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 arg2
= wxString_in_helper(obj1
);
13774 if (arg2
== NULL
) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13799 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13802 wxString
*arg2
= 0 ;
13803 wxFileType
*result
;
13804 bool temp2
= false ;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self",(char *) "mimeType", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 arg2
= wxString_in_helper(obj1
);
13816 if (arg2
== NULL
) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13841 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13844 wxString
*arg2
= 0 ;
13845 bool arg3
= (bool) false ;
13847 bool temp2
= false ;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 PyObject
* obj2
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 arg2
= wxString_in_helper(obj1
);
13860 if (arg2
== NULL
) SWIG_fail
;
13864 arg3
= (bool)SWIG_As_bool(obj2
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13891 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13894 wxString
*arg2
= 0 ;
13896 bool temp2
= false ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "filename", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 arg2
= wxString_in_helper(obj1
);
13908 if (arg2
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13935 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= result
;
13961 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13964 wxFileTypeInfo
*arg2
= 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "ft", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13977 if (arg2
== NULL
) {
13978 PyErr_SetString(PyExc_TypeError
,"null reference");
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 Py_INCREF(Py_None
); resultobj
= Py_None
;
13995 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13998 wxFileTypeInfo
*arg2
= 0 ;
13999 wxFileType
*result
;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self",(char *) "ftInfo", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14012 if (arg2
== NULL
) {
14013 PyErr_SetString(PyExc_TypeError
,"null reference");
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14030 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14033 wxFileType
*arg2
= (wxFileType
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 PyObject
* obj1
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self",(char *) "ft", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
14045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (bool)(arg1
)->Unassociate(arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14062 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 Py_INCREF(Py_None
); resultobj
= Py_None
;
14087 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14090 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14092 return Py_BuildValue((char *)"");
14094 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14095 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14100 static PyObject
*_wrap_ART_TOOLBAR_get() {
14105 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14107 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14114 static int _wrap_ART_MENU_set(PyObject
*) {
14115 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14120 static PyObject
*_wrap_ART_MENU_get() {
14125 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14127 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14134 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14135 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14140 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14145 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14147 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14154 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14155 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14160 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14165 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14167 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14174 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14175 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14180 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14185 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14187 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14194 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14195 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14200 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14205 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14207 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14214 static int _wrap_ART_BUTTON_set(PyObject
*) {
14215 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14220 static PyObject
*_wrap_ART_BUTTON_get() {
14225 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14227 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14234 static int _wrap_ART_OTHER_set(PyObject
*) {
14235 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14240 static PyObject
*_wrap_ART_OTHER_get() {
14245 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14247 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14254 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14255 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14260 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14265 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14267 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14274 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14275 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14280 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14285 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14287 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14294 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14295 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14300 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14305 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14307 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14314 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14315 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14320 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14325 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14327 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14334 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14335 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14340 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14345 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14347 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14354 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14355 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14360 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14365 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14367 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14374 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14375 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14380 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14385 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14387 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14394 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14395 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14400 static PyObject
*_wrap_ART_GO_BACK_get() {
14405 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14407 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14414 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14415 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14420 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14425 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14427 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14434 static int _wrap_ART_GO_UP_set(PyObject
*) {
14435 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14440 static PyObject
*_wrap_ART_GO_UP_get() {
14445 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14447 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14454 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14455 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14460 static PyObject
*_wrap_ART_GO_DOWN_get() {
14465 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14467 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14474 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14475 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14480 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14485 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14487 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14494 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14495 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14500 static PyObject
*_wrap_ART_GO_HOME_get() {
14505 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14507 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14514 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14515 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14520 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14525 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14527 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14534 static int _wrap_ART_PRINT_set(PyObject
*) {
14535 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14540 static PyObject
*_wrap_ART_PRINT_get() {
14545 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14547 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14554 static int _wrap_ART_HELP_set(PyObject
*) {
14555 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14560 static PyObject
*_wrap_ART_HELP_get() {
14565 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14567 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14574 static int _wrap_ART_TIP_set(PyObject
*) {
14575 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14580 static PyObject
*_wrap_ART_TIP_get() {
14585 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14587 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14594 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14595 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14600 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14605 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14607 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14614 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14615 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14620 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14625 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14627 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14634 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14635 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14640 static PyObject
*_wrap_ART_NEW_DIR_get() {
14645 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14647 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14654 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14655 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14660 static PyObject
*_wrap_ART_HARDDISK_get() {
14665 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14667 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14674 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14675 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14680 static PyObject
*_wrap_ART_FLOPPY_get() {
14685 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14687 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14694 static int _wrap_ART_CDROM_set(PyObject
*) {
14695 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14700 static PyObject
*_wrap_ART_CDROM_get() {
14705 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14707 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14714 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14715 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14720 static PyObject
*_wrap_ART_REMOVABLE_get() {
14725 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14727 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14734 static int _wrap_ART_FOLDER_set(PyObject
*) {
14735 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14740 static PyObject
*_wrap_ART_FOLDER_get() {
14745 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14747 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14754 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14755 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14760 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14765 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14767 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14774 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14775 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14780 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14785 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14787 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14794 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14795 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14800 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14805 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14807 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14814 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14815 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14820 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14825 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14827 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14834 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14835 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14840 static PyObject
*_wrap_ART_TICK_MARK_get() {
14845 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14847 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14854 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14855 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14860 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14865 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14867 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14874 static int _wrap_ART_ERROR_set(PyObject
*) {
14875 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14880 static PyObject
*_wrap_ART_ERROR_get() {
14885 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14887 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14894 static int _wrap_ART_QUESTION_set(PyObject
*) {
14895 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14900 static PyObject
*_wrap_ART_QUESTION_get() {
14905 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14907 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14914 static int _wrap_ART_WARNING_set(PyObject
*) {
14915 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14920 static PyObject
*_wrap_ART_WARNING_get() {
14925 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14927 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14934 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14935 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14940 static PyObject
*_wrap_ART_INFORMATION_get() {
14945 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14947 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14954 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14955 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14960 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14965 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14967 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14974 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxPyArtProvider
*result
;
14977 char *kwnames
[] = {
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14983 if (!wxPyCheckForApp()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14997 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15000 PyObject
*arg2
= (PyObject
*) 0 ;
15001 PyObject
*arg3
= (PyObject
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 PyObject
* obj2
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self",(char *) "self",(char *) "_class", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 Py_INCREF(Py_None
); resultobj
= Py_None
;
15028 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "provider", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 wxPyArtProvider::PushProvider(arg1
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15056 char *kwnames
[] = {
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (bool)wxPyArtProvider::PopProvider();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15077 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "provider", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15105 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxString
*arg1
= 0 ;
15108 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15109 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15110 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15111 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15113 bool temp1
= false ;
15114 bool temp2
= false ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 PyObject
* obj2
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "id",(char *) "client",(char *) "size", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15125 arg1
= wxString_in_helper(obj0
);
15126 if (arg1
== NULL
) SWIG_fail
;
15131 arg2
= wxString_in_helper(obj1
);
15132 if (arg2
== NULL
) SWIG_fail
;
15139 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15143 if (!wxPyCheckForApp()) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 wxBitmap
* resultptr
;
15152 resultptr
= new wxBitmap((wxBitmap
&) result
);
15153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15177 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxString
*arg1
= 0 ;
15180 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15181 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15182 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15183 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15185 bool temp1
= false ;
15186 bool temp2
= false ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 PyObject
* obj2
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "id",(char *) "client",(char *) "size", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15197 arg1
= wxString_in_helper(obj0
);
15198 if (arg1
== NULL
) SWIG_fail
;
15203 arg2
= wxString_in_helper(obj1
);
15204 if (arg2
== NULL
) SWIG_fail
;
15211 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15215 if (!wxPyCheckForApp()) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 wxIcon
* resultptr
;
15224 resultptr
= new wxIcon((wxIcon
&) result
);
15225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15249 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 wxPyArtProvider_Destroy(arg1
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 Py_INCREF(Py_None
); resultobj
= Py_None
;
15274 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15277 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15279 return Py_BuildValue((char *)"");
15281 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 Py_INCREF(Py_None
); resultobj
= Py_None
;
15306 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15309 wxConfigBase
*result
;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "config", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15332 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 bool arg1
= (bool) true ;
15335 wxConfigBase
*result
;
15336 PyObject
* obj0
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "createOnDemand", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15343 arg1
= (bool)SWIG_As_bool(obj0
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15360 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxConfigBase
*result
;
15363 char *kwnames
[] = {
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (wxConfigBase
*)wxConfigBase::Create();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15382 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 char *kwnames
[] = {
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 wxConfigBase::DontCreateOnDemand();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15406 wxString
*arg2
= 0 ;
15407 bool temp2
= false ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "path", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= wxString_in_helper(obj1
);
15419 if (arg2
== NULL
) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->SetPath((wxString
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15444 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15460 result
= (wxString
*) &_result_ref
;
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15479 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= result
;
15505 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "index", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15519 arg2
= (long)SWIG_As_long(obj1
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= result
;
15535 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
;
15561 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "index", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 arg2
= (long)SWIG_As_long(obj1
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= result
;
15591 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15594 bool arg2
= (bool) false ;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "self",(char *) "recursive", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15606 arg2
= (bool)SWIG_As_bool(obj1
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15623 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15626 bool arg2
= (bool) false ;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self",(char *) "recursive", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 arg2
= (bool)SWIG_As_bool(obj1
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15655 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15658 wxString
*arg2
= 0 ;
15660 bool temp2
= false ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self",(char *) "name", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 arg2
= wxString_in_helper(obj1
);
15672 if (arg2
== NULL
) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15702 wxString
*arg2
= 0 ;
15704 bool temp2
= false ;
15705 PyObject
* obj0
= 0 ;
15706 PyObject
* obj1
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self",(char *) "name", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 arg2
= wxString_in_helper(obj1
);
15716 if (arg2
== NULL
) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15743 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15746 wxString
*arg2
= 0 ;
15748 bool temp2
= false ;
15749 PyObject
* obj0
= 0 ;
15750 PyObject
* obj1
= 0 ;
15751 char *kwnames
[] = {
15752 (char *) "self",(char *) "name", NULL
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 arg2
= wxString_in_helper(obj1
);
15760 if (arg2
== NULL
) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15787 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15790 wxString
*arg2
= 0 ;
15792 bool temp2
= false ;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "name", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 arg2
= wxString_in_helper(obj1
);
15804 if (arg2
== NULL
) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_From_int((int)result
);
15829 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15832 wxString
*arg2
= 0 ;
15833 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15836 bool temp2
= false ;
15837 bool temp3
= false ;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 PyObject
* obj2
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 arg2
= wxString_in_helper(obj1
);
15850 if (arg2
== NULL
) SWIG_fail
;
15855 arg3
= wxString_in_helper(obj2
);
15856 if (arg3
== NULL
) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15896 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15899 wxString
*arg2
= 0 ;
15900 long arg3
= (long) 0 ;
15902 bool temp2
= false ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 PyObject
* obj2
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 arg2
= wxString_in_helper(obj1
);
15915 if (arg2
== NULL
) SWIG_fail
;
15919 arg3
= (long)SWIG_As_long(obj2
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= SWIG_From_long((long)result
);
15944 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15947 wxString
*arg2
= 0 ;
15948 double arg3
= (double) 0.0 ;
15950 bool temp2
= false ;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 PyObject
* obj2
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 arg2
= wxString_in_helper(obj1
);
15963 if (arg2
== NULL
) SWIG_fail
;
15967 arg3
= (double)SWIG_As_double(obj2
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_From_double((double)result
);
15992 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15995 wxString
*arg2
= 0 ;
15996 bool arg3
= (bool) false ;
15998 bool temp2
= false ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 PyObject
* obj2
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 arg2
= wxString_in_helper(obj1
);
16011 if (arg2
== NULL
) SWIG_fail
;
16015 arg3
= (bool)SWIG_As_bool(obj2
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16045 wxString
*arg2
= 0 ;
16046 wxString
*arg3
= 0 ;
16048 bool temp2
= false ;
16049 bool temp3
= false ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 PyObject
* obj2
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self",(char *) "key",(char *) "value", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 arg2
= wxString_in_helper(obj1
);
16062 if (arg2
== NULL
) SWIG_fail
;
16066 arg3
= wxString_in_helper(obj2
);
16067 if (arg3
== NULL
) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16102 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16105 wxString
*arg2
= 0 ;
16108 bool temp2
= false ;
16109 PyObject
* obj0
= 0 ;
16110 PyObject
* obj1
= 0 ;
16111 PyObject
* obj2
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "self",(char *) "key",(char *) "value", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16120 arg2
= wxString_in_helper(obj1
);
16121 if (arg2
== NULL
) SWIG_fail
;
16124 arg3
= (long)SWIG_As_long(obj2
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16150 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16153 wxString
*arg2
= 0 ;
16156 bool temp2
= false ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 PyObject
* obj2
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self",(char *) "key",(char *) "value", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 arg2
= wxString_in_helper(obj1
);
16169 if (arg2
== NULL
) SWIG_fail
;
16172 arg3
= (double)SWIG_As_double(obj2
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16201 wxString
*arg2
= 0 ;
16204 bool temp2
= false ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 PyObject
* obj2
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self",(char *) "key",(char *) "value", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 arg2
= wxString_in_helper(obj1
);
16217 if (arg2
== NULL
) SWIG_fail
;
16220 arg3
= (bool)SWIG_As_bool(obj2
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16246 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16249 bool arg2
= (bool) false ;
16251 PyObject
* obj0
= 0 ;
16252 PyObject
* obj1
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self",(char *) "currentOnly", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 arg2
= (bool)SWIG_As_bool(obj1
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= (bool)(arg1
)->Flush(arg2
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16280 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16283 wxString
*arg2
= 0 ;
16284 wxString
*arg3
= 0 ;
16286 bool temp2
= false ;
16287 bool temp3
= false ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 PyObject
* obj2
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 arg2
= wxString_in_helper(obj1
);
16300 if (arg2
== NULL
) SWIG_fail
;
16304 arg3
= wxString_in_helper(obj2
);
16305 if (arg3
== NULL
) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16340 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16343 wxString
*arg2
= 0 ;
16344 wxString
*arg3
= 0 ;
16346 bool temp2
= false ;
16347 bool temp3
= false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 PyObject
* obj2
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16359 arg2
= wxString_in_helper(obj1
);
16360 if (arg2
== NULL
) SWIG_fail
;
16364 arg3
= wxString_in_helper(obj2
);
16365 if (arg3
== NULL
) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16400 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16403 wxString
*arg2
= 0 ;
16404 bool arg3
= (bool) true ;
16406 bool temp2
= false ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 PyObject
* obj2
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 arg2
= wxString_in_helper(obj1
);
16419 if (arg2
== NULL
) SWIG_fail
;
16423 arg3
= (bool)SWIG_As_bool(obj2
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16450 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16453 wxString
*arg2
= 0 ;
16455 bool temp2
= false ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self",(char *) "key", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 arg2
= wxString_in_helper(obj1
);
16467 if (arg2
== NULL
) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16494 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (bool)(arg1
)->DeleteAll();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16522 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16525 bool arg2
= (bool) true ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "doIt", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 arg2
= (bool)SWIG_As_bool(obj1
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 (arg1
)->SetExpandEnvVars(arg2
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16581 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16584 bool arg2
= (bool) true ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "doIt", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 arg2
= (bool)SWIG_As_bool(obj1
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 (arg1
)->SetRecordDefaults(arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16643 wxString
*arg2
= 0 ;
16645 bool temp2
= false ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self",(char *) "str", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16656 arg2
= wxString_in_helper(obj1
);
16657 if (arg2
== NULL
) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16688 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16720 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16752 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16755 wxString
*arg2
= 0 ;
16756 bool temp2
= false ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "appName", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16767 arg2
= wxString_in_helper(obj1
);
16768 if (arg2
== NULL
) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 (arg1
)->SetAppName((wxString
const &)*arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16796 wxString
*arg2
= 0 ;
16797 bool temp2
= false ;
16798 PyObject
* obj0
= 0 ;
16799 PyObject
* obj1
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self",(char *) "vendorName", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 arg2
= wxString_in_helper(obj1
);
16809 if (arg2
== NULL
) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 Py_INCREF(Py_None
); resultobj
= Py_None
;
16834 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self",(char *) "style", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16847 arg2
= (long)SWIG_As_long(obj1
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->SetStyle(arg2
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 Py_INCREF(Py_None
); resultobj
= Py_None
;
16863 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_From_long((long)result
);
16889 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16894 return Py_BuildValue((char *)"");
16896 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16899 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16900 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16901 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16904 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16905 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16906 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16908 bool temp1
= false ;
16909 bool temp2
= false ;
16910 bool temp3
= false ;
16911 bool temp4
= false ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 PyObject
* obj2
= 0 ;
16915 PyObject
* obj3
= 0 ;
16916 PyObject
* obj4
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16924 arg1
= wxString_in_helper(obj0
);
16925 if (arg1
== NULL
) SWIG_fail
;
16931 arg2
= wxString_in_helper(obj1
);
16932 if (arg2
== NULL
) SWIG_fail
;
16938 arg3
= wxString_in_helper(obj2
);
16939 if (arg3
== NULL
) SWIG_fail
;
16945 arg4
= wxString_in_helper(obj3
);
16946 if (arg4
== NULL
) SWIG_fail
;
16951 arg5
= (long)SWIG_As_long(obj4
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
17000 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17002 wxConfig
*arg1
= (wxConfig
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 Py_INCREF(Py_None
); resultobj
= Py_None
;
17025 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
17027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17028 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
17030 return Py_BuildValue((char *)"");
17032 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17035 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17036 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17037 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17038 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17039 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17040 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17041 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17042 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
17043 wxFileConfig
*result
;
17044 bool temp1
= false ;
17045 bool temp2
= false ;
17046 bool temp3
= false ;
17047 bool temp4
= false ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 PyObject
* obj2
= 0 ;
17051 PyObject
* obj3
= 0 ;
17052 PyObject
* obj4
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17060 arg1
= wxString_in_helper(obj0
);
17061 if (arg1
== NULL
) SWIG_fail
;
17067 arg2
= wxString_in_helper(obj1
);
17068 if (arg2
== NULL
) SWIG_fail
;
17074 arg3
= wxString_in_helper(obj2
);
17075 if (arg3
== NULL
) SWIG_fail
;
17081 arg4
= wxString_in_helper(obj3
);
17082 if (arg4
== NULL
) SWIG_fail
;
17087 arg5
= (long)SWIG_As_long(obj4
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17136 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 Py_INCREF(Py_None
); resultobj
= Py_None
;
17161 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17164 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17166 return Py_BuildValue((char *)"");
17168 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17171 wxString
*arg2
= 0 ;
17172 wxConfigPathChanger
*result
;
17173 bool temp2
= false ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "config",(char *) "entry", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 arg2
= wxString_in_helper(obj1
);
17185 if (arg2
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17210 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17251 result
= (wxString
*) &_result_ref
;
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17270 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17273 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17275 return Py_BuildValue((char *)"");
17277 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxString
*arg1
= 0 ;
17281 bool temp1
= false ;
17282 PyObject
* obj0
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "sz", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17289 arg1
= wxString_in_helper(obj0
);
17290 if (arg1
== NULL
) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17321 static int _wrap_DateFormatStr_set(PyObject
*) {
17322 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17327 static PyObject
*_wrap_DateFormatStr_get() {
17332 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17334 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17341 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17342 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17347 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17352 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17354 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17361 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17364 PyObject
* obj0
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "country", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17370 arg1
= (int)SWIG_As_int(obj0
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 Py_INCREF(Py_None
); resultobj
= Py_None
;
17386 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17389 char *kwnames
[] = {
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (int)wxDateTime::GetCountry();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_From_int((int)result
);
17408 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 int arg1
= (int) wxDateTime::Country_Default
;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "country", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17419 arg1
= (int)SWIG_As_int(obj0
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 int arg1
= (int) wxDateTime::Gregorian
;
17442 PyObject
* obj0
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "cal", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17449 arg1
= (int)SWIG_As_int(obj0
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= SWIG_From_int((int)result
);
17466 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "year", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17476 arg1
= (int)SWIG_As_int(obj0
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_From_int((int)result
);
17492 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 int arg1
= (int) wxDateTime::Gregorian
;
17496 PyObject
* obj0
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "cal", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17503 arg1
= (int)SWIG_As_int(obj0
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_From_int((int)result
);
17520 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 int arg1
= (int) wxDateTime::Inv_Year
;
17523 int arg2
= (int) wxDateTime::Gregorian
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "year",(char *) "cal", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17533 arg1
= (int)SWIG_As_int(obj0
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17537 arg2
= (int)SWIG_As_int(obj1
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17556 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 int arg1
= (int) wxDateTime::Inv_Year
;
17560 PyObject
* obj0
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "year", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17567 arg1
= (int)SWIG_As_int(obj0
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (int)wxDateTime::GetCentury(arg1
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_From_int((int)result
);
17584 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17587 int arg2
= (int) wxDateTime::Gregorian
;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "year",(char *) "cal", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17596 arg1
= (int)SWIG_As_int(obj0
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 arg2
= (int)SWIG_As_int(obj1
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_From_int((int)result
);
17616 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17619 int arg2
= (int) wxDateTime::Inv_Year
;
17620 int arg3
= (int) wxDateTime::Gregorian
;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "month",(char *) "year",(char *) "cal", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17630 arg1
= (int)SWIG_As_int(obj0
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 arg2
= (int)SWIG_As_int(obj1
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17637 arg3
= (int)SWIG_As_int(obj2
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_From_int((int)result
);
17654 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17657 int arg2
= (int) wxDateTime::Name_Full
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "month",(char *) "flags", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17666 arg1
= (int)SWIG_As_int(obj0
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 arg2
= (int)SWIG_As_int(obj1
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17692 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17695 int arg2
= (int) wxDateTime::Name_Full
;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "weekday",(char *) "flags", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17704 arg1
= (int)SWIG_As_int(obj0
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 arg2
= (int)SWIG_As_int(obj1
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17730 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxString
*arg1
= (wxString
*) 0 ;
17733 wxString
*arg2
= (wxString
*) 0 ;
17734 bool temp1
= false ;
17735 bool temp2
= false ;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 arg1
= wxString_in_helper(obj0
);
17745 if (arg1
== NULL
) SWIG_fail
;
17749 arg2
= wxString_in_helper(obj1
);
17750 if (arg2
== NULL
) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 Py_INCREF(Py_None
); resultobj
= Py_None
;
17783 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 int arg1
= (int) wxDateTime::Inv_Year
;
17786 int arg2
= (int) wxDateTime::Country_Default
;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "year",(char *) "country", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17796 arg1
= (int)SWIG_As_int(obj0
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 arg2
= (int)SWIG_As_int(obj1
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17819 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 int arg1
= (int) wxDateTime::Inv_Year
;
17822 int arg2
= (int) wxDateTime::Country_Default
;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "year",(char *) "country", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17832 arg1
= (int)SWIG_As_int(obj0
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 arg2
= (int)SWIG_As_int(obj1
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 wxDateTime
* resultptr
;
17848 resultptr
= new wxDateTime((wxDateTime
&) result
);
17849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17857 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 int arg1
= (int) wxDateTime::Inv_Year
;
17860 int arg2
= (int) wxDateTime::Country_Default
;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "year",(char *) "country", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17870 arg1
= (int)SWIG_As_int(obj0
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 arg2
= (int)SWIG_As_int(obj1
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 wxDateTime
* resultptr
;
17886 resultptr
= new wxDateTime((wxDateTime
&) result
);
17887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17895 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17898 char *kwnames
[] = {
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= wxDateTime::Now();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17911 wxDateTime
* resultptr
;
17912 resultptr
= new wxDateTime((wxDateTime
&) result
);
17913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17921 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17924 char *kwnames
[] = {
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= wxDateTime::UNow();
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17937 wxDateTime
* resultptr
;
17938 resultptr
= new wxDateTime((wxDateTime
&) result
);
17939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17947 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17950 char *kwnames
[] = {
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= wxDateTime::Today();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 wxDateTime
* resultptr
;
17964 resultptr
= new wxDateTime((wxDateTime
&) result
);
17965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17973 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxDateTime
*result
;
17976 char *kwnames
[] = {
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (wxDateTime
*)new wxDateTime();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17995 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17998 wxDateTime
*result
;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "timet", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
18005 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (wxDateTime
*)new wxDateTime(arg1
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18021 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18024 wxDateTime
*result
;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "jdn", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
18031 arg1
= (double)SWIG_As_double(obj0
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (wxDateTime
*)new wxDateTime(arg1
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18047 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18050 int arg2
= (int) 0 ;
18051 int arg3
= (int) 0 ;
18052 int arg4
= (int) 0 ;
18053 wxDateTime
*result
;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 PyObject
* obj2
= 0 ;
18057 PyObject
* obj3
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18063 arg1
= (int)SWIG_As_int(obj0
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 arg2
= (int)SWIG_As_int(obj1
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 arg3
= (int)SWIG_As_int(obj2
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 arg4
= (int)SWIG_As_int(obj3
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18091 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18094 int arg2
= (int) wxDateTime::Inv_Month
;
18095 int arg3
= (int) wxDateTime::Inv_Year
;
18096 int arg4
= (int) 0 ;
18097 int arg5
= (int) 0 ;
18098 int arg6
= (int) 0 ;
18099 int arg7
= (int) 0 ;
18100 wxDateTime
*result
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 PyObject
* obj2
= 0 ;
18104 PyObject
* obj3
= 0 ;
18105 PyObject
* obj4
= 0 ;
18106 PyObject
* obj5
= 0 ;
18107 PyObject
* obj6
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18113 arg1
= (int)SWIG_As_int(obj0
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 arg2
= (int)SWIG_As_int(obj1
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 arg3
= (int)SWIG_As_int(obj2
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18124 arg4
= (int)SWIG_As_int(obj3
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 arg5
= (int)SWIG_As_int(obj4
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 arg6
= (int)SWIG_As_int(obj5
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 arg7
= (int)SWIG_As_int(obj6
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18153 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18181 wxDateTime
*result
;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18194 result
= (wxDateTime
*) &_result_ref
;
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18207 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18211 wxDateTime
*result
;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self",(char *) "timet", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18221 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18227 result
= (wxDateTime
*) &_result_ref
;
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18240 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18244 wxDateTime
*result
;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self",(char *) "jdn", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 arg2
= (double)SWIG_As_double(obj1
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18260 result
= (wxDateTime
*) &_result_ref
;
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18273 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18277 int arg3
= (int) 0 ;
18278 int arg4
= (int) 0 ;
18279 int arg5
= (int) 0 ;
18280 wxDateTime
*result
;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 PyObject
* obj3
= 0 ;
18285 PyObject
* obj4
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18293 arg2
= (int)SWIG_As_int(obj1
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 arg3
= (int)SWIG_As_int(obj2
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 arg4
= (int)SWIG_As_int(obj3
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 arg5
= (int)SWIG_As_int(obj4
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18311 result
= (wxDateTime
*) &_result_ref
;
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18324 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18328 int arg3
= (int) wxDateTime::Inv_Month
;
18329 int arg4
= (int) wxDateTime::Inv_Year
;
18330 int arg5
= (int) 0 ;
18331 int arg6
= (int) 0 ;
18332 int arg7
= (int) 0 ;
18333 int arg8
= (int) 0 ;
18334 wxDateTime
*result
;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 PyObject
* obj2
= 0 ;
18338 PyObject
* obj3
= 0 ;
18339 PyObject
* obj4
= 0 ;
18340 PyObject
* obj5
= 0 ;
18341 PyObject
* obj6
= 0 ;
18342 PyObject
* obj7
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18350 arg2
= (int)SWIG_As_int(obj1
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 arg3
= (int)SWIG_As_int(obj2
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18357 arg4
= (int)SWIG_As_int(obj3
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 arg5
= (int)SWIG_As_int(obj4
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 arg6
= (int)SWIG_As_int(obj5
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 arg7
= (int)SWIG_As_int(obj6
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 arg8
= (int)SWIG_As_int(obj7
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18380 result
= (wxDateTime
*) &_result_ref
;
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18393 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18396 wxDateTime
*result
;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18409 result
= (wxDateTime
*) &_result_ref
;
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18422 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18426 wxDateTime
*result
;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "year", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 arg2
= (int)SWIG_As_int(obj1
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18442 result
= (wxDateTime
*) &_result_ref
;
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18455 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18459 wxDateTime
*result
;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "month", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 arg2
= (int)SWIG_As_int(obj1
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18475 result
= (wxDateTime
*) &_result_ref
;
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18488 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18492 wxDateTime
*result
;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self",(char *) "day", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18502 arg2
= (int)SWIG_As_int(obj1
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18508 result
= (wxDateTime
*) &_result_ref
;
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18521 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18525 wxDateTime
*result
;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self",(char *) "hour", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 arg2
= (int)SWIG_As_int(obj1
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18541 result
= (wxDateTime
*) &_result_ref
;
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18554 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18558 wxDateTime
*result
;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "minute", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 arg2
= (int)SWIG_As_int(obj1
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18574 result
= (wxDateTime
*) &_result_ref
;
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18587 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18591 wxDateTime
*result
;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self",(char *) "second", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18601 arg2
= (int)SWIG_As_int(obj1
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18607 result
= (wxDateTime
*) &_result_ref
;
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18620 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18624 wxDateTime
*result
;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "millisecond", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 arg2
= (int)SWIG_As_int(obj1
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18640 result
= (wxDateTime
*) &_result_ref
;
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18653 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18657 int arg3
= (int) wxDateTime::Monday_First
;
18658 wxDateTime
*result
;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 PyObject
* obj2
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 arg2
= (int)SWIG_As_int(obj1
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 arg3
= (int)SWIG_As_int(obj2
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18679 result
= (wxDateTime
*) &_result_ref
;
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18692 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18696 int arg3
= (int) wxDateTime::Monday_First
;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 PyObject
* obj2
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18708 arg2
= (int)SWIG_As_int(obj1
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 arg3
= (int)SWIG_As_int(obj2
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 wxDateTime
* resultptr
;
18723 resultptr
= new wxDateTime((wxDateTime
&) result
);
18724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18732 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18736 wxDateTime
*result
;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "weekday", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 arg2
= (int)SWIG_As_int(obj1
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18752 result
= (wxDateTime
*) &_result_ref
;
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18765 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self",(char *) "weekday", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 arg2
= (int)SWIG_As_int(obj1
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 wxDateTime
* resultptr
;
18790 resultptr
= new wxDateTime((wxDateTime
&) result
);
18791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18799 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18803 wxDateTime
*result
;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self",(char *) "weekday", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 arg2
= (int)SWIG_As_int(obj1
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18819 result
= (wxDateTime
*) &_result_ref
;
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18832 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self",(char *) "weekday", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 arg2
= (int)SWIG_As_int(obj1
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18856 wxDateTime
* resultptr
;
18857 resultptr
= new wxDateTime((wxDateTime
&) result
);
18858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18866 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18870 int arg3
= (int) 1 ;
18871 int arg4
= (int) wxDateTime::Inv_Month
;
18872 int arg5
= (int) wxDateTime::Inv_Year
;
18874 PyObject
* obj0
= 0 ;
18875 PyObject
* obj1
= 0 ;
18876 PyObject
* obj2
= 0 ;
18877 PyObject
* obj3
= 0 ;
18878 PyObject
* obj4
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 arg2
= (int)SWIG_As_int(obj1
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 arg3
= (int)SWIG_As_int(obj2
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 arg4
= (int)SWIG_As_int(obj3
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 arg5
= (int)SWIG_As_int(obj4
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18916 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18920 int arg3
= (int) wxDateTime::Inv_Month
;
18921 int arg4
= (int) wxDateTime::Inv_Year
;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 PyObject
* obj3
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 arg2
= (int)SWIG_As_int(obj1
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 arg3
= (int)SWIG_As_int(obj2
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 arg4
= (int)SWIG_As_int(obj3
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18960 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18964 int arg3
= (int) wxDateTime::Inv_Month
;
18965 int arg4
= (int) wxDateTime::Inv_Year
;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 PyObject
* obj2
= 0 ;
18970 PyObject
* obj3
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18978 arg2
= (int)SWIG_As_int(obj1
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 arg3
= (int)SWIG_As_int(obj2
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 arg4
= (int)SWIG_As_int(obj3
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 wxDateTime
* resultptr
;
18997 resultptr
= new wxDateTime((wxDateTime
&) result
);
18998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19006 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19010 int arg3
= (int) wxDateTime::Mon
;
19011 int arg4
= (int) wxDateTime::Monday_First
;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 PyObject
* obj2
= 0 ;
19016 PyObject
* obj3
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 arg2
= (int)SWIG_As_int(obj1
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 arg3
= (int)SWIG_As_int(obj2
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 arg4
= (int)SWIG_As_int(obj3
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19050 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19054 int arg3
= (int) wxDateTime::Mon
;
19055 int arg4
= (int) wxDateTime::Monday_First
;
19057 PyObject
* obj0
= 0 ;
19058 PyObject
* obj1
= 0 ;
19059 PyObject
* obj2
= 0 ;
19060 PyObject
* obj3
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19068 arg2
= (int)SWIG_As_int(obj1
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 arg3
= (int)SWIG_As_int(obj2
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19075 arg4
= (int)SWIG_As_int(obj3
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 wxDateTime
* resultptr
;
19087 resultptr
= new wxDateTime((wxDateTime
&) result
);
19088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19096 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19100 int arg3
= (int) wxDateTime::Mon
;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19110 arg1
= (int)SWIG_As_int(obj0
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19112 arg2
= (int)SWIG_As_int(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 arg3
= (int)SWIG_As_int(obj2
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 wxDateTime
* resultptr
;
19127 resultptr
= new wxDateTime((wxDateTime
&) result
);
19128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19136 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19139 int arg2
= (int) wxDateTime::Inv_Month
;
19140 int arg3
= (int) wxDateTime::Inv_Year
;
19141 wxDateTime
*result
;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 PyObject
* obj2
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self",(char *) "month",(char *) "year", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (int)SWIG_As_int(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19157 arg3
= (int)SWIG_As_int(obj2
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19164 result
= (wxDateTime
*) &_result_ref
;
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19177 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19180 int arg2
= (int) wxDateTime::Inv_Month
;
19181 int arg3
= (int) wxDateTime::Inv_Year
;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 PyObject
* obj2
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "month",(char *) "year", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19194 arg2
= (int)SWIG_As_int(obj1
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19198 arg3
= (int)SWIG_As_int(obj2
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19209 wxDateTime
* resultptr
;
19210 resultptr
= new wxDateTime((wxDateTime
&) result
);
19211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19219 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19223 wxDateTime
*result
;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self",(char *) "yday", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 arg2
= (int)SWIG_As_int(obj1
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19239 result
= (wxDateTime
*) &_result_ref
;
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19252 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "yday", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 arg2
= (int)SWIG_As_int(obj1
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (arg1
)->GetYearDay(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 wxDateTime
* resultptr
;
19277 resultptr
= new wxDateTime((wxDateTime
&) result
);
19278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19286 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (double)(arg1
)->GetJulianDayNumber();
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_From_double((double)result
);
19312 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= (double)(arg1
)->GetJDN();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= SWIG_From_double((double)result
);
19338 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
;
19340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19342 PyObject
* obj0
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_From_double((double)result
);
19364 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (double)(arg1
)->GetMJD();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_From_double((double)result
);
19390 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= (double)(arg1
)->GetRataDie();
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= SWIG_From_double((double)result
);
19416 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19419 wxDateTime::TimeZone
*arg2
= 0 ;
19420 bool arg3
= (bool) false ;
19422 bool temp2
= false ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 PyObject
* obj2
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19438 arg3
= (bool)SWIG_As_bool(obj2
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 wxDateTime
* resultptr
;
19450 resultptr
= new wxDateTime((wxDateTime
&) result
);
19451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19454 if (temp2
) delete arg2
;
19459 if (temp2
) delete arg2
;
19465 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19468 wxDateTime::TimeZone
*arg2
= 0 ;
19469 bool arg3
= (bool) false ;
19470 wxDateTime
*result
;
19471 bool temp2
= false ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 PyObject
* obj2
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19483 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19487 arg3
= (bool)SWIG_As_bool(obj2
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19494 result
= (wxDateTime
*) &_result_ref
;
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19502 if (temp2
) delete arg2
;
19507 if (temp2
) delete arg2
;
19513 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19516 bool arg2
= (bool) false ;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self",(char *) "noDST", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19528 arg2
= (bool)SWIG_As_bool(obj1
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (arg1
)->ToGMT(arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 wxDateTime
* resultptr
;
19540 resultptr
= new wxDateTime((wxDateTime
&) result
);
19541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19549 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19552 bool arg2
= (bool) false ;
19553 wxDateTime
*result
;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self",(char *) "noDST", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19564 arg2
= (bool)SWIG_As_bool(obj1
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19571 result
= (wxDateTime
*) &_result_ref
;
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19584 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19587 int arg2
= (int) wxDateTime::Country_Default
;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "country", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 arg2
= (int)SWIG_As_int(obj1
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_From_int((int)result
);
19616 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19644 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19670 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19673 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19674 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19676 bool temp2
= false ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "tz", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= SWIG_From_int((int)result
);
19701 if (temp2
) delete arg2
;
19706 if (temp2
) delete arg2
;
19712 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19715 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19716 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19718 bool temp2
= false ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "tz", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_From_int((int)result
);
19743 if (temp2
) delete arg2
;
19748 if (temp2
) delete arg2
;
19754 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19757 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19758 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19760 bool temp2
= false ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self",(char *) "tz", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= SWIG_From_int((int)result
);
19785 if (temp2
) delete arg2
;
19790 if (temp2
) delete arg2
;
19796 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19799 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19800 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19802 bool temp2
= false ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "tz", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_From_int((int)result
);
19827 if (temp2
) delete arg2
;
19832 if (temp2
) delete arg2
;
19838 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19841 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19842 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19844 bool temp2
= false ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "tz", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_From_int((int)result
);
19869 if (temp2
) delete arg2
;
19874 if (temp2
) delete arg2
;
19880 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19883 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19884 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19886 bool temp2
= false ;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self",(char *) "tz", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_From_int((int)result
);
19911 if (temp2
) delete arg2
;
19916 if (temp2
) delete arg2
;
19922 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19925 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19926 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19928 bool temp2
= false ;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "self",(char *) "tz", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19940 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_From_int((int)result
);
19953 if (temp2
) delete arg2
;
19958 if (temp2
) delete arg2
;
19964 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19967 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19968 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19970 bool temp2
= false ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self",(char *) "tz", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_From_int((int)result
);
19995 if (temp2
) delete arg2
;
20000 if (temp2
) delete arg2
;
20006 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20009 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
20010 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
20012 bool temp2
= false ;
20013 PyObject
* obj0
= 0 ;
20014 PyObject
* obj1
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self",(char *) "tz", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20024 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_From_int((int)result
);
20037 if (temp2
) delete arg2
;
20042 if (temp2
) delete arg2
;
20048 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20051 int arg2
= (int) wxDateTime::Monday_First
;
20052 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20053 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20055 bool temp3
= false ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 PyObject
* obj2
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self",(char *) "flags",(char *) "tz", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 arg2
= (int)SWIG_As_int(obj1
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20072 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_From_int((int)result
);
20085 if (temp3
) delete arg3
;
20090 if (temp3
) delete arg3
;
20096 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20099 int arg2
= (int) wxDateTime::Monday_First
;
20100 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20101 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20103 bool temp3
= false ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 PyObject
* obj2
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self",(char *) "flags",(char *) "tz", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20115 arg2
= (int)SWIG_As_int(obj1
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20120 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_From_int((int)result
);
20133 if (temp3
) delete arg3
;
20138 if (temp3
) delete arg3
;
20144 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20147 int arg2
= (int) wxDateTime::Country_Default
;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "country", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 arg2
= (int)SWIG_As_int(obj1
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20178 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20181 wxDateTime
*arg2
= 0 ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self",(char *) "datetime", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20195 if (arg2
== NULL
) {
20196 PyErr_SetString(PyExc_TypeError
,"null reference");
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20215 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20218 wxDateTime
*arg2
= 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self",(char *) "datetime", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20232 if (arg2
== NULL
) {
20233 PyErr_SetString(PyExc_TypeError
,"null reference");
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20252 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20255 wxDateTime
*arg2
= 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "datetime", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20269 if (arg2
== NULL
) {
20270 PyErr_SetString(PyExc_TypeError
,"null reference");
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20292 wxDateTime
*arg2
= 0 ;
20293 wxDateTime
*arg3
= 0 ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 PyObject
* obj2
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "t1",(char *) "t2", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20308 if (arg2
== NULL
) {
20309 PyErr_SetString(PyExc_TypeError
,"null reference");
20312 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20315 if (arg3
== NULL
) {
20316 PyErr_SetString(PyExc_TypeError
,"null reference");
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20335 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20338 wxDateTime
*arg2
= 0 ;
20339 wxDateTime
*arg3
= 0 ;
20341 PyObject
* obj0
= 0 ;
20342 PyObject
* obj1
= 0 ;
20343 PyObject
* obj2
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self",(char *) "t1",(char *) "t2", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20354 if (arg2
== NULL
) {
20355 PyErr_SetString(PyExc_TypeError
,"null reference");
20358 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20361 if (arg3
== NULL
) {
20362 PyErr_SetString(PyExc_TypeError
,"null reference");
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20381 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20384 wxDateTime
*arg2
= 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "dt", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20398 if (arg2
== NULL
) {
20399 PyErr_SetString(PyExc_TypeError
,"null reference");
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20421 wxDateTime
*arg2
= 0 ;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self",(char *) "dt", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20435 if (arg2
== NULL
) {
20436 PyErr_SetString(PyExc_TypeError
,"null reference");
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20455 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20458 wxDateTime
*arg2
= 0 ;
20459 wxTimeSpan
*arg3
= 0 ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 PyObject
* obj2
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "dt",(char *) "ts", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20474 if (arg2
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference");
20478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20481 if (arg3
== NULL
) {
20482 PyErr_SetString(PyExc_TypeError
,"null reference");
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20501 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20504 wxTimeSpan
*arg2
= 0 ;
20505 wxDateTime
*result
;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "diff", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20518 if (arg2
== NULL
) {
20519 PyErr_SetString(PyExc_TypeError
,"null reference");
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20526 result
= (wxDateTime
*) &_result_ref
;
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20539 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20542 wxDateSpan
*arg2
= 0 ;
20543 wxDateTime
*result
;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self",(char *) "diff", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20556 if (arg2
== NULL
) {
20557 PyErr_SetString(PyExc_TypeError
,"null reference");
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20564 result
= (wxDateTime
*) &_result_ref
;
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20577 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20580 wxTimeSpan
*arg2
= 0 ;
20581 wxDateTime
*result
;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "diff", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20594 if (arg2
== NULL
) {
20595 PyErr_SetString(PyExc_TypeError
,"null reference");
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20602 result
= (wxDateTime
*) &_result_ref
;
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20615 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20618 wxDateSpan
*arg2
= 0 ;
20619 wxDateTime
*result
;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "diff", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20632 if (arg2
== NULL
) {
20633 PyErr_SetString(PyExc_TypeError
,"null reference");
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20640 result
= (wxDateTime
*) &_result_ref
;
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20653 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20656 wxDateTime
*arg2
= 0 ;
20658 PyObject
* obj0
= 0 ;
20659 PyObject
* obj1
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "self",(char *) "dt", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20670 if (arg2
== NULL
) {
20671 PyErr_SetString(PyExc_TypeError
,"null reference");
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 wxTimeSpan
* resultptr
;
20683 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20692 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20693 PyObject
*resultobj
;
20694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20695 wxTimeSpan
*arg2
= 0 ;
20696 wxDateTime
*result
;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20700 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20702 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20706 if (arg2
== NULL
) {
20707 PyErr_SetString(PyExc_TypeError
,"null reference");
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20714 result
= (wxDateTime
*) &_result_ref
;
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20727 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20728 PyObject
*resultobj
;
20729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20730 wxDateSpan
*arg2
= 0 ;
20731 wxDateTime
*result
;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20735 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20737 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20741 if (arg2
== NULL
) {
20742 PyErr_SetString(PyExc_TypeError
,"null reference");
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20749 result
= (wxDateTime
*) &_result_ref
;
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20762 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20767 argc
= PyObject_Length(args
);
20768 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20769 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20775 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20785 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20793 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20801 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20811 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20819 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20824 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20829 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20830 PyObject
*resultobj
;
20831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20832 wxTimeSpan
*arg2
= 0 ;
20833 wxDateTime
*result
;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20837 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20839 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20843 if (arg2
== NULL
) {
20844 PyErr_SetString(PyExc_TypeError
,"null reference");
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20851 result
= (wxDateTime
*) &_result_ref
;
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20864 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20865 PyObject
*resultobj
;
20866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20867 wxDateSpan
*arg2
= 0 ;
20868 wxDateTime
*result
;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20872 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20874 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20878 if (arg2
== NULL
) {
20879 PyErr_SetString(PyExc_TypeError
,"null reference");
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20886 result
= (wxDateTime
*) &_result_ref
;
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20899 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20904 argc
= PyObject_Length(args
);
20905 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20906 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20912 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20922 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20930 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20938 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20948 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20956 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20961 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20966 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20967 PyObject
*resultobj
;
20968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20969 wxTimeSpan
*arg2
= 0 ;
20971 PyObject
* obj0
= 0 ;
20972 PyObject
* obj1
= 0 ;
20974 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20980 if (arg2
== NULL
) {
20981 PyErr_SetString(PyExc_TypeError
,"null reference");
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 wxDateTime
* resultptr
;
20993 resultptr
= new wxDateTime((wxDateTime
&) result
);
20994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21002 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
21003 PyObject
*resultobj
;
21004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21005 wxDateSpan
*arg2
= 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21010 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21016 if (arg2
== NULL
) {
21017 PyErr_SetString(PyExc_TypeError
,"null reference");
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21028 wxDateTime
* resultptr
;
21029 resultptr
= new wxDateTime((wxDateTime
&) result
);
21030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21038 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
21043 argc
= PyObject_Length(args
);
21044 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21045 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21051 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21061 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21069 return _wrap_DateTime___add____SWIG_0(self
,args
);
21077 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21087 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21095 return _wrap_DateTime___add____SWIG_1(self
,args
);
21100 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21105 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21106 PyObject
*resultobj
;
21107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21108 wxDateTime
*arg2
= 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21113 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21119 if (arg2
== NULL
) {
21120 PyErr_SetString(PyExc_TypeError
,"null reference");
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 wxTimeSpan
* resultptr
;
21132 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21141 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21142 PyObject
*resultobj
;
21143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21144 wxTimeSpan
*arg2
= 0 ;
21146 PyObject
* obj0
= 0 ;
21147 PyObject
* obj1
= 0 ;
21149 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21155 if (arg2
== NULL
) {
21156 PyErr_SetString(PyExc_TypeError
,"null reference");
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 wxDateTime
* resultptr
;
21168 resultptr
= new wxDateTime((wxDateTime
&) result
);
21169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21177 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21178 PyObject
*resultobj
;
21179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21180 wxDateSpan
*arg2
= 0 ;
21182 PyObject
* obj0
= 0 ;
21183 PyObject
* obj1
= 0 ;
21185 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21191 if (arg2
== NULL
) {
21192 PyErr_SetString(PyExc_TypeError
,"null reference");
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21203 wxDateTime
* resultptr
;
21204 resultptr
= new wxDateTime((wxDateTime
&) result
);
21205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21213 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21218 argc
= PyObject_Length(args
);
21219 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21220 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21236 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21244 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21252 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21262 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21270 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21278 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21288 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21296 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21301 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21306 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21307 PyObject
*resultobj
;
21308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21309 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21314 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21335 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21336 PyObject
*resultobj
;
21337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21338 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21343 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21364 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21365 PyObject
*resultobj
;
21366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21367 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 PyObject
* obj1
= 0 ;
21372 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21393 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21394 PyObject
*resultobj
;
21395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21396 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21401 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21422 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21423 PyObject
*resultobj
;
21424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21425 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21430 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21451 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21452 PyObject
*resultobj
;
21453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21454 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21459 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21480 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21483 wxString
*arg2
= 0 ;
21485 bool temp2
= false ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self",(char *) "date", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21496 arg2
= wxString_in_helper(obj1
);
21497 if (arg2
== NULL
) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_From_int((int)result
);
21522 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21525 wxString
*arg2
= 0 ;
21526 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21528 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21529 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21531 bool temp2
= false ;
21532 bool temp3
= false ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 PyObject
* obj2
= 0 ;
21536 PyObject
* obj3
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 arg2
= wxString_in_helper(obj1
);
21546 if (arg2
== NULL
) SWIG_fail
;
21551 arg3
= wxString_in_helper(obj2
);
21552 if (arg3
== NULL
) SWIG_fail
;
21557 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21560 if (arg4
== NULL
) {
21561 PyErr_SetString(PyExc_TypeError
,"null reference");
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= SWIG_From_int((int)result
);
21595 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21598 wxString
*arg2
= 0 ;
21600 bool temp2
= false ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "datetime", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21611 arg2
= wxString_in_helper(obj1
);
21612 if (arg2
== NULL
) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_From_int((int)result
);
21637 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21640 wxString
*arg2
= 0 ;
21642 bool temp2
= false ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "date", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 arg2
= wxString_in_helper(obj1
);
21654 if (arg2
== NULL
) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_From_int((int)result
);
21679 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21682 wxString
*arg2
= 0 ;
21684 bool temp2
= false ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "time", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 arg2
= wxString_in_helper(obj1
);
21696 if (arg2
== NULL
) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_From_int((int)result
);
21721 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21724 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21725 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21726 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21727 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21729 bool temp2
= false ;
21730 bool temp3
= false ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 PyObject
* obj2
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "format",(char *) "tz", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21743 arg2
= wxString_in_helper(obj1
);
21744 if (arg2
== NULL
) SWIG_fail
;
21750 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21773 if (temp3
) delete arg3
;
21782 if (temp3
) delete arg3
;
21788 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21820 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21852 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21856 PyObject
* obj0
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21884 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21916 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21919 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21921 return Py_BuildValue((char *)"");
21923 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
;
21927 PyObject
* obj0
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "sec", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21933 arg1
= (long)SWIG_As_long(obj0
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= wxTimeSpan::Seconds(arg1
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 wxTimeSpan
* resultptr
;
21944 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21953 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21956 char *kwnames
[] = {
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= wxTimeSpan::Second();
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 wxTimeSpan
* resultptr
;
21970 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21979 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21983 PyObject
* obj0
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "min", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21989 arg1
= (long)SWIG_As_long(obj0
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= wxTimeSpan::Minutes(arg1
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 wxTimeSpan
* resultptr
;
22000 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22009 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22012 char *kwnames
[] = {
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= wxTimeSpan::Minute();
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22025 wxTimeSpan
* resultptr
;
22026 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22035 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22039 PyObject
* obj0
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "hours", NULL
22044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
22045 arg1
= (long)SWIG_As_long(obj0
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= wxTimeSpan::Hours(arg1
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 wxTimeSpan
* resultptr
;
22056 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22065 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22068 char *kwnames
[] = {
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= wxTimeSpan::Hour();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 wxTimeSpan
* resultptr
;
22082 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22091 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22095 PyObject
* obj0
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "days", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22101 arg1
= (long)SWIG_As_long(obj0
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= wxTimeSpan::Days(arg1
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 wxTimeSpan
* resultptr
;
22112 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22121 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22124 char *kwnames
[] = {
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= wxTimeSpan::Day();
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 wxTimeSpan
* resultptr
;
22138 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22147 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "days", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22157 arg1
= (long)SWIG_As_long(obj0
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= wxTimeSpan::Weeks(arg1
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 wxTimeSpan
* resultptr
;
22168 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22177 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22180 char *kwnames
[] = {
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= wxTimeSpan::Week();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 wxTimeSpan
* resultptr
;
22194 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22203 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 long arg1
= (long) 0 ;
22206 long arg2
= (long) 0 ;
22207 long arg3
= (long) 0 ;
22208 long arg4
= (long) 0 ;
22209 wxTimeSpan
*result
;
22210 PyObject
* obj0
= 0 ;
22211 PyObject
* obj1
= 0 ;
22212 PyObject
* obj2
= 0 ;
22213 PyObject
* obj3
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22220 arg1
= (long)SWIG_As_long(obj0
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 arg2
= (long)SWIG_As_long(obj1
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 arg3
= (long)SWIG_As_long(obj2
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22232 arg4
= (long)SWIG_As_long(obj3
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22249 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22277 wxTimeSpan
*arg2
= 0 ;
22278 wxTimeSpan
*result
;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "diff", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22291 if (arg2
== NULL
) {
22292 PyErr_SetString(PyExc_TypeError
,"null reference");
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22299 result
= (wxTimeSpan
*) &_result_ref
;
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22312 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22315 wxTimeSpan
*arg2
= 0 ;
22316 wxTimeSpan
*result
;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "diff", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22329 if (arg2
== NULL
) {
22330 PyErr_SetString(PyExc_TypeError
,"null reference");
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22337 result
= (wxTimeSpan
*) &_result_ref
;
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22350 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22354 wxTimeSpan
*result
;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "n", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 arg2
= (int)SWIG_As_int(obj1
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22370 result
= (wxTimeSpan
*) &_result_ref
;
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22383 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22386 wxTimeSpan
*result
;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22399 result
= (wxTimeSpan
*) &_result_ref
;
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22412 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22432 wxTimeSpan
* resultptr
;
22433 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22442 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22445 wxTimeSpan
*arg2
= 0 ;
22446 wxTimeSpan
*result
;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self",(char *) "diff", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22455 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22459 if (arg2
== NULL
) {
22460 PyErr_SetString(PyExc_TypeError
,"null reference");
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22467 result
= (wxTimeSpan
*) &_result_ref
;
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22480 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22483 wxTimeSpan
*arg2
= 0 ;
22484 wxTimeSpan
*result
;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "diff", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22493 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22497 if (arg2
== NULL
) {
22498 PyErr_SetString(PyExc_TypeError
,"null reference");
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22505 result
= (wxTimeSpan
*) &_result_ref
;
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22518 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22522 wxTimeSpan
*result
;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self",(char *) "n", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22531 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22532 arg2
= (int)SWIG_As_int(obj1
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22538 result
= (wxTimeSpan
*) &_result_ref
;
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22551 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22554 wxTimeSpan
*result
;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22567 result
= (wxTimeSpan
*) &_result_ref
;
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22580 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22583 wxTimeSpan
*arg2
= 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "other", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22597 if (arg2
== NULL
) {
22598 PyErr_SetString(PyExc_TypeError
,"null reference");
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22609 wxTimeSpan
* resultptr
;
22610 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22619 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22622 wxTimeSpan
*arg2
= 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self",(char *) "other", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22636 if (arg2
== NULL
) {
22637 PyErr_SetString(PyExc_TypeError
,"null reference");
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 wxTimeSpan
* resultptr
;
22649 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22658 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "n", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22672 arg2
= (int)SWIG_As_int(obj1
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= wxTimeSpan___mul__(arg1
,arg2
);
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 wxTimeSpan
* resultptr
;
22683 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22692 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "n", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 arg2
= (int)SWIG_As_int(obj1
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 wxTimeSpan
* resultptr
;
22717 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22726 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22729 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "other", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22758 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22761 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "other", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22790 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22793 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self",(char *) "other", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22825 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "other", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22854 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22857 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self",(char *) "other", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22886 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22889 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "other", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22918 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22946 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22974 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23002 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23005 wxTimeSpan
*arg2
= 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "ts", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23019 if (arg2
== NULL
) {
23020 PyErr_SetString(PyExc_TypeError
,"null reference");
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23039 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23042 wxTimeSpan
*arg2
= 0 ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self",(char *) "ts", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23056 if (arg2
== NULL
) {
23057 PyErr_SetString(PyExc_TypeError
,"null reference");
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23076 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23079 wxTimeSpan
*arg2
= 0 ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "t", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23093 if (arg2
== NULL
) {
23094 PyErr_SetString(PyExc_TypeError
,"null reference");
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23113 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_From_int((int)result
);
23139 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_From_int((int)result
);
23165 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_From_int((int)result
);
23191 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
;
23193 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_From_int((int)result
);
23217 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23221 PyObject
* obj0
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23237 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23238 hi
= PyLong_FromLong( (&result
)->GetHi() );
23239 lo
= PyLong_FromLong( (&result
)->GetLo() );
23240 shifter
= PyLong_FromLong(32);
23241 shifted
= PyNumber_Lshift(hi
, shifter
);
23242 resultobj
= PyNumber_Or(shifted
, lo
);
23245 Py_DECREF(shifter
);
23246 Py_DECREF(shifted
);
23254 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23275 hi
= PyLong_FromLong( (&result
)->GetHi() );
23276 lo
= PyLong_FromLong( (&result
)->GetLo() );
23277 shifter
= PyLong_FromLong(32);
23278 shifted
= PyNumber_Lshift(hi
, shifter
);
23279 resultobj
= PyNumber_Or(shifted
, lo
);
23282 Py_DECREF(shifter
);
23283 Py_DECREF(shifted
);
23291 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23294 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23295 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23297 bool temp2
= false ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "format", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 arg2
= wxString_in_helper(obj1
);
23310 if (arg2
== NULL
) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23342 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23345 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23347 return Py_BuildValue((char *)"");
23349 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 int arg1
= (int) 0 ;
23352 int arg2
= (int) 0 ;
23353 int arg3
= (int) 0 ;
23354 int arg4
= (int) 0 ;
23355 wxDateSpan
*result
;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 PyObject
* obj2
= 0 ;
23359 PyObject
* obj3
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23366 arg1
= (int)SWIG_As_int(obj0
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 arg2
= (int)SWIG_As_int(obj1
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 arg3
= (int)SWIG_As_int(obj2
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 arg4
= (int)SWIG_As_int(obj3
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23395 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 Py_INCREF(Py_None
); resultobj
= Py_None
;
23420 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23424 PyObject
* obj0
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "days", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23430 arg1
= (int)SWIG_As_int(obj0
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= wxDateSpan::Days(arg1
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23440 wxDateSpan
* resultptr
;
23441 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23450 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23453 char *kwnames
[] = {
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= wxDateSpan::Day();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 wxDateSpan
* resultptr
;
23467 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23476 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23480 PyObject
* obj0
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "weeks", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23486 arg1
= (int)SWIG_As_int(obj0
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= wxDateSpan::Weeks(arg1
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23496 wxDateSpan
* resultptr
;
23497 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23506 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23509 char *kwnames
[] = {
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= wxDateSpan::Week();
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 wxDateSpan
* resultptr
;
23523 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23532 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23536 PyObject
* obj0
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "mon", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23542 arg1
= (int)SWIG_As_int(obj0
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= wxDateSpan::Months(arg1
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23552 wxDateSpan
* resultptr
;
23553 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23562 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23565 char *kwnames
[] = {
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= wxDateSpan::Month();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 wxDateSpan
* resultptr
;
23579 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23588 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23592 PyObject
* obj0
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "years", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23598 arg1
= (int)SWIG_As_int(obj0
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= wxDateSpan::Years(arg1
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23608 wxDateSpan
* resultptr
;
23609 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23618 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23621 char *kwnames
[] = {
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= wxDateSpan::Year();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 wxDateSpan
* resultptr
;
23635 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23644 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23648 wxDateSpan
*result
;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "n", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 arg2
= (int)SWIG_As_int(obj1
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23664 result
= (wxDateSpan
*) &_result_ref
;
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23677 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23681 wxDateSpan
*result
;
23682 PyObject
* obj0
= 0 ;
23683 PyObject
* obj1
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self",(char *) "n", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23691 arg2
= (int)SWIG_As_int(obj1
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23697 result
= (wxDateSpan
*) &_result_ref
;
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23710 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
;
23712 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23714 wxDateSpan
*result
;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "n", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23724 arg2
= (int)SWIG_As_int(obj1
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23730 result
= (wxDateSpan
*) &_result_ref
;
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23743 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23747 wxDateSpan
*result
;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self",(char *) "n", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 arg2
= (int)SWIG_As_int(obj1
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23763 result
= (wxDateSpan
*) &_result_ref
;
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23776 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
;
23778 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_From_int((int)result
);
23802 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_From_int((int)result
);
23828 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_From_int((int)result
);
23854 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_From_int((int)result
);
23880 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23884 PyObject
* obj0
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_From_int((int)result
);
23906 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23909 wxDateSpan
*arg2
= 0 ;
23910 wxDateSpan
*result
;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self",(char *) "other", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23923 if (arg2
== NULL
) {
23924 PyErr_SetString(PyExc_TypeError
,"null reference");
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23931 result
= (wxDateSpan
*) &_result_ref
;
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23944 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23946 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23947 wxDateSpan
*arg2
= 0 ;
23948 wxDateSpan
*result
;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "other", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23961 if (arg2
== NULL
) {
23962 PyErr_SetString(PyExc_TypeError
,"null reference");
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23969 result
= (wxDateSpan
*) &_result_ref
;
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23982 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23985 wxDateSpan
*result
;
23986 PyObject
* obj0
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23998 result
= (wxDateSpan
*) &_result_ref
;
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24011 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24015 wxDateSpan
*result
;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self",(char *) "factor", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 arg2
= (int)SWIG_As_int(obj1
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24031 result
= (wxDateSpan
*) &_result_ref
;
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24044 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24047 wxDateSpan
*arg2
= 0 ;
24048 wxDateSpan
*result
;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self",(char *) "other", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24057 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24061 if (arg2
== NULL
) {
24062 PyErr_SetString(PyExc_TypeError
,"null reference");
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24069 result
= (wxDateSpan
*) &_result_ref
;
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24082 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24085 wxDateSpan
*arg2
= 0 ;
24086 wxDateSpan
*result
;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self",(char *) "other", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24095 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24099 if (arg2
== NULL
) {
24100 PyErr_SetString(PyExc_TypeError
,"null reference");
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24107 result
= (wxDateSpan
*) &_result_ref
;
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24120 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24123 wxDateSpan
*result
;
24124 PyObject
* obj0
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24136 result
= (wxDateSpan
*) &_result_ref
;
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24149 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24153 wxDateSpan
*result
;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self",(char *) "factor", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24162 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24163 arg2
= (int)SWIG_As_int(obj1
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24169 result
= (wxDateSpan
*) &_result_ref
;
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24182 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24185 wxDateSpan
*arg2
= 0 ;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self",(char *) "other", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24199 if (arg2
== NULL
) {
24200 PyErr_SetString(PyExc_TypeError
,"null reference");
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 wxDateSpan
* resultptr
;
24212 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24221 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24224 wxDateSpan
*arg2
= 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self",(char *) "other", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24238 if (arg2
== NULL
) {
24239 PyErr_SetString(PyExc_TypeError
,"null reference");
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 wxDateSpan
* resultptr
;
24251 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24260 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
;
24262 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self",(char *) "n", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 arg2
= (int)SWIG_As_int(obj1
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= wxDateSpan___mul__(arg1
,arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 wxDateSpan
* resultptr
;
24285 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24294 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "n", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 arg2
= (int)SWIG_As_int(obj1
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= wxDateSpan___rmul__(arg1
,arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 wxDateSpan
* resultptr
;
24319 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24328 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24331 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "other", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24360 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24363 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self",(char *) "other", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24392 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24395 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24397 return Py_BuildValue((char *)"");
24399 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24402 char *kwnames
[] = {
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (long)wxGetLocalTime();
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_From_long((long)result
);
24421 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24424 char *kwnames
[] = {
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (long)wxGetUTCTime();
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_From_long((long)result
);
24443 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24446 char *kwnames
[] = {
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (long)wxGetCurrentTime();
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= SWIG_From_long((long)result
);
24465 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24468 char *kwnames
[] = {
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= wxGetLocalTimeMillis();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24482 hi
= PyLong_FromLong( (&result
)->GetHi() );
24483 lo
= PyLong_FromLong( (&result
)->GetLo() );
24484 shifter
= PyLong_FromLong(32);
24485 shifted
= PyNumber_Lshift(hi
, shifter
);
24486 resultobj
= PyNumber_Or(shifted
, lo
);
24489 Py_DECREF(shifter
);
24490 Py_DECREF(shifted
);
24498 static int _wrap_DefaultDateTime_set(PyObject
*) {
24499 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24504 static PyObject
*_wrap_DefaultDateTime_get() {
24507 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24512 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24515 wxDataFormat
*result
;
24516 PyObject
* obj0
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "type", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24522 arg1
= (int)SWIG_As_int(obj0
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24538 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxString
*arg1
= 0 ;
24541 wxDataFormat
*result
;
24542 bool temp1
= false ;
24543 PyObject
* obj0
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "format", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24550 arg1
= wxString_in_helper(obj0
);
24551 if (arg1
== NULL
) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24576 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 Py_INCREF(Py_None
); resultobj
= Py_None
;
24601 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24602 PyObject
*resultobj
;
24603 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24609 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 arg2
= (int)SWIG_As_int(obj1
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24630 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24631 PyObject
*resultobj
;
24632 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24638 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 arg2
= (int)SWIG_As_int(obj1
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24659 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24660 PyObject
*resultobj
;
24661 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24662 wxDataFormat
*arg2
= 0 ;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24667 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24673 if (arg2
== NULL
) {
24674 PyErr_SetString(PyExc_TypeError
,"null reference");
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24693 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24698 argc
= PyObject_Length(args
);
24699 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24724 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24740 _v
= SWIG_Check_int(argv
[1]);
24742 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24747 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24752 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24753 PyObject
*resultobj
;
24754 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24755 wxDataFormat
*arg2
= 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24760 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24766 if (arg2
== NULL
) {
24767 PyErr_SetString(PyExc_TypeError
,"null reference");
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24786 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24791 argc
= PyObject_Length(args
);
24792 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24793 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24799 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24809 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24817 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24825 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24833 _v
= SWIG_Check_int(argv
[1]);
24835 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24840 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24845 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "format", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 arg2
= (int)SWIG_As_int(obj1
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 (arg1
)->SetType((wxDataFormatId
)arg2
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 char *kwnames
[] = {
24880 (char *) "self", NULL
24883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_From_int((int)result
);
24900 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= ((wxDataFormat
const *)arg1
)->GetId();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24932 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24935 wxString
*arg2
= 0 ;
24936 bool temp2
= false ;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self",(char *) "format", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24947 arg2
= wxString_in_helper(obj1
);
24948 if (arg2
== NULL
) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetId((wxString
const &)*arg2
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 Py_INCREF(Py_None
); resultobj
= Py_None
;
24973 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24976 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24978 return Py_BuildValue((char *)"");
24980 static int _wrap_FormatInvalid_set(PyObject
*) {
24981 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24986 static PyObject
*_wrap_FormatInvalid_get() {
24989 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24994 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25019 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25022 int arg2
= (int) wxDataObject::Get
;
25023 SwigValueWrapper
< wxDataFormat
> result
;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self",(char *) "dir", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 arg2
= (int)SWIG_As_int(obj1
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25045 wxDataFormat
* resultptr
;
25046 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
25047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
25055 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25058 int arg2
= (int) wxDataObject::Get
;
25060 PyObject
* obj0
= 0 ;
25061 PyObject
* obj1
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "dir", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 arg2
= (int)SWIG_As_int(obj1
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25087 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25090 wxDataFormat
*arg2
= 0 ;
25091 int arg3
= (int) wxDataObject::Get
;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 PyObject
* obj2
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "self",(char *) "format",(char *) "dir", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25106 if (arg2
== NULL
) {
25107 PyErr_SetString(PyExc_TypeError
,"null reference");
25111 arg3
= (int)SWIG_As_int(obj2
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25130 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25133 wxDataFormat
*arg2
= 0 ;
25135 PyObject
* obj0
= 0 ;
25136 PyObject
* obj1
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self",(char *) "format", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25147 if (arg2
== NULL
) {
25148 PyErr_SetString(PyExc_TypeError
,"null reference");
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25165 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25168 int arg2
= (int) wxDataObject::Get
;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "dir", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25180 arg2
= (int)SWIG_As_int(obj1
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= result
;
25197 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25200 wxDataFormat
*arg2
= 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "format", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25214 if (arg2
== NULL
) {
25215 PyErr_SetString(PyExc_TypeError
,"null reference");
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= result
;
25232 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25235 wxDataFormat
*arg2
= 0 ;
25236 PyObject
*arg3
= (PyObject
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "format",(char *) "data", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25251 if (arg2
== NULL
) {
25252 PyErr_SetString(PyExc_TypeError
,"null reference");
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25272 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25275 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25277 return Py_BuildValue((char *)"");
25279 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25282 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25283 wxDataObjectSimple
*result
;
25284 PyObject
* obj0
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "format", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25294 if (arg1
== NULL
) {
25295 PyErr_SetString(PyExc_TypeError
,"null reference");
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25313 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25316 wxDataFormat
*result
;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25329 result
= (wxDataFormat
*) &_result_ref
;
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25342 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25345 wxDataFormat
*arg2
= 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "format", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25358 if (arg2
== NULL
) {
25359 PyErr_SetString(PyExc_TypeError
,"null reference");
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 Py_INCREF(Py_None
); resultobj
= Py_None
;
25376 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25380 PyObject
* obj0
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25402 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= result
;
25428 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25431 PyObject
*arg2
= (PyObject
*) 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "data", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25459 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25462 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25464 return Py_BuildValue((char *)"");
25466 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25469 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25470 wxPyDataObjectSimple
*result
;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "format", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25481 if (arg1
== NULL
) {
25482 PyErr_SetString(PyExc_TypeError
,"null reference");
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25500 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25503 PyObject
*arg2
= (PyObject
*) 0 ;
25504 PyObject
*arg3
= (PyObject
*) 0 ;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 PyObject
* obj2
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self",(char *) "self",(char *) "_class", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 Py_INCREF(Py_None
); resultobj
= Py_None
;
25531 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25534 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25536 return Py_BuildValue((char *)"");
25538 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxDataObjectComposite
*result
;
25541 char *kwnames
[] = {
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25560 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25563 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25564 bool arg3
= (bool) false ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 PyObject
* obj2
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25576 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25578 arg3
= (bool)SWIG_As_bool(obj2
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->Add(arg2
,arg3
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25598 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25600 return Py_BuildValue((char *)"");
25602 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25605 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25606 wxTextDataObject
*result
;
25607 bool temp1
= false ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "text", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25616 arg1
= wxString_in_helper(obj0
);
25617 if (arg1
== NULL
) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25643 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25647 PyObject
* obj0
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "self", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (size_t)(arg1
)->GetTextLength();
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25669 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25673 PyObject
* obj0
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (arg1
)->GetText();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25701 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25704 wxString
*arg2
= 0 ;
25705 bool temp2
= false ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self",(char *) "text", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25716 arg2
= wxString_in_helper(obj1
);
25717 if (arg2
== NULL
) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 (arg1
)->SetText((wxString
const &)*arg2
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25745 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25747 return Py_BuildValue((char *)"");
25749 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25752 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25753 wxPyTextDataObject
*result
;
25754 bool temp1
= false ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "text", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25763 arg1
= wxString_in_helper(obj0
);
25764 if (arg1
== NULL
) SWIG_fail
;
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25790 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25793 PyObject
*arg2
= (PyObject
*) 0 ;
25794 PyObject
*arg3
= (PyObject
*) 0 ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 PyObject
* obj2
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "self",(char *) "_class", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25821 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25824 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25826 return Py_BuildValue((char *)"");
25828 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25831 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25832 wxBitmapDataObject
*result
;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "bitmap", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25843 if (arg1
== NULL
) {
25844 PyErr_SetString(PyExc_TypeError
,"null reference");
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25862 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25864 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25866 PyObject
* obj0
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 wxBitmap
* resultptr
;
25883 resultptr
= new wxBitmap((wxBitmap
&) result
);
25884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25892 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
;
25894 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25895 wxBitmap
*arg2
= 0 ;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "bitmap", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25908 if (arg2
== NULL
) {
25909 PyErr_SetString(PyExc_TypeError
,"null reference");
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 Py_INCREF(Py_None
); resultobj
= Py_None
;
25926 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25929 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25931 return Py_BuildValue((char *)"");
25933 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
;
25935 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25936 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25937 wxPyBitmapDataObject
*result
;
25938 PyObject
* obj0
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "bitmap", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25948 if (arg1
== NULL
) {
25949 PyErr_SetString(PyExc_TypeError
,"null reference");
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25967 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25970 PyObject
*arg2
= (PyObject
*) 0 ;
25971 PyObject
*arg3
= (PyObject
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 PyObject
* obj2
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "self",(char *) "_class", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
26000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26001 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
26003 return Py_BuildValue((char *)"");
26005 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
;
26007 wxFileDataObject
*result
;
26008 char *kwnames
[] = {
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 result
= (wxFileDataObject
*)new wxFileDataObject();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
26027 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26030 wxArrayString
*result
;
26031 PyObject
* obj0
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
26043 result
= (wxArrayString
*) &_result_ref
;
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= wxArrayString2PyList_helper(*result
);
26058 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26061 wxString
*arg2
= 0 ;
26062 bool temp2
= false ;
26063 PyObject
* obj0
= 0 ;
26064 PyObject
* obj1
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "filename", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 arg2
= wxString_in_helper(obj1
);
26074 if (arg2
== NULL
) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 (arg1
)->AddFile((wxString
const &)*arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26102 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26104 return Py_BuildValue((char *)"");
26106 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26109 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26110 wxCustomDataObject
*result
;
26111 PyObject
* obj0
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "format", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26121 if (arg1
== NULL
) {
26122 PyErr_SetString(PyExc_TypeError
,"null reference");
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26140 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26143 PyObject
*arg2
= (PyObject
*) 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "data", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26171 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 result
= (size_t)(arg1
)->GetSize();
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26197 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= result
;
26223 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26226 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26228 return Py_BuildValue((char *)"");
26230 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
;
26232 wxURLDataObject
*result
;
26233 char *kwnames
[] = {
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (wxURLDataObject
*)new wxURLDataObject();
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26252 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (arg1
)->GetURL();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26284 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26287 wxString
*arg2
= 0 ;
26288 bool temp2
= false ;
26289 PyObject
* obj0
= 0 ;
26290 PyObject
* obj1
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self",(char *) "url", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26299 arg2
= wxString_in_helper(obj1
);
26300 if (arg2
== NULL
) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 (arg1
)->SetURL((wxString
const &)*arg2
);
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26325 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26328 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26330 return Py_BuildValue((char *)"");
26332 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxMetafileDataObject
*result
;
26335 char *kwnames
[] = {
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26354 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26357 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26359 return Py_BuildValue((char *)"");
26361 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26365 PyObject
* obj0
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "res", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26371 arg1
= (int)SWIG_As_int(obj0
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26389 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxWindow
*arg1
= (wxWindow
*) 0 ;
26392 wxIcon
const &arg2_defvalue
= wxNullIcon
;
26393 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
26394 wxIcon
const &arg3_defvalue
= wxNullIcon
;
26395 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
26396 wxIcon
const &arg4_defvalue
= wxNullIcon
;
26397 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
26398 wxPyDropSource
*result
;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 PyObject
* obj2
= 0 ;
26402 PyObject
* obj3
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
26412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26414 if (arg2
== NULL
) {
26415 PyErr_SetString(PyExc_TypeError
,"null reference");
26420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
26421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26423 if (arg3
== NULL
) {
26424 PyErr_SetString(PyExc_TypeError
,"null reference");
26429 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
26430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26432 if (arg4
== NULL
) {
26433 PyErr_SetString(PyExc_TypeError
,"null reference");
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26451 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26454 PyObject
*arg2
= (PyObject
*) 0 ;
26455 PyObject
*arg3
= (PyObject
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 PyObject
* obj3
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 arg4
= (int)SWIG_As_int(obj3
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 Py_INCREF(Py_None
); resultobj
= Py_None
;
26486 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26514 wxDataObject
*arg2
= 0 ;
26515 PyObject
* obj0
= 0 ;
26516 PyObject
* obj1
= 0 ;
26517 char *kwnames
[] = {
26518 (char *) "self",(char *) "data", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26527 if (arg2
== NULL
) {
26528 PyErr_SetString(PyExc_TypeError
,"null reference");
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 (arg1
)->SetData(*arg2
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 Py_INCREF(Py_None
); resultobj
= Py_None
;
26545 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26548 wxDataObject
*result
;
26549 PyObject
* obj0
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26571 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26575 wxCursor
*arg3
= 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 PyObject
* obj2
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "self",(char *) "res",(char *) "cursor", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26586 arg2
= (int)SWIG_As_int(obj1
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26588 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26591 if (arg3
== NULL
) {
26592 PyErr_SetString(PyExc_TypeError
,"null reference");
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 Py_INCREF(Py_None
); resultobj
= Py_None
;
26609 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26612 int arg2
= (int) wxDrag_CopyOnly
;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "flags", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 arg2
= (int)SWIG_As_int(obj1
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (int)(arg1
)->DoDragDrop(arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= SWIG_From_int((int)result
);
26641 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "effect", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26655 arg2
= (int)SWIG_As_int(obj1
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26673 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26676 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26678 return Py_BuildValue((char *)"");
26680 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26683 wxPyDropTarget
*result
;
26684 PyObject
* obj0
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "dataObject", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26692 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26708 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26711 PyObject
*arg2
= (PyObject
*) 0 ;
26712 PyObject
*arg3
= (PyObject
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 PyObject
* obj2
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "self",(char *) "_class", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 Py_INCREF(Py_None
); resultobj
= Py_None
;
26739 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 Py_INCREF(Py_None
); resultobj
= Py_None
;
26764 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26767 wxDataObject
*result
;
26768 PyObject
* obj0
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26790 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26793 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "dataObject", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26804 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 (arg1
)->SetDataObject(arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 Py_INCREF(Py_None
); resultobj
= Py_None
;
26819 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 PyObject
* obj3
= 0 ;
26830 char *kwnames
[] = {
26831 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 arg2
= (int)SWIG_As_int(obj1
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26839 arg3
= (int)SWIG_As_int(obj2
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26841 arg4
= (int)SWIG_As_int(obj3
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_From_int((int)result
);
26857 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
;
26859 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 PyObject
* obj2
= 0 ;
26867 PyObject
* obj3
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26875 arg2
= (int)SWIG_As_int(obj1
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26877 arg3
= (int)SWIG_As_int(obj2
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26879 arg4
= (int)SWIG_As_int(obj3
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_From_int((int)result
);
26895 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 (arg1
)->base_OnLeave();
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 Py_INCREF(Py_None
); resultobj
= Py_None
;
26920 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 PyObject
* obj2
= 0 ;
26929 char *kwnames
[] = {
26930 (char *) "self",(char *) "x",(char *) "y", NULL
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26936 arg2
= (int)SWIG_As_int(obj1
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26938 arg3
= (int)SWIG_As_int(obj2
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26956 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (bool)(arg1
)->GetData();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26987 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26989 return Py_BuildValue((char *)"");
26991 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxPyTextDropTarget
*result
;
26994 char *kwnames
[] = {
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
27013 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27016 PyObject
*arg2
= (PyObject
*) 0 ;
27017 PyObject
*arg3
= (PyObject
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "self",(char *) "_class", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 Py_INCREF(Py_None
); resultobj
= Py_None
;
27044 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27051 PyObject
* obj0
= 0 ;
27052 PyObject
* obj1
= 0 ;
27053 PyObject
* obj2
= 0 ;
27054 PyObject
* obj3
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27062 arg2
= (int)SWIG_As_int(obj1
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27064 arg3
= (int)SWIG_As_int(obj2
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27066 arg4
= (int)SWIG_As_int(obj3
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_From_int((int)result
);
27082 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 PyObject
* obj3
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 arg2
= (int)SWIG_As_int(obj1
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27102 arg3
= (int)SWIG_As_int(obj2
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27104 arg4
= (int)SWIG_As_int(obj3
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_From_int((int)result
);
27120 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 (arg1
)->base_OnLeave();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 Py_INCREF(Py_None
); resultobj
= Py_None
;
27145 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 PyObject
* obj2
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self",(char *) "x",(char *) "y", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27161 arg2
= (int)SWIG_As_int(obj1
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27163 arg3
= (int)SWIG_As_int(obj2
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27181 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
;
27183 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 PyObject
* obj2
= 0 ;
27191 PyObject
* obj3
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 arg2
= (int)SWIG_As_int(obj1
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27201 arg3
= (int)SWIG_As_int(obj2
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27203 arg4
= (int)SWIG_As_int(obj3
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_From_int((int)result
);
27219 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27222 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27224 return Py_BuildValue((char *)"");
27226 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxPyFileDropTarget
*result
;
27229 char *kwnames
[] = {
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27248 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27251 PyObject
*arg2
= (PyObject
*) 0 ;
27252 PyObject
*arg3
= (PyObject
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 PyObject
* obj2
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self",(char *) "self",(char *) "_class", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 Py_INCREF(Py_None
); resultobj
= Py_None
;
27279 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 PyObject
* obj3
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 arg2
= (int)SWIG_As_int(obj1
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27299 arg3
= (int)SWIG_As_int(obj2
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27301 arg4
= (int)SWIG_As_int(obj3
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= SWIG_From_int((int)result
);
27317 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 PyObject
* obj2
= 0 ;
27327 PyObject
* obj3
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27335 arg2
= (int)SWIG_As_int(obj1
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27337 arg3
= (int)SWIG_As_int(obj2
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27339 arg4
= (int)SWIG_As_int(obj3
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= SWIG_From_int((int)result
);
27355 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27358 PyObject
* obj0
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 (arg1
)->base_OnLeave();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 Py_INCREF(Py_None
); resultobj
= Py_None
;
27380 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 PyObject
* obj2
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "x",(char *) "y", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27396 arg2
= (int)SWIG_As_int(obj1
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27398 arg3
= (int)SWIG_As_int(obj2
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27416 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 PyObject
* obj2
= 0 ;
27426 PyObject
* obj3
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 arg2
= (int)SWIG_As_int(obj1
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27436 arg3
= (int)SWIG_As_int(obj2
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27438 arg4
= (int)SWIG_As_int(obj3
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_From_int((int)result
);
27454 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27457 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27459 return Py_BuildValue((char *)"");
27461 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxClipboard
*result
;
27464 char *kwnames
[] = {
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (wxClipboard
*)new wxClipboard();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27483 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 Py_INCREF(Py_None
); resultobj
= Py_None
;
27508 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (bool)(arg1
)->Open();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27536 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 Py_INCREF(Py_None
); resultobj
= Py_None
;
27561 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27589 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27592 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "data", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27604 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (bool)(arg1
)->AddData(arg2
);
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27621 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
;
27623 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27624 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "data", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27636 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (bool)(arg1
)->SetData(arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27653 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27656 wxDataFormat
*arg2
= 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self",(char *) "format", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27670 if (arg2
== NULL
) {
27671 PyErr_SetString(PyExc_TypeError
,"null reference");
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27690 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
;
27692 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27693 wxDataObject
*arg2
= 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "data", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27707 if (arg2
== NULL
) {
27708 PyErr_SetString(PyExc_TypeError
,"null reference");
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (bool)(arg1
)->GetData(*arg2
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27727 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 Py_INCREF(Py_None
); resultobj
= Py_None
;
27752 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (bool)(arg1
)->Flush();
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27780 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
;
27782 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27783 bool arg2
= (bool) true ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self",(char *) "primary", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 arg2
= (bool)SWIG_As_bool(obj1
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->UsePrimarySelection(arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxClipboard
*result
;
27814 char *kwnames
[] = {
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (wxClipboard
*)wxClipboard::Get();
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27833 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27836 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27838 return Py_BuildValue((char *)"");
27840 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27843 wxClipboardLocker
*result
;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "clipboard", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27868 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 Py_INCREF(Py_None
); resultobj
= Py_None
;
27893 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27921 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27924 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27926 return Py_BuildValue((char *)"");
27928 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 int arg1
= (int) 0 ;
27931 int arg2
= (int) 0 ;
27932 int arg3
= (int) 0 ;
27933 int arg4
= (int) 0 ;
27934 wxVideoMode
*result
;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 PyObject
* obj2
= 0 ;
27938 PyObject
* obj3
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27945 arg1
= (int)SWIG_As_int(obj0
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 arg2
= (int)SWIG_As_int(obj1
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 arg3
= (int)SWIG_As_int(obj2
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 arg4
= (int)SWIG_As_int(obj3
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27974 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 char *kwnames
[] = {
27979 (char *) "self", NULL
27982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 Py_INCREF(Py_None
); resultobj
= Py_None
;
27999 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28002 wxVideoMode
*arg2
= 0 ;
28004 PyObject
* obj0
= 0 ;
28005 PyObject
* obj1
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self",(char *) "other", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28016 if (arg2
== NULL
) {
28017 PyErr_SetString(PyExc_TypeError
,"null reference");
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28036 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28040 PyObject
* obj0
= 0 ;
28041 char *kwnames
[] = {
28042 (char *) "self", NULL
28045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
28046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 resultobj
= SWIG_From_int((int)result
);
28062 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28066 PyObject
* obj0
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28076 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= SWIG_From_int((int)result
);
28088 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_From_int((int)result
);
28114 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28142 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28145 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "other", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28174 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28177 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self",(char *) "other", NULL
28185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28206 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self",(char *) "w", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28219 arg2
= (int)SWIG_As_int(obj1
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28221 if (arg1
) (arg1
)->w
= arg2
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28242 result
= (int) ((arg1
)->w
);
28244 resultobj
= SWIG_From_int((int)result
);
28251 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self",(char *) "h", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 arg2
= (int)SWIG_As_int(obj1
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28266 if (arg1
) (arg1
)->h
= arg2
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28287 result
= (int) ((arg1
)->h
);
28289 resultobj
= SWIG_From_int((int)result
);
28296 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 PyObject
* obj1
= 0 ;
28302 char *kwnames
[] = {
28303 (char *) "self",(char *) "bpp", NULL
28306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 arg2
= (int)SWIG_As_int(obj1
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28311 if (arg1
) (arg1
)->bpp
= arg2
;
28313 Py_INCREF(Py_None
); resultobj
= Py_None
;
28320 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28332 result
= (int) ((arg1
)->bpp
);
28334 resultobj
= SWIG_From_int((int)result
);
28341 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28345 PyObject
* obj0
= 0 ;
28346 PyObject
* obj1
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "refresh", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28354 arg2
= (int)SWIG_As_int(obj1
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28356 if (arg1
) (arg1
)->refresh
= arg2
;
28358 Py_INCREF(Py_None
); resultobj
= Py_None
;
28365 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28369 PyObject
* obj0
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 result
= (int) ((arg1
)->refresh
);
28379 resultobj
= SWIG_From_int((int)result
);
28386 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28389 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28391 return Py_BuildValue((char *)"");
28393 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28394 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28399 static PyObject
*_wrap_DefaultVideoMode_get() {
28402 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28407 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 size_t arg1
= (size_t) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "index", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28418 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (wxDisplay
*)new wxDisplay(arg1
);
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28435 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28463 char *kwnames
[] = {
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (size_t)wxDisplay::GetCount();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28482 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxPoint
*arg1
= 0 ;
28487 PyObject
* obj0
= 0 ;
28488 char *kwnames
[] = {
28489 (char *) "pt", NULL
28492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28495 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= SWIG_From_int((int)result
);
28511 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxWindow
*arg1
= (wxWindow
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "window", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (int)Display_GetFromWindow(arg1
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_From_int((int)result
);
28537 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28541 PyObject
* obj0
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28565 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 wxRect
* resultptr
;
28586 resultptr
= new wxRect((wxRect
&) result
);
28587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28595 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28599 PyObject
* obj0
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= ((wxDisplay
const *)arg1
)->GetName();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28627 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28655 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28658 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28659 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "self",(char *) "mode", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28674 if (arg2
== NULL
) {
28675 PyErr_SetString(PyExc_TypeError
,"null reference");
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= result
;
28693 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28694 PyObject
*resultobj
;
28695 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28696 wxVideoMode result
;
28697 PyObject
* obj0
= 0 ;
28698 char *kwnames
[] = {
28699 (char *) "self", NULL
28702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28713 wxVideoMode
* resultptr
;
28714 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28723 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28726 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28727 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 char *kwnames
[] = {
28732 (char *) "self",(char *) "mode", NULL
28735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28742 if (arg2
== NULL
) {
28743 PyErr_SetString(PyExc_TypeError
,"null reference");
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28763 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 (arg1
)->ResetMode();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 Py_INCREF(Py_None
); resultobj
= Py_None
;
28788 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28791 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28793 return Py_BuildValue((char *)"");
28795 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxStandardPaths
*result
;
28798 char *kwnames
[] = {
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (wxStandardPaths
*)StandardPaths_Get();
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28817 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28849 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28850 PyObject
*resultobj
;
28851 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28853 PyObject
* obj0
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28881 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28913 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28917 PyObject
* obj0
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "self", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28945 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "self", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28977 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 char *kwnames
[] = {
28983 (char *) "self", NULL
28986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29009 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29013 PyObject
* obj0
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29041 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29044 wxString
*arg2
= 0 ;
29045 bool temp2
= false ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "prefix", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
29053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29056 arg2
= wxString_in_helper(obj1
);
29057 if (arg2
== NULL
) SWIG_fail
;
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 Py_INCREF(Py_None
); resultobj
= Py_None
;
29082 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29086 PyObject
* obj0
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29114 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29117 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29119 return Py_BuildValue((char *)"");
29121 static PyMethodDef SwigMethods
[] = {
29122 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29129 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29136 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29200 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29208 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29224 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29229 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29232 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29235 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29241 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29255 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29261 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29267 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29270 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29284 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29287 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29288 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29291 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29318 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29320 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29322 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29324 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29331 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29337 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29351 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29355 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29358 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29375 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29383 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29430 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29458 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29468 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29484 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29500 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29514 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29523 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29566 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29569 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29572 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29576 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29669 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29670 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29671 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29672 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29673 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29674 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29675 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29676 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29677 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29678 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29689 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29726 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29734 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29768 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29776 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29777 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29782 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29791 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29798 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29801 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29804 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29809 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29812 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29816 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29819 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29823 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29828 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29832 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29833 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29834 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29844 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29855 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29863 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29871 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29885 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29889 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29907 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29921 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29932 { NULL
, NULL
, 0, NULL
}
29936 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29938 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29941 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29942 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29944 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29945 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29947 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29948 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29950 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29951 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29953 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29954 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29956 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29957 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29959 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29960 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29962 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29965 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29966 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29968 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29971 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29972 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29974 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29975 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29977 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29980 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29981 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29983 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29984 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29986 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29987 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29989 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29990 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29992 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29993 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29995 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29996 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29998 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29999 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30001 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30002 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30004 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30005 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30007 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30008 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30010 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30011 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30013 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30014 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30016 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30017 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30019 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30020 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30022 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30023 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30025 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30028 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
30029 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
30031 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30032 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30034 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30035 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30037 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30040 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30043 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30044 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30046 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30047 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30049 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30050 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30052 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
30053 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
30055 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30056 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30058 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30059 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30061 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30062 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30064 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30065 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30067 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30068 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30070 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30071 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30073 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30074 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30076 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30077 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30079 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30080 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30082 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30083 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30085 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30086 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30088 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30089 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30091 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30092 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30094 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30095 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30097 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30098 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30100 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30101 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30103 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30104 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30106 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30107 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30109 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30110 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30112 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30113 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30115 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30116 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30118 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30119 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30121 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30122 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30124 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30125 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30127 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30128 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30130 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30133 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30134 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30136 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30137 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30139 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30140 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30142 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30143 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30145 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30146 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30148 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30149 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30151 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30152 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30154 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30155 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30157 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30158 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30160 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30161 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30163 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30164 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30166 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30169 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30170 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30172 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30173 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30175 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30176 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30178 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30179 return (void *)((wxObject
*) ((wxSizer
*) x
));
30181 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30182 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30184 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30185 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30187 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30190 static void *_p_wxEventTo_p_wxObject(void *x
) {
30191 return (void *)((wxObject
*) ((wxEvent
*) x
));
30193 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30194 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30196 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30197 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30199 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30200 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30202 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30203 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30205 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30206 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30208 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30209 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30211 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30212 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30214 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30215 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30217 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30218 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30220 static void *_p_wxControlTo_p_wxObject(void *x
) {
30221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30223 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30224 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30226 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30227 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30229 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30230 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30232 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30233 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30235 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30236 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30238 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30239 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30241 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30244 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30245 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30247 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30248 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30250 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30251 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30253 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30254 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30256 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30259 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30260 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30262 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30263 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30265 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30266 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30268 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30269 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30271 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30272 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30274 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30275 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30277 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30280 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30283 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30286 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30289 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30292 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30295 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30298 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30301 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30304 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30307 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30308 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30310 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30313 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30314 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30316 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30317 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30319 static void *_p_wxImageTo_p_wxObject(void *x
) {
30320 return (void *)((wxObject
*) ((wxImage
*) x
));
30322 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30323 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30325 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30326 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30328 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30329 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30331 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30334 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30335 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30337 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30338 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30340 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30343 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30346 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30349 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30352 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30353 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30355 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30358 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30359 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30361 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30362 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30364 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30365 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30367 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30368 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30370 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30371 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30373 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30374 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30376 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30379 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30380 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30382 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30383 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30385 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30386 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30388 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30391 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30392 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30394 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30397 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30400 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30403 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30404 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30406 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30407 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30409 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30410 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30412 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30413 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30415 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30416 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30418 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30419 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30421 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30422 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30424 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30425 return (void *)((wxWindow
*) ((wxControl
*) x
));
30427 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30428 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30430 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30431 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30433 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30434 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30436 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30437 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30439 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}};
30440 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}};
30441 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}};
30442 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}};
30443 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}};
30444 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}};
30445 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}};
30446 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}};
30447 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}};
30448 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}};
30449 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}};
30450 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}};
30451 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}};
30452 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}};
30453 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}};
30454 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}};
30455 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}};
30456 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}};
30457 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}};
30458 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}};
30459 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}};
30460 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}};
30461 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}};
30462 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}};
30463 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}};
30464 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}};
30465 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}};
30466 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}};
30467 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}};
30468 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}};
30469 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}};
30470 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}};
30471 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}};
30472 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}};
30473 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}};
30474 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}};
30475 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}};
30476 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}};
30477 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}};
30478 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}};
30479 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}};
30480 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}};
30481 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}};
30482 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}};
30483 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}};
30484 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}};
30485 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}};
30486 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}};
30487 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}};
30488 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}};
30489 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}};
30490 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}};
30491 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}};
30492 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}};
30493 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}};
30494 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}};
30495 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}};
30496 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}};
30497 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}};
30498 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}};
30499 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}};
30500 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}};
30501 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}};
30502 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}};
30503 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}};
30504 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}};
30505 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}};
30506 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}};
30507 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}};
30508 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}};
30509 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}};
30510 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}};
30511 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}};
30512 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}};
30513 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}};
30514 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}};
30515 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}};
30516 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}};
30517 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}};
30518 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}};
30519 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}};
30520 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}};
30521 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}};
30522 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}};
30523 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}};
30524 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}};
30525 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}};
30527 static swig_type_info
*swig_types_initial
[] = {
30528 _swigt__p_wxLogChain
,
30529 _swigt__p_wxMutexGuiLocker
,
30530 _swigt__p_wxFileHistory
,
30532 _swigt__p_wxDateTime__TimeZone
,
30535 _swigt__p_wxConfigBase
,
30536 _swigt__p_wxDisplay
,
30537 _swigt__p_wxFileType
,
30538 _swigt__p_wxLogGui
,
30540 _swigt__p_wxDataFormat
,
30541 _swigt__p_wxTimerEvent
,
30545 _swigt__p_wxClipboard
,
30546 _swigt__p_wxStopWatch
,
30548 _swigt__p_wxClipboardLocker
,
30550 _swigt__p_wxLogStderr
,
30551 _swigt__p_wxLogTextCtrl
,
30552 _swigt__p_wxTextCtrl
,
30553 _swigt__p_wxBusyCursor
,
30554 _swigt__p_wxPyTextDataObject
,
30555 _swigt__p_wxBitmapDataObject
,
30556 _swigt__p_wxTextDataObject
,
30557 _swigt__p_wxDataObject
,
30558 _swigt__p_wxPyBitmapDataObject
,
30559 _swigt__p_wxFileDataObject
,
30560 _swigt__p_wxCustomDataObject
,
30561 _swigt__p_wxURLDataObject
,
30562 _swigt__p_wxMetafileDataObject
,
30564 _swigt__p_wxTimerRunner
,
30565 _swigt__p_wxLogWindow
,
30566 _swigt__p_wxTimeSpan
,
30567 _swigt__p_wxArrayString
,
30568 _swigt__p_wxWindowDisabler
,
30569 _swigt__p_wxToolTip
,
30570 _swigt__p_wxDataObjectComposite
,
30571 _swigt__p_wxFileConfig
,
30572 _swigt__p_wxSystemSettings
,
30573 _swigt__p_wxVideoMode
,
30574 _swigt__p_wxPyDataObjectSimple
,
30575 _swigt__p_wxDataObjectSimple
,
30576 _swigt__p_wxEvtHandler
,
30579 _swigt__p_wxSingleInstanceChecker
,
30580 _swigt__p_wxStandardPaths
,
30581 _swigt__p_wxFileTypeInfo
,
30584 _swigt__p_wxMimeTypesManager
,
30585 _swigt__p_wxPyArtProvider
,
30586 _swigt__p_wxPyTipProvider
,
30587 _swigt__p_wxTipProvider
,
30588 _swigt__p_wxJoystick
,
30589 _swigt__p_wxSystemOptions
,
30591 _swigt__p_wxJoystickEvent
,
30592 _swigt__p_wxCursor
,
30593 _swigt__p_wxObject
,
30594 _swigt__p_wxOutputStream
,
30595 _swigt__p_wxDateTime
,
30596 _swigt__p_wxPyDropSource
,
30597 _swigt__p_wxKillError
,
30598 _swigt__p_wxWindow
,
30599 _swigt__p_wxString
,
30600 _swigt__p_wxPyProcess
,
30601 _swigt__p_wxBitmap
,
30602 _swigt__p_wxConfig
,
30604 _swigt__p_wxBusyInfo
,
30605 _swigt__p_wxPyDropTarget
,
30606 _swigt__p_wxPyTextDropTarget
,
30607 _swigt__p_wxPyFileDropTarget
,
30608 _swigt__p_wxProcessEvent
,
30610 _swigt__p_wxLogNull
,
30611 _swigt__p_wxColour
,
30612 _swigt__p_wxConfigPathChanger
,
30613 _swigt__p_wxPyTimer
,
30614 _swigt__p_wxDateSpan
,
30619 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30621 static swig_const_info swig_const_table
[] = {
30622 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30623 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30624 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30625 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30626 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30627 {0, 0, 0, 0.0, 0, 0}};
30636 SWIGEXPORT(void) SWIG_init(void) {
30637 static PyObject
*SWIG_globals
= 0;
30638 static int typeinit
= 0;
30641 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30642 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30643 d
= PyModule_GetDict(m
);
30646 for (i
= 0; swig_types_initial
[i
]; i
++) {
30647 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30651 SWIG_InstallConstants(d
,swig_const_table
);
30653 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30654 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30655 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30656 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30657 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30658 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30659 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30660 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30661 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30662 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30663 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30664 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30665 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30666 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30667 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30668 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30669 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30670 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30671 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30672 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30673 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30674 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30675 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30676 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30677 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30678 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30679 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30680 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30681 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30682 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30683 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30684 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30685 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30686 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30687 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30688 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30689 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30690 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30691 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30692 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30693 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30694 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30695 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30696 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30697 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30698 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30699 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30700 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30701 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30702 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30703 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30704 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30705 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30706 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30707 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30708 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30709 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30710 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30711 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30712 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30713 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30714 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30715 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30716 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30717 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30718 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30719 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30720 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30721 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30722 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30723 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30724 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30725 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30726 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30727 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30728 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30729 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30730 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30731 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30732 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30733 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30734 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30735 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30736 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30737 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30738 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30739 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30740 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30741 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30742 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30743 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30744 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30745 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30746 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30747 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30748 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30749 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30750 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30751 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30752 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30753 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30755 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30757 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30758 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30759 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30760 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30761 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30762 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30763 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30764 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30765 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30766 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30767 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30768 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30769 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30770 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30771 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30772 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30773 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30774 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30775 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30776 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30777 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30778 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30779 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30780 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30781 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30782 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30783 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30784 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30785 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)wxKILL_NOCHILDREN
));
30786 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)wxKILL_CHILDREN
));
30787 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30788 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30789 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30790 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30791 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30792 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30793 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30794 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30795 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30796 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30797 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30798 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30799 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30800 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30801 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30802 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30803 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30804 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30805 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30806 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30807 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30808 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30810 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30812 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30813 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30814 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30815 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30816 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30817 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30818 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30819 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30820 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30821 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30822 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30823 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30824 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30825 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30826 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30827 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30828 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30829 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30830 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30831 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30877 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30879 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30880 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30881 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30882 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30883 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30884 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30885 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30886 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30887 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30888 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30889 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30890 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30891 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30892 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30893 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30894 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30895 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30896 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30897 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30898 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30899 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30900 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30901 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30902 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30903 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30904 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30905 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30906 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30907 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30908 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30909 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30910 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30911 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30912 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30913 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30914 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30915 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30916 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30917 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30918 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30919 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30920 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30921 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30922 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30923 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30924 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30925 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30926 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30927 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30928 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30929 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30930 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30931 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30932 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30933 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30934 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30935 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30936 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30937 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30938 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30939 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30940 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30941 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30942 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30943 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30944 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30945 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30946 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30947 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30948 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30949 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30950 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30951 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30952 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30953 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30954 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30955 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30956 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30957 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30958 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30959 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30960 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30961 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30962 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30963 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30964 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30965 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30966 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30967 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30968 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30969 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30970 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30971 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30972 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30973 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30974 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30975 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30976 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30977 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30978 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30979 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30980 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30981 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30982 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30983 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30984 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30985 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30986 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30987 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30988 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30989 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30990 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30991 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30992 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30993 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30994 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30995 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30996 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30997 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30998 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30999 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
31000 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
31001 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
31002 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
31003 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
31004 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
31005 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
31006 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
31007 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
31008 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
31009 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
31010 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
31011 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
31012 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
31013 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
31014 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
31015 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
31016 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
31017 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
31018 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
31019 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
31020 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
31021 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
31022 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
31023 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
31024 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
31025 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
31026 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
31027 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
31028 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
31029 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
31030 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
31031 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
31032 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
31033 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
31034 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
31035 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
31036 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
31037 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
31038 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
31039 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
31040 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
31041 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
31042 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
31043 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
31044 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
31045 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
31046 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
31047 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
31048 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
31049 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
31050 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
31051 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
31052 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
31053 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
31054 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
31055 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
31056 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
31057 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
31058 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
31059 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31060 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31061 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31062 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31063 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31064 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31065 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31066 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31067 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31068 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31069 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31070 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31071 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31072 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31073 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31074 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31075 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31076 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31077 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31078 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31080 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31081 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31082 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31083 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31085 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);