1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxMetafile swig_types[2]
214 #define SWIGTYPE_p_wxFileHistory swig_types[3]
215 #define SWIGTYPE_p_wxLog swig_types[4]
216 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
217 #define SWIGTYPE_p_wxMenu swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxConfigBase swig_types[8]
220 #define SWIGTYPE_p_wxDisplay swig_types[9]
221 #define SWIGTYPE_p_wxFileType swig_types[10]
222 #define SWIGTYPE_p_wxLogGui swig_types[11]
223 #define SWIGTYPE_p_wxFont swig_types[12]
224 #define SWIGTYPE_p_wxDataFormat swig_types[13]
225 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
226 #define SWIGTYPE_p_wxCaret swig_types[15]
227 #define SWIGTYPE_p_int swig_types[16]
228 #define SWIGTYPE_p_wxSize swig_types[17]
229 #define SWIGTYPE_p_wxClipboard swig_types[18]
230 #define SWIGTYPE_p_wxStopWatch swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
233 #define SWIGTYPE_p_wxIcon swig_types[22]
234 #define SWIGTYPE_p_wxLogStderr swig_types[23]
235 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
237 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
238 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
239 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
240 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
241 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
242 #define SWIGTYPE_p_wxDataObject swig_types[31]
243 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
247 #define SWIGTYPE_p_wxSound swig_types[36]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
249 #define SWIGTYPE_p_wxLogWindow swig_types[38]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
251 #define SWIGTYPE_p_wxArrayString swig_types[40]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
253 #define SWIGTYPE_p_wxToolTip swig_types[42]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
255 #define SWIGTYPE_p_wxFileConfig swig_types[44]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
257 #define SWIGTYPE_p_wxVideoMode swig_types[46]
258 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
260 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_char swig_types[51]
263 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
264 #define SWIGTYPE_p_wxStandardPaths swig_types[53]
265 #define SWIGTYPE_p_wxFileTypeInfo swig_types[54]
266 #define SWIGTYPE_p_wxFrame swig_types[55]
267 #define SWIGTYPE_p_wxTimer swig_types[56]
268 #define SWIGTYPE_p_wxMimeTypesManager swig_types[57]
269 #define SWIGTYPE_p_wxPyArtProvider swig_types[58]
270 #define SWIGTYPE_p_wxPyTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxTipProvider swig_types[60]
272 #define SWIGTYPE_p_wxJoystick swig_types[61]
273 #define SWIGTYPE_p_wxSystemOptions swig_types[62]
274 #define SWIGTYPE_p_wxPoint swig_types[63]
275 #define SWIGTYPE_p_wxJoystickEvent swig_types[64]
276 #define SWIGTYPE_p_wxCursor swig_types[65]
277 #define SWIGTYPE_p_wxObject swig_types[66]
278 #define SWIGTYPE_p_wxOutputStream swig_types[67]
279 #define SWIGTYPE_p_wxDateTime swig_types[68]
280 #define SWIGTYPE_p_wxPyDropSource swig_types[69]
281 #define SWIGTYPE_p_wxWindow swig_types[70]
282 #define SWIGTYPE_p_wxString swig_types[71]
283 #define SWIGTYPE_p_wxPyProcess swig_types[72]
284 #define SWIGTYPE_p_wxBitmap swig_types[73]
285 #define SWIGTYPE_p_wxConfig swig_types[74]
286 #define SWIGTYPE_p_wxChar swig_types[75]
287 #define SWIGTYPE_p_wxBusyInfo swig_types[76]
288 #define SWIGTYPE_p_wxPyDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[78]
290 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[79]
291 #define SWIGTYPE_p_wxProcessEvent swig_types[80]
292 #define SWIGTYPE_p_wxPyLog swig_types[81]
293 #define SWIGTYPE_p_wxLogNull swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
296 #define SWIGTYPE_p_wxPyTimer swig_types[85]
297 #define SWIGTYPE_p_wxDateSpan swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _misc_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_misc_
308 #define SWIG_name "_misc_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372 #include "wx/wxPython/pyistream.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(int)
469 SWIG_Check_int(PyObject
* obj
)
471 return SWIG_AsVal_int(obj
, (int*)0);
474 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
476 #include <wx/stockitem.h>
478 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
479 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
480 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
482 SWIGSTATICINLINE(long)
483 SWIG_As_long(PyObject
* obj
)
486 if (!SWIG_AsVal_long(obj
, &v
)) {
488 this is needed to make valgrind/purify happier. the other
489 solution is throw an exception, but since this code should work
492 memset((void*)&v
, 0, sizeof(long));
498 SWIGSTATICINLINE(int)
499 SWIG_Check_long(PyObject
* obj
)
501 return SWIG_AsVal_long(obj
, (long*)0);
505 SWIGSTATICINLINE(int)
506 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
508 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
509 if (obj
== Py_True
) {
510 if (val
) *val
= true;
513 if (obj
== Py_False
) {
514 if (val
) *val
= false;
518 if (SWIG_AsVal_int(obj
, &res
)) {
519 if (val
) *val
= (bool)res
;
523 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
529 SWIGSTATICINLINE(bool)
530 SWIG_As_bool(PyObject
* obj
)
533 if (!SWIG_AsVal_bool(obj
, &v
)) {
535 this is needed to make valgrind/purify happier. the other
536 solution is throw an exception, but since this code should work
539 memset((void*)&v
, 0, sizeof(bool));
545 SWIGSTATICINLINE(int)
546 SWIG_Check_bool(PyObject
* obj
)
548 return SWIG_AsVal_bool(obj
, (bool*)0);
552 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
558 } else if (target
== Py_None
) {
562 if (!PyTuple_Check(target
)) {
564 target
= PyTuple_New(1);
565 PyTuple_SetItem(target
, 0, o2
);
568 PyTuple_SetItem(o3
, 0, o
);
571 target
= PySequence_Concat(o2
, o3
);
580 // See my_fragments.i
581 SWIGSTATICINLINE(int)
582 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
585 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
586 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
590 *val
= (unsigned long)v
;
595 SWIGSTATICINLINE(unsigned long)
596 SWIG_As_unsigned_SS_long(PyObject
* obj
)
599 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
601 this is needed to make valgrind/purify happier. the other
602 solution is throw an exception, but since this code should work
605 memset((void*)&v
, 0, sizeof(unsigned long));
611 SWIGSTATICINLINE(int)
612 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
614 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
618 SWIGSTATICINLINE(PyObject
* )
619 SWIG_From_unsigned_SS_long(unsigned long value
)
621 return (value
> LONG_MAX
) ?
622 PyLong_FromUnsignedLong(value
)
623 : PyInt_FromLong(swig_numeric_cast(value
,long));
627 bool wxThread_IsMain() {
628 #ifdef WXP_WITH_THREAD
629 return wxThread::IsMain();
636 int wxCaret_GetBlinkTime() {
637 return wxCaret::GetBlinkTime();
640 void wxCaret_SetBlinkTime(int milliseconds
) {
641 wxCaret::SetBlinkTime(milliseconds
);
645 #include <wx/snglinst.h>
649 #include <wx/msw/private.h>
650 #include <wx/dynload.h>
655 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
662 // This one only partially works. Appears to be an undocumented
663 // "standard" convention that not all widgets adhear to. For
664 // example, for some widgets backgrounds or non-client areas may
666 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
670 // This one works much better, except for on XP. On Win2k nearly
671 // all widgets and their children are captured correctly[**]. On
672 // XP with Themes activated most native widgets draw only
673 // partially, if at all. Without themes it works just like on
676 // ** For example the radio buttons in a wxRadioBox are not its
677 // children by default, but you can capture it via the panel
678 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
679 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
680 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
681 PRF_ERASEBKGND
| PRF_OWNED
);
685 // This one is only defined in the latest SDK and is only
686 // available on XP. MSDN says it is similar to sending WM_PRINT
687 // so I expect that it will work similar to the above. Since it
688 // is avaialble only on XP, it can't be compiled like this and
689 // will have to be loaded dynamically.
690 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
695 // Use PrintWindow if available, or fallback to WM_PRINT
696 // otherwise. Unfortunately using PrintWindow is even worse than
697 // WM_PRINT. For most native widgets nothing is drawn to the dc
698 // at all, with or without Themes.
699 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
700 static bool s_triedToLoad
= false;
701 static PrintWindow_t pfnPrintWindow
= NULL
;
702 if ( !s_triedToLoad
)
705 s_triedToLoad
= true;
706 wxDynamicLibrary
dllUser32(_T("user32.dll"));
707 if ( dllUser32
.IsLoaded() )
709 wxLogNull nolog
; // Don't report errors here
710 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
715 printf("Using PrintWindow\n");
716 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
720 printf("Using WM_PRINT\n");
721 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
722 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
730 #include <wx/tipdlg.h>
733 class wxPyTipProvider
: public wxTipProvider
{
735 wxPyTipProvider(size_t currentTip
)
736 : wxTipProvider(currentTip
) {}
738 DEC_PYCALLBACK_STRING__pure(GetTip
);
739 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
743 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
744 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
747 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
749 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
751 void wxPyTimer::Notify() {
753 bool blocked
= wxPyBeginBlockThreads();
754 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
756 wxPyEndBlockThreads(blocked
);
760 void wxPyTimer::base_Notify() {
766 SWIGSTATICINLINE(PyObject
*)
767 SWIG_FromCharPtr(const char* cptr
)
770 size_t size
= strlen(cptr
);
771 if (size
> INT_MAX
) {
772 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
773 SWIG_TypeQuery("char *"), 0);
776 return PyString_FromStringAndSize(cptr
, size
);
778 return PyString_FromString(cptr
);
787 SWIGSTATICINLINE(int)
788 SWIG_CheckUnsignedLongInRange(unsigned long value
,
789 unsigned long max_value
,
792 if (value
> max_value
) {
794 PyErr_Format(PyExc_OverflowError
,
795 "value %ld is greater than '%s' minimum %ld",
796 value
, errmsg
, max_value
);
804 #if UINT_MAX != ULONG_MAX
805 SWIGSTATICINLINE(int)
806 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
808 const char* errmsg
= val
? "unsigned int" : 0;
810 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
811 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
812 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
819 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
827 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_As_unsigned_SS_int(PyObject
* obj
)
836 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
838 this is needed to make valgrind/purify happier. the other
839 solution is throw an exception, but since this code should work
842 memset((void*)&v
, 0, sizeof(unsigned int));
848 SWIGSTATICINLINE(int)
849 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
851 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
854 wxString
Log_TimeStamp(){
856 wxLog::TimeStamp(&msg
);
859 void wxLog_Destroy(wxLog
*self
){ delete self
; }
860 // Make somce wrappers that double any % signs so they are 'escaped'
861 void wxPyLogFatalError(const wxString
& msg
)
864 m
.Replace(wxT("%"), wxT("%%"));
868 void wxPyLogError(const wxString
& msg
)
871 m
.Replace(wxT("%"), wxT("%%"));
875 void wxPyLogWarning(const wxString
& msg
)
878 m
.Replace(wxT("%"), wxT("%%"));
882 void wxPyLogMessage(const wxString
& msg
)
885 m
.Replace(wxT("%"), wxT("%%"));
889 void wxPyLogInfo(const wxString
& msg
)
892 m
.Replace(wxT("%"), wxT("%%"));
896 void wxPyLogDebug(const wxString
& msg
)
899 m
.Replace(wxT("%"), wxT("%%"));
903 void wxPyLogVerbose(const wxString
& msg
)
906 m
.Replace(wxT("%"), wxT("%%"));
910 void wxPyLogStatus(const wxString
& msg
)
913 m
.Replace(wxT("%"), wxT("%%"));
917 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
920 m
.Replace(wxT("%"), wxT("%%"));
921 wxLogStatus(pFrame
, m
);
924 void wxPyLogSysError(const wxString
& msg
)
927 m
.Replace(wxT("%"), wxT("%%"));
931 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
934 m
.Replace(wxT("%"), wxT("%%"));
935 wxLogGeneric(level
, m
);
938 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
941 m
.Replace(wxT("%"), wxT("%%"));
945 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
948 m
.Replace(wxT("%"), wxT("%%"));
954 // A wxLog class that can be derived from in wxPython
955 class wxPyLog
: public wxLog
{
957 wxPyLog() : wxLog() {}
959 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
961 bool blocked
= wxPyBeginBlockThreads();
962 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
963 PyObject
* s
= wx2PyString(szString
);
964 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
967 wxPyEndBlockThreads(blocked
);
969 wxLog::DoLog(level
, szString
, t
);
972 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
974 bool blocked
= wxPyBeginBlockThreads();
975 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
976 PyObject
* s
= wx2PyString(szString
);
977 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
980 wxPyEndBlockThreads(blocked
);
982 wxLog::DoLogString(szString
, t
);
991 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
994 #include <wx/joystick.h>
997 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
998 // A C++ stub class for wxJoystick for platforms that don't have it.
999 class wxJoystick
: public wxObject
{
1001 wxJoystick(int joystick
= wxJOYSTICK1
) {
1002 bool blocked
= wxPyBeginBlockThreads();
1003 PyErr_SetString(PyExc_NotImplementedError
,
1004 "wxJoystick is not available on this platform.");
1005 wxPyEndBlockThreads(blocked
);
1007 wxPoint
GetPosition() { return wxPoint(-1,-1); }
1008 int GetZPosition() { return -1; }
1009 int GetButtonState() { return -1; }
1010 int GetPOVPosition() { return -1; }
1011 int GetPOVCTSPosition() { return -1; }
1012 int GetRudderPosition() { return -1; }
1013 int GetUPosition() { return -1; }
1014 int GetVPosition() { return -1; }
1015 int GetMovementThreshold() { return -1; }
1016 void SetMovementThreshold(int threshold
) {}
1018 bool IsOk(void) { return false; }
1019 int GetNumberJoysticks() { return -1; }
1020 int GetManufacturerId() { return -1; }
1021 int GetProductId() { return -1; }
1022 wxString
GetProductName() { return wxEmptyString
; }
1023 int GetXMin() { return -1; }
1024 int GetYMin() { return -1; }
1025 int GetZMin() { return -1; }
1026 int GetXMax() { return -1; }
1027 int GetYMax() { return -1; }
1028 int GetZMax() { return -1; }
1029 int GetNumberButtons() { return -1; }
1030 int GetNumberAxes() { return -1; }
1031 int GetMaxButtons() { return -1; }
1032 int GetMaxAxes() { return -1; }
1033 int GetPollingMin() { return -1; }
1034 int GetPollingMax() { return -1; }
1035 int GetRudderMin() { return -1; }
1036 int GetRudderMax() { return -1; }
1037 int GetUMin() { return -1; }
1038 int GetUMax() { return -1; }
1039 int GetVMin() { return -1; }
1040 int GetVMax() { return -1; }
1042 bool HasRudder() { return false; }
1043 bool HasZ() { return false; }
1044 bool HasU() { return false; }
1045 bool HasV() { return false; }
1046 bool HasPOV() { return false; }
1047 bool HasPOV4Dir() { return false; }
1048 bool HasPOVCTS() { return false; }
1050 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
1051 bool ReleaseCapture() { return false; }
1056 #include <wx/sound.h>
1060 // A C++ stub class for wxWave for platforms that don't have it.
1061 class wxSound
: public wxObject
1065 bool blocked
= wxPyBeginBlockThreads();
1066 PyErr_SetString(PyExc_NotImplementedError
,
1067 "wxSound is not available on this platform.");
1068 wxPyEndBlockThreads(blocked
);
1070 wxSound(const wxString
&/*, bool*/) {
1071 bool blocked
= wxPyBeginBlockThreads();
1072 PyErr_SetString(PyExc_NotImplementedError
,
1073 "wxSound is not available on this platform.");
1074 wxPyEndBlockThreads(blocked
);
1076 wxSound(int, const wxByte
*) {
1077 bool blocked
= wxPyBeginBlockThreads();
1078 PyErr_SetString(PyExc_NotImplementedError
,
1079 "wxSound is not available on this platform.");
1080 wxPyEndBlockThreads(blocked
);
1085 bool Create(const wxString
&/*, bool*/) { return false; }
1086 bool Create(int, const wxByte
*) { return false; };
1087 bool IsOk() { return false; };
1088 bool Play(unsigned) const { return false; }
1089 static bool Play(const wxString
&, unsigned) { return false; }
1090 static void Stop() {}
1095 wxSound
*new_wxSound(wxString
const &fileName
){
1096 if (fileName
.Length() == 0)
1099 return new wxSound(fileName
);
1101 wxSound
*new_wxSound(PyObject
*data
){
1102 unsigned char* buffer
; int size
;
1103 wxSound
*sound
= NULL
;
1105 bool blocked
= wxPyBeginBlockThreads();
1106 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1108 sound
= new wxSound(size
, buffer
);
1110 wxPyEndBlockThreads(blocked
);
1113 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1115 unsigned char* buffer
;
1119 bool blocked
= wxPyBeginBlockThreads();
1120 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1122 rv
= self
->Create(size
, buffer
);
1124 wxPyEndBlockThreads(blocked
);
1127 bool blocked
= wxPyBeginBlockThreads();
1128 PyErr_SetString(PyExc_NotImplementedError
,
1129 "Create from data is not available on this platform.");
1130 wxPyEndBlockThreads(blocked
);
1134 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
1136 #include <wx/mimetype.h>
1138 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1140 if (self
->GetMimeType(&str
))
1141 return wx2PyString(str
);
1145 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1147 if (self
->GetMimeTypes(arr
))
1148 return wxArrayString2PyList_helper(arr
);
1152 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1154 if (self
->GetExtensions(arr
))
1155 return wxArrayString2PyList_helper(arr
);
1159 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1161 if (self
->GetIcon(&loc
))
1162 return new wxIcon(loc
);
1166 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1168 if (self
->GetIcon(&loc
)) {
1169 wxString iconFile
= loc
.GetFileName();
1174 // Make a tuple and put the values in it
1175 bool blocked
= wxPyBeginBlockThreads();
1176 PyObject
* tuple
= PyTuple_New(3);
1177 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1178 wxT("wxIcon"), true));
1179 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1180 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1181 wxPyEndBlockThreads(blocked
);
1187 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1189 if (self
->GetDescription(&str
))
1190 return wx2PyString(str
);
1194 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1196 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1197 return wx2PyString(str
);
1201 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1203 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1204 return wx2PyString(str
);
1208 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1209 wxArrayString verbs
;
1210 wxArrayString commands
;
1211 if (self
->GetAllCommands(&verbs
, &commands
,
1212 wxFileType::MessageParameters(filename
, mimetype
))) {
1213 bool blocked
= wxPyBeginBlockThreads();
1214 PyObject
* tuple
= PyTuple_New(2);
1215 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1216 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1217 wxPyEndBlockThreads(blocked
);
1223 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1224 return wxFileType::ExpandCommand(command
,
1225 wxFileType::MessageParameters(filename
, mimetype
));
1227 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1229 self
->EnumAllFileTypes(arr
);
1230 return wxArrayString2PyList_helper(arr
);
1233 #include <wx/artprov.h>
1235 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1236 static const wxString
wxPyART_MENU(wxART_MENU
);
1237 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1238 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1239 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1240 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1241 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1242 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1243 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1244 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1245 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1246 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1247 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1248 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1249 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1250 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1251 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1252 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1253 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1254 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1255 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1256 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1257 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1258 static const wxString
wxPyART_HELP(wxART_HELP
);
1259 static const wxString
wxPyART_TIP(wxART_TIP
);
1260 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1261 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1262 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1263 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1264 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1265 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1266 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1267 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1268 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1269 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1270 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1271 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1272 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1273 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1274 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1275 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1276 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1277 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1278 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1279 // Python aware wxArtProvider
1280 class wxPyArtProvider
: public wxArtProvider
{
1283 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1284 const wxArtClient
& client
,
1285 const wxSize
& size
) {
1286 wxBitmap rval
= wxNullBitmap
;
1287 bool blocked
= wxPyBeginBlockThreads();
1288 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1289 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1293 s1
= wx2PyString(id
);
1294 s2
= wx2PyString(client
);
1295 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1300 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1305 wxPyEndBlockThreads(blocked
);
1312 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1316 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1317 PyObject
* ret
= PyTuple_New(3);
1319 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1320 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1321 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1326 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1331 cont
= self
->GetFirstGroup(value
, index
);
1332 return __EnumerationHelper(cont
, value
, index
);
1334 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1338 cont
= self
->GetNextGroup(value
, index
);
1339 return __EnumerationHelper(cont
, value
, index
);
1341 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1346 cont
= self
->GetFirstEntry(value
, index
);
1347 return __EnumerationHelper(cont
, value
, index
);
1349 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1353 cont
= self
->GetNextEntry(value
, index
);
1354 return __EnumerationHelper(cont
, value
, index
);
1356 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1358 self
->Read(key
, &rv
, defaultVal
);
1362 // See my_fragments.i
1363 SWIGSTATICINLINE(int)
1364 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1366 if (PyNumber_Check(obj
)) {
1367 if (val
) *val
= PyFloat_AsDouble(obj
);
1371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1372 obj
->ob_type
->tp_name
);
1373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1380 SWIGSTATICINLINE(double)
1381 SWIG_As_double(PyObject
* obj
)
1384 if (!SWIG_AsVal_double(obj
, &v
)) {
1386 this is needed to make valgrind/purify happier. the other
1387 solution is throw an exception, but since this code should work
1390 memset((void*)&v
, 0, sizeof(double));
1396 SWIGSTATICINLINE(int)
1397 SWIG_Check_double(PyObject
* obj
)
1399 return SWIG_AsVal_double(obj
, (double*)0);
1402 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1404 self
->Read(key
, &rv
, defaultVal
);
1407 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1409 self
->Read(key
, &rv
, defaultVal
);
1413 #include <wx/datetime.h>
1416 static const wxString
wxPyDateFormatStr(wxT("%c"));
1417 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1419 #define LOCAL_TZ wxDateTime::Local
1422 #if UINT_MAX < LONG_MAX
1423 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1424 #define SWIG_From_unsigned_SS_int SWIG_From_long
1427 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1428 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1432 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1433 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1434 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1435 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1436 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1437 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1438 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1439 return (*self
< *other
);
1441 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1442 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1443 return (*self
<= *other
);
1445 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1446 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1447 return (*self
> *other
);
1449 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1450 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1451 return (*self
>= *other
);
1453 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1454 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1455 return (*self
== *other
);
1457 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1458 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1459 return (*self
!= *other
);
1461 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1463 const wxChar
* _date
= date
;
1464 rv
= self
->ParseRfc822Date(_date
);
1465 if (rv
== NULL
) return -1;
1468 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1470 const wxChar
* _date
= date
;
1471 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1472 if (rv
== NULL
) return -1;
1475 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1477 const wxChar
* _datetime
= datetime
;
1478 rv
= self
->ParseDateTime(_datetime
);
1479 if (rv
== NULL
) return -1;
1480 return rv
- _datetime
;
1482 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1484 const wxChar
* _date
= date
;
1485 rv
= self
->ParseDate(_date
);
1486 if (rv
== NULL
) return -1;
1489 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1491 const wxChar
* _time
= time
;
1492 rv
= self
->ParseTime(_time
);
1493 if (rv
== NULL
) return -1;
1496 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1497 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1498 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1499 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1500 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1501 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1502 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1503 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1504 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1505 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1506 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1507 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1508 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1509 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1510 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1511 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1513 #include <wx/dataobj.h>
1515 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1516 size_t count
= self
->GetFormatCount(dir
);
1517 wxDataFormat
* formats
= new wxDataFormat
[count
];
1518 self
->GetAllFormats(formats
, dir
);
1520 bool blocked
= wxPyBeginBlockThreads();
1521 PyObject
* list
= PyList_New(count
);
1522 for (size_t i
=0; i
<count
; i
++) {
1523 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1524 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1525 PyList_Append(list
, obj
);
1528 wxPyEndBlockThreads(blocked
);
1532 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1533 PyObject
* rval
= NULL
;
1534 size_t size
= self
->GetDataSize(format
);
1535 bool blocked
= wxPyBeginBlockThreads();
1537 char* buf
= new char[size
];
1538 if (self
->GetDataHere(format
, buf
))
1539 rval
= PyString_FromStringAndSize(buf
, size
);
1546 wxPyEndBlockThreads(blocked
);
1549 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1551 bool blocked
= wxPyBeginBlockThreads();
1552 if (PyString_Check(data
)) {
1553 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1556 // raise a TypeError if not a string
1557 PyErr_SetString(PyExc_TypeError
, "String expected.");
1560 wxPyEndBlockThreads(blocked
);
1563 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1564 PyObject
* rval
= NULL
;
1565 size_t size
= self
->GetDataSize();
1566 bool blocked
= wxPyBeginBlockThreads();
1568 char* buf
= new char[size
];
1569 if (self
->GetDataHere(buf
))
1570 rval
= PyString_FromStringAndSize(buf
, size
);
1577 wxPyEndBlockThreads(blocked
);
1580 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1582 bool blocked
= wxPyBeginBlockThreads();
1583 if (PyString_Check(data
)) {
1584 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1587 // raise a TypeError if not a string
1588 PyErr_SetString(PyExc_TypeError
, "String expected.");
1591 wxPyEndBlockThreads(blocked
);
1594 // Create a new class for wxPython to use
1595 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1597 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1598 : wxDataObjectSimple(format
) {}
1600 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1601 bool GetDataHere(void *buf
) const;
1602 bool SetData(size_t len
, const void *buf
) const;
1606 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1608 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1609 // We need to get the data for this object and write it to buf. I think
1610 // the best way to do this for wxPython is to have the Python method
1611 // return either a string or None and then act appropriately with the
1615 bool blocked
= wxPyBeginBlockThreads();
1616 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1618 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1620 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1622 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1626 wxPyEndBlockThreads(blocked
);
1630 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1631 // For this one we simply need to make a string from buf and len
1632 // and send it to the Python method.
1634 bool blocked
= wxPyBeginBlockThreads();
1635 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1636 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1637 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1640 wxPyEndBlockThreads(blocked
);
1644 // Create a new class for wxPython to use
1645 class wxPyTextDataObject
: public wxTextDataObject
{
1647 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1648 : wxTextDataObject(text
) {}
1650 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1651 DEC_PYCALLBACK_STRING__const(GetText
);
1652 DEC_PYCALLBACK__STRING(SetText
);
1656 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1657 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1658 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1661 // Create a new class for wxPython to use
1662 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1664 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1665 : wxBitmapDataObject(bitmap
) {}
1667 wxBitmap
GetBitmap() const;
1668 void SetBitmap(const wxBitmap
& bitmap
);
1672 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1673 wxBitmap
* rval
= &wxNullBitmap
;
1674 bool blocked
= wxPyBeginBlockThreads();
1675 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1678 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1680 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1685 wxPyEndBlockThreads(blocked
);
1689 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1690 bool blocked
= wxPyBeginBlockThreads();
1691 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1692 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1693 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1696 wxPyEndBlockThreads(blocked
);
1699 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1701 bool blocked
= wxPyBeginBlockThreads();
1702 if (PyString_Check(data
)) {
1703 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1706 // raise a TypeError if not a string
1707 PyErr_SetString(PyExc_TypeError
, "String expected.");
1710 wxPyEndBlockThreads(blocked
);
1713 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1715 bool blocked
= wxPyBeginBlockThreads();
1716 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1717 wxPyEndBlockThreads(blocked
);
1721 #include <wx/metafile.h>
1724 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1727 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1728 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1729 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1730 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1731 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1734 class wxPyTextDropTarget
: public wxTextDropTarget
{
1736 wxPyTextDropTarget() {}
1738 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1740 DEC_PYCALLBACK__(OnLeave
);
1741 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1742 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1743 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1744 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1749 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1750 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1751 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1752 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1753 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1754 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1758 class wxPyFileDropTarget
: public wxFileDropTarget
{
1760 wxPyFileDropTarget() {}
1762 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1764 DEC_PYCALLBACK__(OnLeave
);
1765 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1766 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1767 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1768 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1773 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1774 const wxArrayString
& filenames
) {
1776 bool blocked
= wxPyBeginBlockThreads();
1777 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1778 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1779 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1782 wxPyEndBlockThreads(blocked
);
1788 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1789 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1790 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1791 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1792 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1797 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1799 #include <wx/display.h>
1801 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1802 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1804 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1806 #include <wx/dynarray.h>
1807 #include <wx/vidmode.h>
1809 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1810 #include "wx/arrimpl.cpp"
1811 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1812 const wxVideoMode wxDefaultVideoMode
;
1817 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1820 static size_t GetCount()
1821 { wxPyRaiseNotImplemented(); return 0; }
1823 static int GetFromPoint(const wxPoint
& pt
)
1824 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1825 static int GetFromWindow(wxWindow
*window
)
1826 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1828 virtual bool IsOk() const { return false; }
1829 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1830 virtual wxString
GetName() const { return wxEmptyString
; }
1831 bool IsPrimary() const { return false; }
1833 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1834 { wxArrayVideoModes a
; return a
; }
1836 virtual wxVideoMode
GetCurrentMode() const
1837 { return wxDefaultVideoMode
; }
1839 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1846 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1847 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1848 PyObject
* pyList
= NULL
;
1849 wxArrayVideoModes arr
= self
->GetModes(mode
);
1850 bool blocked
= wxPyBeginBlockThreads();
1851 pyList
= PyList_New(0);
1852 for (int i
=0; i
< arr
.GetCount(); i
++) {
1853 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1854 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1855 PyList_Append(pyList
, pyObj
);
1858 wxPyEndBlockThreads(blocked
);
1862 #include <wx/stdpaths.h>
1864 wxStandardPaths
*StandardPaths_Get(){
1865 return (wxStandardPaths
*) &wxStandardPaths::Get();
1867 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1868 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1872 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "index", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1882 arg1
= (int)SWIG_As_int(obj0
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 if (!wxPyCheckForApp()) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1893 wxColour
* resultptr
;
1894 resultptr
= new wxColour((wxColour
&) result
);
1895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1903 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "index", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1913 arg1
= (int)SWIG_As_int(obj0
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 if (!wxPyCheckForApp()) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1925 resultptr
= new wxFont((wxFont
&) result
);
1926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1934 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "index", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1944 arg1
= (int)SWIG_As_int(obj0
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 if (!wxPyCheckForApp()) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 resultobj
= SWIG_From_int((int)result
);
1961 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1965 PyObject
* obj0
= 0 ;
1967 (char *) "index", NULL
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1971 arg1
= (int)SWIG_As_int(obj0
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 if (!wxPyCheckForApp()) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1990 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1999 if (!wxPyCheckForApp()) SWIG_fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 result
= (int)wxSystemSettings::GetScreenType();
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 resultobj
= SWIG_From_int((int)result
);
2013 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2016 PyObject
* obj0
= 0 ;
2018 (char *) "screen", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2022 arg1
= (int)SWIG_As_int(obj0
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 if (!wxPyCheckForApp()) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2042 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2044 return Py_BuildValue((char *)"");
2046 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2047 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2052 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2057 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2059 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2066 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 wxSystemOptions
*result
;
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (wxSystemOptions
*)new wxSystemOptions();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2088 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxString
*arg1
= 0 ;
2091 wxString
*arg2
= 0 ;
2092 bool temp1
= false ;
2093 bool temp2
= false ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2097 (char *) "name",(char *) "value", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2102 arg1
= wxString_in_helper(obj0
);
2103 if (arg1
== NULL
) SWIG_fail
;
2107 arg2
= wxString_in_helper(obj1
);
2108 if (arg2
== NULL
) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxString
*arg1
= 0 ;
2145 bool temp1
= false ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "name",(char *) "value", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2154 arg1
= wxString_in_helper(obj0
);
2155 if (arg1
== NULL
) SWIG_fail
;
2158 arg2
= (int)SWIG_As_int(obj1
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2182 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 wxString
*arg1
= 0 ;
2186 bool temp1
= false ;
2187 PyObject
* obj0
= 0 ;
2189 (char *) "name", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2194 arg1
= wxString_in_helper(obj0
);
2195 if (arg1
== NULL
) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2226 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxString
*arg1
= 0 ;
2230 bool temp1
= false ;
2231 PyObject
* obj0
= 0 ;
2233 (char *) "name", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2238 arg1
= wxString_in_helper(obj0
);
2239 if (arg1
== NULL
) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= SWIG_From_int((int)result
);
2264 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 wxString
*arg1
= 0 ;
2268 bool temp1
= false ;
2269 PyObject
* obj0
= 0 ;
2271 (char *) "name", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2276 arg1
= wxString_in_helper(obj0
);
2277 if (arg1
== NULL
) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2307 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2309 return Py_BuildValue((char *)"");
2311 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2312 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2317 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2322 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2324 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2331 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2332 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2337 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2342 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2344 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2351 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2352 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2357 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2362 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2364 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2371 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (long)wxNewId();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= SWIG_From_long((long)result
);
2393 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2396 PyObject
* obj0
= 0 ;
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2402 arg1
= (long)SWIG_As_long(obj0
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= (long)wxGetCurrentId();
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 resultobj
= SWIG_From_long((long)result
);
2440 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
*resultobj
;
2444 PyObject
* obj0
= 0 ;
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2450 arg1
= (int)SWIG_As_int(obj0
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= (bool)wxIsStockID(arg1
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2468 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2471 wxString
*arg2
= 0 ;
2473 bool temp2
= false ;
2474 PyObject
* obj0
= 0 ;
2475 PyObject
* obj1
= 0 ;
2477 (char *) "id",(char *) "label", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2481 arg1
= (int)SWIG_As_int(obj0
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 arg2
= wxString_in_helper(obj1
);
2485 if (arg2
== NULL
) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2512 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2516 PyObject
* obj0
= 0 ;
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2522 arg1
= (int)SWIG_As_int(obj0
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 result
= wxGetStockLabel(arg1
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2544 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2552 if (!wxPyCheckForApp()) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 Py_INCREF(Py_None
); resultobj
= Py_None
;
2566 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2574 if (!wxPyCheckForApp()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 Py_INCREF(Py_None
); resultobj
= Py_None
;
2588 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 bool arg1
= (bool) true ;
2592 PyObject
* obj0
= 0 ;
2594 (char *) "resetTimer", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2599 arg1
= (bool)SWIG_As_bool(obj0
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (long)wxGetElapsedTime(arg1
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= SWIG_From_long((long)result
);
2616 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 int *arg1
= (int *) 0 ;
2619 int *arg2
= (int *) 0 ;
2628 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2629 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2632 if (!wxPyCheckForApp()) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 wxGetMousePosition(arg1
,arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2640 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2641 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2642 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2643 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2650 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (bool)wxIsBusy();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2674 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2702 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2705 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2707 bool temp1
= false ;
2708 PyObject
* obj0
= 0 ;
2710 (char *) "command", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2716 arg1
= wxString_in_helper(obj0
);
2717 if (arg1
== NULL
) SWIG_fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 result
= (bool)wxShell((wxString
const &)*arg1
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2745 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2766 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 int *arg1
= (int *) 0 ;
2769 int *arg2
= (int *) 0 ;
2779 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2780 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 result
= (int)wxGetOsVersion(arg1
,arg2
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= SWIG_From_int((int)result
);
2790 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2791 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2792 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2793 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2800 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= wxGetOsDescription();
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2828 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (long)wxGetFreeMemory();
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= SWIG_From_long((long)result
);
2850 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2854 PyObject
* obj0
= 0 ;
2856 (char *) "wFlags", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2860 arg1
= (int)SWIG_As_int(obj0
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2863 if (!wxPyCheckForApp()) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2879 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "secs", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2888 arg1
= (int)SWIG_As_int(obj0
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 unsigned long arg1
;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "milliseconds", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2913 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 Py_INCREF(Py_None
); resultobj
= Py_None
;
2929 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 unsigned long arg1
;
2932 PyObject
* obj0
= 0 ;
2934 (char *) "microseconds", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2938 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2947 Py_INCREF(Py_None
); resultobj
= Py_None
;
2954 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2957 PyObject
* obj0
= 0 ;
2959 (char *) "enable", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2963 arg1
= (bool)SWIG_As_bool(obj0
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 wxEnableTopLevelWindows(arg1
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2972 Py_INCREF(Py_None
); resultobj
= Py_None
;
2979 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxString
*arg1
= 0 ;
2983 bool temp1
= false ;
2984 PyObject
* obj0
= 0 ;
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2991 arg1
= wxString_in_helper(obj0
);
2992 if (arg1
== NULL
) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3023 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= wxGetEmailAddress();
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3051 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 result
= wxGetHostName();
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3079 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= wxGetFullHostName();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3107 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= wxGetUserId();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3135 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= wxGetUserName();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3163 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 result
= wxGetHomeDir();
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3191 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3194 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3196 bool temp1
= false ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "user", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3205 arg1
= wxString_in_helper(obj0
);
3206 if (arg1
== NULL
) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= wxGetUserHome((wxString
const &)*arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3238 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 unsigned long result
;
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 result
= (unsigned long)wxGetProcessId();
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3260 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3284 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3285 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3286 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3289 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3290 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3291 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3292 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3293 int arg6
= (int) 0 ;
3294 wxWindow
*arg7
= (wxWindow
*) NULL
;
3295 int arg8
= (int) -1 ;
3296 int arg9
= (int) -1 ;
3298 bool temp1
= false ;
3299 bool temp2
= false ;
3300 bool temp3
= false ;
3301 bool temp4
= false ;
3302 bool temp5
= false ;
3303 PyObject
* obj0
= 0 ;
3304 PyObject
* obj1
= 0 ;
3305 PyObject
* obj2
= 0 ;
3306 PyObject
* obj3
= 0 ;
3307 PyObject
* obj4
= 0 ;
3308 PyObject
* obj5
= 0 ;
3309 PyObject
* obj6
= 0 ;
3310 PyObject
* obj7
= 0 ;
3311 PyObject
* obj8
= 0 ;
3313 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3319 arg1
= wxString_in_helper(obj0
);
3320 if (arg1
== NULL
) SWIG_fail
;
3326 arg2
= wxString_in_helper(obj1
);
3327 if (arg2
== NULL
) SWIG_fail
;
3333 arg3
= wxString_in_helper(obj2
);
3334 if (arg3
== NULL
) SWIG_fail
;
3340 arg4
= wxString_in_helper(obj3
);
3341 if (arg4
== NULL
) SWIG_fail
;
3347 arg5
= wxString_in_helper(obj4
);
3348 if (arg5
== NULL
) SWIG_fail
;
3353 arg6
= (int)SWIG_As_int(obj5
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3357 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 arg8
= (int)SWIG_As_int(obj7
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3365 arg9
= (int)SWIG_As_int(obj8
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3369 if (!wxPyCheckForApp()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3429 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxString
*arg1
= 0 ;
3432 wxString
*arg2
= 0 ;
3433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3435 wxWindow
*arg4
= (wxWindow
*) NULL
;
3437 bool temp1
= false ;
3438 bool temp2
= false ;
3439 bool temp3
= false ;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3442 PyObject
* obj2
= 0 ;
3443 PyObject
* obj3
= 0 ;
3445 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3450 arg1
= wxString_in_helper(obj0
);
3451 if (arg1
== NULL
) SWIG_fail
;
3455 arg2
= wxString_in_helper(obj1
);
3456 if (arg2
== NULL
) SWIG_fail
;
3461 arg3
= wxString_in_helper(obj2
);
3462 if (arg3
== NULL
) SWIG_fail
;
3467 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 if (!wxPyCheckForApp()) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3515 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxString
*arg1
= 0 ;
3518 wxString
*arg2
= 0 ;
3519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3521 wxWindow
*arg4
= (wxWindow
*) NULL
;
3523 bool temp1
= false ;
3524 bool temp2
= false ;
3525 bool temp3
= false ;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3528 PyObject
* obj2
= 0 ;
3529 PyObject
* obj3
= 0 ;
3531 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3536 arg1
= wxString_in_helper(obj0
);
3537 if (arg1
== NULL
) SWIG_fail
;
3541 arg2
= wxString_in_helper(obj1
);
3542 if (arg2
== NULL
) SWIG_fail
;
3547 arg3
= wxString_in_helper(obj2
);
3548 if (arg3
== NULL
) SWIG_fail
;
3553 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3557 if (!wxPyCheckForApp()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3601 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3604 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3605 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3606 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3607 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3608 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3609 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3610 wxWindow
*arg5
= (wxWindow
*) NULL
;
3612 bool temp1
= false ;
3613 bool temp2
= false ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3617 PyObject
* obj2
= 0 ;
3618 PyObject
* obj3
= 0 ;
3619 PyObject
* obj4
= 0 ;
3621 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3627 arg1
= wxString_in_helper(obj0
);
3628 if (arg1
== NULL
) SWIG_fail
;
3634 arg2
= wxString_in_helper(obj1
);
3635 if (arg2
== NULL
) SWIG_fail
;
3640 arg3
= (long)SWIG_As_long(obj2
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3650 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 if (!wxPyCheckForApp()) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3690 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxString
*arg1
= 0 ;
3693 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3694 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3697 wxWindow
*arg4
= (wxWindow
*) NULL
;
3698 int arg5
= (int) -1 ;
3699 int arg6
= (int) -1 ;
3700 bool arg7
= (bool) true ;
3702 bool temp1
= false ;
3703 bool temp2
= false ;
3704 bool temp3
= false ;
3705 PyObject
* obj0
= 0 ;
3706 PyObject
* obj1
= 0 ;
3707 PyObject
* obj2
= 0 ;
3708 PyObject
* obj3
= 0 ;
3709 PyObject
* obj4
= 0 ;
3710 PyObject
* obj5
= 0 ;
3711 PyObject
* obj6
= 0 ;
3713 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3718 arg1
= wxString_in_helper(obj0
);
3719 if (arg1
== NULL
) SWIG_fail
;
3724 arg2
= wxString_in_helper(obj1
);
3725 if (arg2
== NULL
) SWIG_fail
;
3731 arg3
= wxString_in_helper(obj2
);
3732 if (arg3
== NULL
) SWIG_fail
;
3737 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 arg5
= (int)SWIG_As_int(obj4
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3745 arg6
= (int)SWIG_As_int(obj5
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 arg7
= (bool)SWIG_As_bool(obj6
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 if (!wxPyCheckForApp()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3797 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxString
*arg1
= 0 ;
3800 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3801 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3802 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3803 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3804 wxWindow
*arg4
= (wxWindow
*) NULL
;
3806 bool temp1
= false ;
3807 bool temp2
= false ;
3808 bool temp3
= false ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3811 PyObject
* obj2
= 0 ;
3812 PyObject
* obj3
= 0 ;
3814 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3819 arg1
= wxString_in_helper(obj0
);
3820 if (arg1
== NULL
) SWIG_fail
;
3825 arg2
= wxString_in_helper(obj1
);
3826 if (arg2
== NULL
) SWIG_fail
;
3832 arg3
= wxString_in_helper(obj2
);
3833 if (arg3
== NULL
) SWIG_fail
;
3838 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3886 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxString
*arg1
= 0 ;
3889 wxString
*arg2
= 0 ;
3891 wxString
*arg4
= (wxString
*) 0 ;
3892 wxWindow
*arg5
= (wxWindow
*) NULL
;
3893 int arg6
= (int) -1 ;
3894 int arg7
= (int) -1 ;
3895 bool arg8
= (bool) true ;
3896 int arg9
= (int) 150 ;
3897 int arg10
= (int) 200 ;
3899 bool temp1
= false ;
3900 bool temp2
= false ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3903 PyObject
* obj2
= 0 ;
3904 PyObject
* obj3
= 0 ;
3905 PyObject
* obj4
= 0 ;
3906 PyObject
* obj5
= 0 ;
3907 PyObject
* obj6
= 0 ;
3908 PyObject
* obj7
= 0 ;
3909 PyObject
* obj8
= 0 ;
3911 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3916 arg1
= wxString_in_helper(obj0
);
3917 if (arg1
== NULL
) SWIG_fail
;
3921 arg2
= wxString_in_helper(obj1
);
3922 if (arg2
== NULL
) SWIG_fail
;
3926 arg3
= PyList_Size(obj2
);
3927 arg4
= wxString_LIST_helper(obj2
);
3928 if (arg4
== NULL
) SWIG_fail
;
3931 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3935 arg6
= (int)SWIG_As_int(obj4
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3939 arg7
= (int)SWIG_As_int(obj5
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3943 arg8
= (bool)SWIG_As_bool(obj6
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 arg9
= (int)SWIG_As_int(obj7
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 arg10
= (int)SWIG_As_int(obj8
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 if (!wxPyCheckForApp()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3978 if (arg4
) delete [] arg4
;
3991 if (arg4
) delete [] arg4
;
3997 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxString
*arg1
= 0 ;
4000 wxString
*arg2
= 0 ;
4002 wxString
*arg4
= (wxString
*) 0 ;
4003 wxWindow
*arg5
= (wxWindow
*) NULL
;
4004 int arg6
= (int) -1 ;
4005 int arg7
= (int) -1 ;
4006 bool arg8
= (bool) true ;
4007 int arg9
= (int) 150 ;
4008 int arg10
= (int) 200 ;
4010 bool temp1
= false ;
4011 bool temp2
= false ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4014 PyObject
* obj2
= 0 ;
4015 PyObject
* obj3
= 0 ;
4016 PyObject
* obj4
= 0 ;
4017 PyObject
* obj5
= 0 ;
4018 PyObject
* obj6
= 0 ;
4019 PyObject
* obj7
= 0 ;
4020 PyObject
* obj8
= 0 ;
4022 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4027 arg1
= wxString_in_helper(obj0
);
4028 if (arg1
== NULL
) SWIG_fail
;
4032 arg2
= wxString_in_helper(obj1
);
4033 if (arg2
== NULL
) SWIG_fail
;
4037 arg3
= PyList_Size(obj2
);
4038 arg4
= wxString_LIST_helper(obj2
);
4039 if (arg4
== NULL
) SWIG_fail
;
4042 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4046 arg6
= (int)SWIG_As_int(obj4
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 arg7
= (int)SWIG_As_int(obj5
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 arg8
= (bool)SWIG_As_bool(obj6
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4058 arg9
= (int)SWIG_As_int(obj7
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4062 arg10
= (int)SWIG_As_int(obj8
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4066 if (!wxPyCheckForApp()) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= SWIG_From_int((int)result
);
4083 if (arg4
) delete [] arg4
;
4096 if (arg4
) delete [] arg4
;
4102 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxString
*arg1
= 0 ;
4105 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4106 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4107 int arg3
= (int) wxOK
|wxCENTRE
;
4108 wxWindow
*arg4
= (wxWindow
*) NULL
;
4109 int arg5
= (int) -1 ;
4110 int arg6
= (int) -1 ;
4112 bool temp1
= false ;
4113 bool temp2
= false ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4116 PyObject
* obj2
= 0 ;
4117 PyObject
* obj3
= 0 ;
4118 PyObject
* obj4
= 0 ;
4119 PyObject
* obj5
= 0 ;
4121 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4126 arg1
= wxString_in_helper(obj0
);
4127 if (arg1
== NULL
) SWIG_fail
;
4132 arg2
= wxString_in_helper(obj1
);
4133 if (arg2
== NULL
) SWIG_fail
;
4138 arg3
= (int)SWIG_As_int(obj2
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4142 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 arg5
= (int)SWIG_As_int(obj4
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 arg6
= (int)SWIG_As_int(obj5
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 if (!wxPyCheckForApp()) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 resultobj
= SWIG_From_int((int)result
);
4184 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxString
*arg1
= 0 ;
4187 wxString
*arg2
= 0 ;
4188 wxString
*arg3
= 0 ;
4190 long arg5
= (long) 0 ;
4191 long arg6
= (long) 100 ;
4192 wxWindow
*arg7
= (wxWindow
*) NULL
;
4193 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4194 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4196 bool temp1
= false ;
4197 bool temp2
= false ;
4198 bool temp3
= false ;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4202 PyObject
* obj2
= 0 ;
4203 PyObject
* obj3
= 0 ;
4204 PyObject
* obj4
= 0 ;
4205 PyObject
* obj5
= 0 ;
4206 PyObject
* obj6
= 0 ;
4207 PyObject
* obj7
= 0 ;
4209 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4214 arg1
= wxString_in_helper(obj0
);
4215 if (arg1
== NULL
) SWIG_fail
;
4219 arg2
= wxString_in_helper(obj1
);
4220 if (arg2
== NULL
) SWIG_fail
;
4224 arg3
= wxString_in_helper(obj2
);
4225 if (arg3
== NULL
) SWIG_fail
;
4228 arg4
= (long)SWIG_As_long(obj3
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 arg5
= (long)SWIG_As_long(obj4
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4235 arg6
= (long)SWIG_As_long(obj5
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4249 if (!wxPyCheckForApp()) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_From_long((long)result
);
4287 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4296 if (!wxPyCheckForApp()) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)wxColourDisplay();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4312 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4321 if (!wxPyCheckForApp()) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= (int)wxDisplayDepth();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_From_int((int)result
);
4335 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4344 if (!wxPyCheckForApp()) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (int)wxGetDisplayDepth();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_From_int((int)result
);
4358 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 int *arg1
= (int *) 0 ;
4361 int *arg2
= (int *) 0 ;
4370 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4371 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4374 if (!wxPyCheckForApp()) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxDisplaySize(arg1
,arg2
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 Py_INCREF(Py_None
); resultobj
= Py_None
;
4382 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4383 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4384 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4385 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4392 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4401 if (!wxPyCheckForApp()) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= wxGetDisplaySize();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4410 resultptr
= new wxSize((wxSize
&) result
);
4411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4419 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 int *arg1
= (int *) 0 ;
4422 int *arg2
= (int *) 0 ;
4431 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4432 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4435 if (!wxPyCheckForApp()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 wxDisplaySizeMM(arg1
,arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 Py_INCREF(Py_None
); resultobj
= Py_None
;
4443 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4444 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4445 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4446 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4453 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4462 if (!wxPyCheckForApp()) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= wxGetDisplaySizeMM();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4471 resultptr
= new wxSize((wxSize
&) result
);
4472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4480 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 int *arg1
= (int *) 0 ;
4483 int *arg2
= (int *) 0 ;
4484 int *arg3
= (int *) 0 ;
4485 int *arg4
= (int *) 0 ;
4498 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4499 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4500 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4501 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4504 if (!wxPyCheckForApp()) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4513 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4514 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4515 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4516 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4517 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4518 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4519 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4526 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4535 if (!wxPyCheckForApp()) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= wxGetClientDisplayRect();
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4544 resultptr
= new wxRect((wxRect
&) result
);
4545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4553 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxCursor
*arg1
= 0 ;
4556 PyObject
* obj0
= 0 ;
4558 (char *) "cursor", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4566 PyErr_SetString(PyExc_TypeError
,"null reference");
4570 if (!wxPyCheckForApp()) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4587 PyObject
* obj0
= 0 ;
4589 (char *) "cursor", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4598 if (!wxPyCheckForApp()) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 wxBeginBusyCursor(arg1
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 Py_INCREF(Py_None
); resultobj
= Py_None
;
4612 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4621 if (!wxPyCheckForApp()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxWindow
*)wxGetActiveWindow();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= wxPyMake_wxObject(result
, 0);
4637 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4642 PyObject
* obj0
= 0 ;
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4650 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4653 if (!wxPyCheckForApp()) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= wxPyMake_wxObject(result
, 0);
4669 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4674 PyObject
* obj0
= 0 ;
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4682 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4685 if (!wxPyCheckForApp()) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= wxPyMake_wxObject(result
, 0);
4701 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxWindow
*arg1
= (wxWindow
*) 0 ;
4705 PyObject
* obj0
= 0 ;
4707 (char *) "win", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4714 if (!wxPyCheckForApp()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= wxPyMake_wxObject(result
, 0);
4730 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "key", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4740 arg1
= (int)SWIG_As_int(obj0
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 if (!wxPyCheckForApp()) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4767 if (!wxPyCheckForApp()) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 wxWakeUpMainThread();
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 Py_INCREF(Py_None
); resultobj
= Py_None
;
4781 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4789 if (!wxPyCheckForApp()) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 Py_INCREF(Py_None
); resultobj
= Py_None
;
4803 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
;
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4811 if (!wxPyCheckForApp()) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 Py_INCREF(Py_None
); resultobj
= Py_None
;
4825 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxMutexGuiLocker
*result
;
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4834 if (!wxPyCheckForApp()) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4848 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4853 (char *) "self", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 Py_INCREF(Py_None
); resultobj
= Py_None
;
4873 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4876 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4878 return Py_BuildValue((char *)"");
4880 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (bool)wxThread_IsMain();
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4904 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxString
*arg1
= 0 ;
4908 bool temp1
= false ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "tip", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4916 arg1
= wxString_in_helper(obj0
);
4917 if (arg1
== NULL
) SWIG_fail
;
4921 if (!wxPyCheckForApp()) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= wxPyMake_wxObject(result
, 1);
4945 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4948 wxString
*arg2
= 0 ;
4949 bool temp2
= false ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4953 (char *) "self",(char *) "tip", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 arg2
= wxString_in_helper(obj1
);
4961 if (arg2
== NULL
) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 (arg1
)->SetTip((wxString
const &)*arg2
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 Py_INCREF(Py_None
); resultobj
= Py_None
;
4986 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (arg1
)->GetTip();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5018 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "self", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (wxWindow
*)(arg1
)->GetWindow();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= wxPyMake_wxObject(result
, 0);
5046 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5049 PyObject
* obj0
= 0 ;
5051 (char *) "flag", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5055 arg1
= (bool)SWIG_As_bool(obj0
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 wxToolTip::Enable(arg1
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "milliseconds", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5080 arg1
= (long)SWIG_As_long(obj0
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 wxToolTip::SetDelay(arg1
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5101 return Py_BuildValue((char *)"");
5103 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxWindow
*arg1
= (wxWindow
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "window",(char *) "size", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5120 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5123 if (!wxPyCheckForApp()) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5137 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxCaret
*arg1
= (wxCaret
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "self", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 Py_INCREF(Py_None
); resultobj
= Py_None
;
5162 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
*resultobj
;
5164 wxCaret
*arg1
= (wxCaret
*) 0 ;
5166 PyObject
* obj0
= 0 ;
5168 (char *) "self", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (bool)(arg1
)->IsOk();
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5190 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxCaret
*arg1
= (wxCaret
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (bool)(arg1
)->IsVisible();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5218 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxCaret
*arg1
= (wxCaret
*) 0 ;
5222 PyObject
* obj0
= 0 ;
5224 (char *) "self", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (arg1
)->GetPosition();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 wxPoint
* resultptr
;
5239 resultptr
= new wxPoint((wxPoint
&) result
);
5240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5248 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxCaret
*arg1
= (wxCaret
*) 0 ;
5251 int *arg2
= (int *) 0 ;
5252 int *arg3
= (int *) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5263 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->GetPosition(arg2
,arg3
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 Py_INCREF(Py_None
); resultobj
= Py_None
;
5275 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5276 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5277 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5278 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5285 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxCaret
*arg1
= (wxCaret
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (arg1
)->GetSize();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5306 resultptr
= new wxSize((wxSize
&) result
);
5307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5315 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxCaret
*arg1
= (wxCaret
*) 0 ;
5318 int *arg2
= (int *) 0 ;
5319 int *arg3
= (int *) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5330 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->GetSize(arg2
,arg3
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5343 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5344 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5345 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5352 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxCaret
*arg1
= (wxCaret
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (wxWindow
*)(arg1
)->GetWindow();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= wxPyMake_wxObject(result
, 0);
5380 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxCaret
*arg1
= (wxCaret
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 PyObject
* obj2
= 0 ;
5389 (char *) "self",(char *) "x",(char *) "y", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg2
= (int)SWIG_As_int(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5397 arg3
= (int)SWIG_As_int(obj2
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 (arg1
)->Move(arg2
,arg3
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 Py_INCREF(Py_None
); resultobj
= Py_None
;
5413 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxCaret
*arg1
= (wxCaret
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "pt", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 (arg1
)->Move((wxPoint
const &)*arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 wxCaret
*arg1
= (wxCaret
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5452 PyObject
* obj2
= 0 ;
5454 (char *) "self",(char *) "width",(char *) "height", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5460 arg2
= (int)SWIG_As_int(obj1
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5462 arg3
= (int)SWIG_As_int(obj2
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetSize(arg2
,arg3
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxCaret
*arg1
= (wxCaret
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5486 (char *) "self",(char *) "size", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->SetSize((wxSize
const &)*arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxCaret
*arg1
= (wxCaret
*) 0 ;
5513 int arg2
= (int) true ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "show", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 arg2
= (int)SWIG_As_int(obj1
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxCaret
*arg1
= (wxCaret
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5569 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5571 return Py_BuildValue((char *)"");
5573 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (int)wxCaret_GetBlinkTime();
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_From_int((int)result
);
5595 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5598 PyObject
* obj0
= 0 ;
5600 (char *) "milliseconds", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5604 arg1
= (int)SWIG_As_int(obj0
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 wxCaret_SetBlinkTime(arg1
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 Py_INCREF(Py_None
); resultobj
= Py_None
;
5620 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5623 wxBusyCursor
*result
;
5624 PyObject
* obj0
= 0 ;
5626 (char *) "cursor", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5635 if (!wxPyCheckForApp()) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5649 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5652 PyObject
* obj0
= 0 ;
5654 (char *) "self", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 Py_INCREF(Py_None
); resultobj
= Py_None
;
5674 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5677 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5679 return Py_BuildValue((char *)"");
5681 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxWindow
*arg1
= (wxWindow
*) NULL
;
5684 wxWindowDisabler
*result
;
5685 PyObject
* obj0
= 0 ;
5687 (char *) "winToSkip", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 if (!wxPyCheckForApp()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5710 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 Py_INCREF(Py_None
); resultobj
= Py_None
;
5735 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5738 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5740 return Py_BuildValue((char *)"");
5742 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxString
*arg1
= 0 ;
5746 bool temp1
= false ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "message", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5754 arg1
= wxString_in_helper(obj0
);
5755 if (arg1
== NULL
) SWIG_fail
;
5759 if (!wxPyCheckForApp()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5781 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5786 (char *) "self", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 Py_INCREF(Py_None
); resultobj
= Py_None
;
5806 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5809 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5811 return Py_BuildValue((char *)"");
5813 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxStopWatch
*result
;
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxStopWatch
*)new wxStopWatch();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5835 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5838 long arg2
= (long) 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5842 (char *) "self",(char *) "t0", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5849 arg2
= (long)SWIG_As_long(obj1
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->Start(arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 Py_INCREF(Py_None
); resultobj
= Py_None
;
5866 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5871 (char *) "self", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 Py_INCREF(Py_None
); resultobj
= Py_None
;
5891 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "self", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5922 (char *) "self", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= SWIG_From_long((long)result
);
5942 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5945 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5947 return Py_BuildValue((char *)"");
5949 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 int arg1
= (int) 9 ;
5952 int arg2
= (int) wxID_FILE1
;
5953 wxFileHistory
*result
;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "maxFiles",(char *) "idBase", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5962 arg1
= (int)SWIG_As_int(obj0
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 arg2
= (int)SWIG_As_int(obj1
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5983 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6011 wxString
*arg2
= 0 ;
6012 bool temp2
= false ;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj1
= 0 ;
6016 (char *) "self",(char *) "file", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 arg2
= wxString_in_helper(obj1
);
6024 if (arg2
== NULL
) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 Py_INCREF(Py_None
); resultobj
= Py_None
;
6049 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "i", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 arg2
= (int)SWIG_As_int(obj1
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 (arg1
)->RemoveFileFromHistory(arg2
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 Py_INCREF(Py_None
); resultobj
= Py_None
;
6078 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6084 (char *) "self", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_From_int((int)result
);
6104 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6107 wxMenu
*arg2
= (wxMenu
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6111 (char *) "self",(char *) "menu", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 (arg1
)->UseMenu(arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 Py_INCREF(Py_None
); resultobj
= Py_None
;
6133 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6136 wxMenu
*arg2
= (wxMenu
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6140 (char *) "self",(char *) "menu", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 (arg1
)->RemoveMenu(arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6165 wxConfigBase
*arg2
= 0 ;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6169 (char *) "self",(char *) "config", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6179 PyErr_SetString(PyExc_TypeError
,"null reference");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->Load(*arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6199 wxConfigBase
*arg2
= 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "config", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6213 PyErr_SetString(PyExc_TypeError
,"null reference");
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->Save(*arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->AddFilesToMenu();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6258 wxMenu
*arg2
= (wxMenu
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6262 (char *) "self",(char *) "menu", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 (arg1
)->AddFilesToMenu(arg2
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 Py_INCREF(Py_None
); resultobj
= Py_None
;
6284 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6290 PyObject
* obj1
= 0 ;
6292 (char *) "self",(char *) "i", NULL
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 arg2
= (int)SWIG_As_int(obj1
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6320 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6326 (char *) "self", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_From_int((int)result
);
6346 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6349 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6351 return Py_BuildValue((char *)"");
6353 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxString
*arg1
= 0 ;
6356 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6357 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6358 wxSingleInstanceChecker
*result
;
6359 bool temp1
= false ;
6360 bool temp2
= false ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6364 (char *) "name",(char *) "path", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6369 arg1
= wxString_in_helper(obj0
);
6370 if (arg1
== NULL
) SWIG_fail
;
6375 arg2
= wxString_in_helper(obj1
);
6376 if (arg2
== NULL
) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6410 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxSingleInstanceChecker
*result
;
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6432 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "self", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6460 wxString
*arg2
= 0 ;
6461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6464 bool temp2
= false ;
6465 bool temp3
= false ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "self",(char *) "name",(char *) "path", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 arg2
= wxString_in_helper(obj1
);
6478 if (arg2
== NULL
) SWIG_fail
;
6483 arg3
= wxString_in_helper(obj2
);
6484 if (arg3
== NULL
) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6520 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6526 (char *) "self", NULL
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6548 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6551 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6553 return Py_BuildValue((char *)"");
6555 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxWindow
*arg1
= (wxWindow
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 PyObject
* obj2
= 0 ;
6564 (char *) "window",(char *) "dc",(char *) "method", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6574 PyErr_SetString(PyExc_TypeError
,"null reference");
6577 arg3
= (int)SWIG_As_int(obj2
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 Py_INCREF(Py_None
); resultobj
= Py_None
;
6593 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6618 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "self", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (arg1
)->GetTip();
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6650 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (size_t)(arg1
)->GetCurrentTip();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6676 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6679 wxString
*arg2
= 0 ;
6681 bool temp2
= false ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "tip", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6692 arg2
= wxString_in_helper(obj1
);
6693 if (arg2
== NULL
) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6724 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6727 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6729 return Py_BuildValue((char *)"");
6731 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6734 wxPyTipProvider
*result
;
6735 PyObject
* obj0
= 0 ;
6737 (char *) "currentTip", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6741 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6757 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6760 PyObject
*arg2
= (PyObject
*) 0 ;
6761 PyObject
*arg3
= (PyObject
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 PyObject
* obj2
= 0 ;
6766 (char *) "self",(char *) "self",(char *) "_class", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6791 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6793 return Py_BuildValue((char *)"");
6795 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxWindow
*arg1
= (wxWindow
*) 0 ;
6798 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6799 bool arg3
= (bool) true ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6805 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 arg3
= (bool)SWIG_As_bool(obj2
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 if (!wxPyCheckForApp()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6834 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxString
*arg1
= 0 ;
6838 wxTipProvider
*result
;
6839 bool temp1
= false ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6843 (char *) "filename",(char *) "currentTip", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6848 arg1
= wxString_in_helper(obj0
);
6849 if (arg1
== NULL
) SWIG_fail
;
6852 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 if (!wxPyCheckForApp()) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6877 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6880 int arg2
= (int) -1 ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6885 (char *) "owner",(char *) "id", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 arg2
= (int)SWIG_As_int(obj1
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 if (!wxPyCheckForApp()) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6912 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6940 PyObject
*arg2
= (PyObject
*) 0 ;
6941 PyObject
*arg3
= (PyObject
*) 0 ;
6942 int arg4
= (int) 1 ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6945 PyObject
* obj2
= 0 ;
6946 PyObject
* obj3
= 0 ;
6948 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 arg4
= (int)SWIG_As_int(obj3
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 Py_INCREF(Py_None
); resultobj
= Py_None
;
6974 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6977 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6978 int arg3
= (int) -1 ;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6981 PyObject
* obj2
= 0 ;
6983 (char *) "self",(char *) "owner",(char *) "id", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6992 arg3
= (int)SWIG_As_int(obj2
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->SetOwner(arg2
,arg3
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 Py_INCREF(Py_None
); resultobj
= Py_None
;
7009 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7012 wxEvtHandler
*result
;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "self", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= wxPyMake_wxObject(result
, 0);
7037 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7040 int arg2
= (int) -1 ;
7041 bool arg3
= (bool) false ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 PyObject
* obj2
= 0 ;
7047 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 arg2
= (int)SWIG_As_int(obj1
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7058 arg3
= (bool)SWIG_As_bool(obj2
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7077 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7082 (char *) "self", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 Py_INCREF(Py_None
); resultobj
= Py_None
;
7102 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7130 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7136 (char *) "self", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= SWIG_From_int((int)result
);
7156 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7162 (char *) "self", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7184 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "self", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_From_int((int)result
);
7210 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7213 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7215 return Py_BuildValue((char *)"");
7217 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 int arg1
= (int) 0 ;
7220 int arg2
= (int) 0 ;
7221 wxTimerEvent
*result
;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "timerid",(char *) "interval", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7230 arg1
= (int)SWIG_As_int(obj0
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7234 arg2
= (int)SWIG_As_int(obj1
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7251 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_From_int((int)result
);
7277 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7280 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7282 return Py_BuildValue((char *)"");
7284 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7285 PyObject
*resultobj
;
7287 wxTimerRunner
*result
;
7288 PyObject
* obj0
= 0 ;
7290 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7295 PyErr_SetString(PyExc_TypeError
,"null reference");
7299 if (!wxPyCheckForApp()) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7313 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7314 PyObject
*resultobj
;
7317 bool arg3
= (bool) false ;
7318 wxTimerRunner
*result
;
7319 PyObject
* obj0
= 0 ;
7320 PyObject
* obj1
= 0 ;
7321 PyObject
* obj2
= 0 ;
7323 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7328 PyErr_SetString(PyExc_TypeError
,"null reference");
7331 arg2
= (int)SWIG_As_int(obj1
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 arg3
= (bool)SWIG_As_bool(obj2
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 if (!wxPyCheckForApp()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7352 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7357 argc
= PyObject_Length(args
);
7358 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7359 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7365 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7373 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7376 if ((argc
>= 2) && (argc
<= 3)) {
7380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7388 _v
= SWIG_Check_int(argv
[1]);
7391 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7393 _v
= SWIG_Check_bool(argv
[2]);
7395 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7401 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7406 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "self", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7435 bool arg3
= (bool) false ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 arg2
= (int)SWIG_As_int(obj1
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 arg3
= (bool)SWIG_As_bool(obj2
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->Start(arg2
,arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7469 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7471 return Py_BuildValue((char *)"");
7473 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (wxLog
*)new wxLog();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7495 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (bool)wxLog::IsEnabled();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7519 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 bool arg1
= (bool) true ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "doIt", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7530 arg1
= (bool)SWIG_As_bool(obj0
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)wxLog::EnableLogging(arg1
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7552 wxChar
*arg2
= (wxChar
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 PyObject
* obj2
= 0 ;
7558 (char *) "level",(char *) "szString",(char *) "t", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7562 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 Py_INCREF(Py_None
); resultobj
= Py_None
;
7582 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxLog
*arg1
= (wxLog
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 wxLog::FlushActive();
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 Py_INCREF(Py_None
); resultobj
= Py_None
;
7628 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (wxLog
*)wxLog::GetActiveTarget();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7650 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxLog
*arg1
= (wxLog
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "pLogger", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7676 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 Py_INCREF(Py_None
); resultobj
= Py_None
;
7697 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 Py_INCREF(Py_None
); resultobj
= Py_None
;
7718 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 bool arg1
= (bool) true ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "bVerbose", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7728 arg1
= (bool)SWIG_As_bool(obj0
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxLog::SetVerbose(arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "logLevel", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7754 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 wxLog::SetLogLevel(arg1
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 wxLog::DontCreateOnDemand();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 Py_INCREF(Py_None
); resultobj
= Py_None
;
7791 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "ulMask", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7800 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 wxLog::SetTraceMask(arg1
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 Py_INCREF(Py_None
); resultobj
= Py_None
;
7816 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxString
*arg1
= 0 ;
7819 bool temp1
= false ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "str", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7827 arg1
= wxString_in_helper(obj0
);
7828 if (arg1
== NULL
) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 wxLog::AddTraceMask((wxString
const &)*arg1
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7853 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxString
*arg1
= 0 ;
7856 bool temp1
= false ;
7857 PyObject
* obj0
= 0 ;
7859 (char *) "str", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7864 arg1
= wxString_in_helper(obj0
);
7865 if (arg1
== NULL
) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 wxLog::ClearTraceMasks();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 Py_INCREF(Py_None
); resultobj
= Py_None
;
7911 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxArrayString
*result
;
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7923 result
= (wxArrayString
*) &_result_ref
;
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= wxArrayString2PyList_helper(*result
);
7938 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxChar
*arg1
= (wxChar
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 wxLog::SetTimestamp((wxChar
const *)arg1
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (bool)wxLog::GetVerbose();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7987 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (wxTraceMask
)wxLog::GetTraceMask();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8009 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxChar
*arg1
= (wxChar
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "mask", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8037 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (wxLogLevel
)wxLog::GetLogLevel();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8059 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= (wxChar
*)wxLog::GetTimestamp();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8081 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= Log_TimeStamp();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8109 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxLog
*arg1
= (wxLog
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 wxLog_Destroy(arg1
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8137 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8139 return Py_BuildValue((char *)"");
8141 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxLogStderr
*result
;
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (wxLogStderr
*)new wxLogStderr();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8163 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8166 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8168 return Py_BuildValue((char *)"");
8170 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8173 wxLogTextCtrl
*result
;
8174 PyObject
* obj0
= 0 ;
8176 (char *) "pTextCtrl", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8196 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8199 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8201 return Py_BuildValue((char *)"");
8203 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (wxLogGui
*)new wxLogGui();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8225 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8228 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8230 return Py_BuildValue((char *)"");
8232 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxFrame
*arg1
= (wxFrame
*) 0 ;
8235 wxString
*arg2
= 0 ;
8236 bool arg3
= (bool) true ;
8237 bool arg4
= (bool) true ;
8238 wxLogWindow
*result
;
8239 bool temp2
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8242 PyObject
* obj2
= 0 ;
8243 PyObject
* obj3
= 0 ;
8245 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8252 arg2
= wxString_in_helper(obj1
);
8253 if (arg2
== NULL
) SWIG_fail
;
8257 arg3
= (bool)SWIG_As_bool(obj2
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 arg4
= (bool)SWIG_As_bool(obj3
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8286 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8289 bool arg2
= (bool) true ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "bShow", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 arg2
= (bool)SWIG_As_bool(obj1
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8323 (char *) "self", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= wxPyMake_wxObject(result
, 0);
8345 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8349 PyObject
* obj0
= 0 ;
8351 (char *) "self", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8371 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
;
8373 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8375 PyObject
* obj0
= 0 ;
8377 (char *) "self", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8399 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "bDoPass", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 arg2
= (bool)SWIG_As_bool(obj1
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 (arg1
)->PassMessages(arg2
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 Py_INCREF(Py_None
); resultobj
= Py_None
;
8428 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8431 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8433 return Py_BuildValue((char *)"");
8435 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxLog
*arg1
= (wxLog
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "logger", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (wxLogChain
*)new wxLogChain(arg1
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8461 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8464 wxLog
*arg2
= (wxLog
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8468 (char *) "self",(char *) "logger", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 (arg1
)->SetLog(arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 Py_INCREF(Py_None
); resultobj
= Py_None
;
8490 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "self",(char *) "bDoPass", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 arg2
= (bool)SWIG_As_bool(obj1
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 (arg1
)->PassMessages(arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 Py_INCREF(Py_None
); resultobj
= Py_None
;
8519 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (bool)(arg1
)->IsPassingMessages();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8547 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (wxLog
*)(arg1
)->GetOldLog();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8573 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8576 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8578 return Py_BuildValue((char *)"");
8580 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 unsigned long result
;
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (unsigned long)wxSysErrorCode();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8602 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 unsigned long arg1
= (unsigned long) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "nErrCode", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8613 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= wxSysErrorMsg(arg1
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8636 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxString
*arg1
= 0 ;
8639 bool temp1
= false ;
8640 PyObject
* obj0
= 0 ;
8642 (char *) "msg", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8647 arg1
= wxString_in_helper(obj0
);
8648 if (arg1
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 wxPyLogFatalError((wxString
const &)*arg1
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 Py_INCREF(Py_None
); resultobj
= Py_None
;
8673 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxString
*arg1
= 0 ;
8676 bool temp1
= false ;
8677 PyObject
* obj0
= 0 ;
8679 (char *) "msg", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8684 arg1
= wxString_in_helper(obj0
);
8685 if (arg1
== NULL
) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 wxPyLogError((wxString
const &)*arg1
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxString
*arg1
= 0 ;
8713 bool temp1
= false ;
8714 PyObject
* obj0
= 0 ;
8716 (char *) "msg", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8721 arg1
= wxString_in_helper(obj0
);
8722 if (arg1
== NULL
) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 wxPyLogWarning((wxString
const &)*arg1
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 Py_INCREF(Py_None
); resultobj
= Py_None
;
8747 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxString
*arg1
= 0 ;
8750 bool temp1
= false ;
8751 PyObject
* obj0
= 0 ;
8753 (char *) "msg", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8758 arg1
= wxString_in_helper(obj0
);
8759 if (arg1
== NULL
) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 wxPyLogMessage((wxString
const &)*arg1
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxString
*arg1
= 0 ;
8787 bool temp1
= false ;
8788 PyObject
* obj0
= 0 ;
8790 (char *) "msg", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8795 arg1
= wxString_in_helper(obj0
);
8796 if (arg1
== NULL
) SWIG_fail
;
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 wxPyLogInfo((wxString
const &)*arg1
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8806 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxString
*arg1
= 0 ;
8824 bool temp1
= false ;
8825 PyObject
* obj0
= 0 ;
8827 (char *) "msg", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8832 arg1
= wxString_in_helper(obj0
);
8833 if (arg1
== NULL
) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 wxPyLogDebug((wxString
const &)*arg1
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 Py_INCREF(Py_None
); resultobj
= Py_None
;
8858 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxString
*arg1
= 0 ;
8861 bool temp1
= false ;
8862 PyObject
* obj0
= 0 ;
8864 (char *) "msg", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8869 arg1
= wxString_in_helper(obj0
);
8870 if (arg1
== NULL
) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 wxPyLogVerbose((wxString
const &)*arg1
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxString
*arg1
= 0 ;
8898 bool temp1
= false ;
8899 PyObject
* obj0
= 0 ;
8901 (char *) "msg", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8906 arg1
= wxString_in_helper(obj0
);
8907 if (arg1
== NULL
) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 wxPyLogStatus((wxString
const &)*arg1
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8932 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxFrame
*arg1
= (wxFrame
*) 0 ;
8935 wxString
*arg2
= 0 ;
8936 bool temp2
= false ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8940 (char *) "pFrame",(char *) "msg", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 arg2
= wxString_in_helper(obj1
);
8948 if (arg2
== NULL
) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxString
*arg1
= 0 ;
8976 bool temp1
= false ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "msg", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8984 arg1
= wxString_in_helper(obj0
);
8985 if (arg1
== NULL
) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 wxPyLogSysError((wxString
const &)*arg1
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 unsigned long arg1
;
9013 wxString
*arg2
= 0 ;
9014 bool temp2
= false ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9018 (char *) "level",(char *) "msg", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9022 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 arg2
= wxString_in_helper(obj1
);
9026 if (arg2
== NULL
) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9051 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9052 PyObject
*resultobj
;
9053 unsigned long arg1
;
9054 wxString
*arg2
= 0 ;
9055 bool temp2
= false ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9059 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9060 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 arg2
= wxString_in_helper(obj1
);
9064 if (arg2
== NULL
) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9090 PyObject
*resultobj
;
9091 wxString
*arg1
= 0 ;
9092 wxString
*arg2
= 0 ;
9093 bool temp1
= false ;
9094 bool temp2
= false ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9098 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9100 arg1
= wxString_in_helper(obj0
);
9101 if (arg1
== NULL
) SWIG_fail
;
9105 arg2
= wxString_in_helper(obj1
);
9106 if (arg2
== NULL
) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9144 argc
= PyObject_Length(args
);
9145 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9146 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9151 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9155 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9158 return _wrap_LogTrace__SWIG_1(self
,args
);
9164 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9167 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9170 return _wrap_LogTrace__SWIG_0(self
,args
);
9175 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9180 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxString
*arg1
= 0 ;
9183 wxString
*arg2
= 0 ;
9184 bool temp1
= false ;
9185 bool temp2
= false ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9189 (char *) "title",(char *) "text", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 arg1
= wxString_in_helper(obj0
);
9195 if (arg1
== NULL
) SWIG_fail
;
9199 arg2
= wxString_in_helper(obj1
);
9200 if (arg2
== NULL
) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (wxLogNull
*)new wxLogNull();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9255 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 Py_INCREF(Py_None
); resultobj
= Py_None
;
9280 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9283 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9285 return Py_BuildValue((char *)"");
9287 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (wxPyLog
*)new wxPyLog();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9309 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9312 PyObject
*arg2
= (PyObject
*) 0 ;
9313 PyObject
*arg3
= (PyObject
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 PyObject
* obj2
= 0 ;
9318 (char *) "self",(char *) "self",(char *) "_class", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9343 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9345 return Py_BuildValue((char *)"");
9347 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9350 int arg2
= (int) wxSIGTERM
;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9355 (char *) "pid",(char *) "sig", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9359 arg1
= (int)SWIG_As_int(obj0
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 arg2
= (int)SWIG_As_int(obj1
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_From_int((int)result
);
9379 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "pid", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9389 arg1
= (int)SWIG_As_int(obj0
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (bool)wxPyProcess::Exists(arg1
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9407 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxString
*arg1
= 0 ;
9410 int arg2
= (int) wxEXEC_ASYNC
;
9411 wxPyProcess
*result
;
9412 bool temp1
= false ;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9416 (char *) "cmd",(char *) "flags", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9421 arg1
= wxString_in_helper(obj0
);
9422 if (arg1
== NULL
) SWIG_fail
;
9426 arg2
= (int)SWIG_As_int(obj1
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9451 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9454 int arg2
= (int) -1 ;
9455 wxPyProcess
*result
;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9459 (char *) "parent",(char *) "id", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9468 arg2
= (int)SWIG_As_int(obj1
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9485 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9488 PyObject
*arg2
= (PyObject
*) 0 ;
9489 PyObject
*arg3
= (PyObject
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "self",(char *) "self",(char *) "_class", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 PyObject
* obj2
= 0 ;
9525 (char *) "self",(char *) "pid",(char *) "status", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9531 arg2
= (int)SWIG_As_int(obj1
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9533 arg3
= (int)SWIG_As_int(obj2
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->base_OnTerminate(arg2
,arg3
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 Py_INCREF(Py_None
); resultobj
= Py_None
;
9549 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->IsRedirected();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9602 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9627 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9630 wxInputStream
*result
;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "self", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9647 wxPyInputStream
* _ptr
= NULL
;
9650 _ptr
= new wxPyInputStream(result
);
9652 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9660 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9663 wxInputStream
*result
;
9664 PyObject
* obj0
= 0 ;
9666 (char *) "self", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 wxPyInputStream
* _ptr
= NULL
;
9683 _ptr
= new wxPyInputStream(result
);
9685 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9693 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9696 wxOutputStream
*result
;
9697 PyObject
* obj0
= 0 ;
9699 (char *) "self", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9719 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "self", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->CloseOutput();
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9828 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9831 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9833 return Py_BuildValue((char *)"");
9835 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 int arg1
= (int) 0 ;
9838 int arg2
= (int) 0 ;
9839 int arg3
= (int) 0 ;
9840 wxProcessEvent
*result
;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9845 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9850 arg1
= (int)SWIG_As_int(obj0
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 arg2
= (int)SWIG_As_int(obj1
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9858 arg3
= (int)SWIG_As_int(obj2
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9875 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (int)(arg1
)->GetPid();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_From_int((int)result
);
9901 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (int)(arg1
)->GetExitCode();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_From_int((int)result
);
9927 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9934 (char *) "self",(char *) "m_pid", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 arg2
= (int)SWIG_As_int(obj1
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9942 if (arg1
) (arg1
)->m_pid
= arg2
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 result
= (int) ((arg1
)->m_pid
);
9965 resultobj
= SWIG_From_int((int)result
);
9972 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9979 (char *) "self",(char *) "m_exitcode", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 arg2
= (int)SWIG_As_int(obj1
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9987 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9989 Py_INCREF(Py_None
); resultobj
= Py_None
;
9996 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 result
= (int) ((arg1
)->m_exitcode
);
10010 resultobj
= SWIG_From_int((int)result
);
10017 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
10019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10020 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
10022 return Py_BuildValue((char *)"");
10024 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxString
*arg1
= 0 ;
10027 int arg2
= (int) wxEXEC_ASYNC
;
10028 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
10030 bool temp1
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "command",(char *) "flags",(char *) "process", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10040 arg1
= wxString_in_helper(obj0
);
10041 if (arg1
== NULL
) SWIG_fail
;
10045 arg2
= (int)SWIG_As_int(obj1
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 if (!wxPyCheckForApp()) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_From_long((long)result
);
10075 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 int arg1
= (int) wxJOYSTICK1
;
10078 wxJoystick
*result
;
10079 PyObject
* obj0
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "joystick", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10086 arg1
= (int)SWIG_As_int(obj0
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxJoystick
*)new wxJoystick(arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10104 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10129 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10133 PyObject
* obj0
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (arg1
)->GetPosition();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10149 wxPoint
* resultptr
;
10150 resultptr
= new wxPoint((wxPoint
&) result
);
10151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10159 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (int)(arg1
)->GetZPosition();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_From_int((int)result
);
10185 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (int)(arg1
)->GetButtonState();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_From_int((int)result
);
10211 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (int)(arg1
)->GetPOVPosition();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_From_int((int)result
);
10237 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (int)(arg1
)->GetPOVCTSPosition();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_From_int((int)result
);
10263 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10267 PyObject
* obj0
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (int)(arg1
)->GetRudderPosition();
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_int((int)result
);
10289 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (int)(arg1
)->GetUPosition();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= SWIG_From_int((int)result
);
10315 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10319 PyObject
* obj0
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (int)(arg1
)->GetVPosition();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_From_int((int)result
);
10341 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (int)(arg1
)->GetMovementThreshold();
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_From_int((int)result
);
10367 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10371 PyObject
* obj0
= 0 ;
10372 PyObject
* obj1
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self",(char *) "threshold", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 arg2
= (int)SWIG_As_int(obj1
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetMovementThreshold(arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10396 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10400 PyObject
* obj0
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (bool)(arg1
)->IsOk();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10424 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (int)(arg1
)->GetNumberJoysticks();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_From_int((int)result
);
10450 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (int)(arg1
)->GetManufacturerId();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_From_int((int)result
);
10476 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (int)(arg1
)->GetProductId();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_From_int((int)result
);
10502 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (arg1
)->GetProductName();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10534 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (int)(arg1
)->GetXMin();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_From_int((int)result
);
10560 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10564 PyObject
* obj0
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (int)(arg1
)->GetYMin();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_From_int((int)result
);
10586 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10590 PyObject
* obj0
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (int)(arg1
)->GetZMin();
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_From_int((int)result
);
10612 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10616 PyObject
* obj0
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "self", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= (int)(arg1
)->GetXMax();
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 resultobj
= SWIG_From_int((int)result
);
10638 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (int)(arg1
)->GetYMax();
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_From_int((int)result
);
10664 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (int)(arg1
)->GetZMax();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_From_int((int)result
);
10690 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (int)(arg1
)->GetNumberButtons();
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_From_int((int)result
);
10716 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (int)(arg1
)->GetNumberAxes();
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_From_int((int)result
);
10742 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (int)(arg1
)->GetMaxButtons();
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_From_int((int)result
);
10768 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (int)(arg1
)->GetMaxAxes();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_From_int((int)result
);
10794 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (int)(arg1
)->GetPollingMin();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_From_int((int)result
);
10820 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 result
= (int)(arg1
)->GetPollingMax();
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_From_int((int)result
);
10846 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (int)(arg1
)->GetRudderMin();
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= SWIG_From_int((int)result
);
10872 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10876 PyObject
* obj0
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (int)(arg1
)->GetRudderMax();
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_From_int((int)result
);
10898 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (int)(arg1
)->GetUMin();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_From_int((int)result
);
10924 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (int)(arg1
)->GetUMax();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= SWIG_From_int((int)result
);
10950 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (int)(arg1
)->GetVMin();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_From_int((int)result
);
10976 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (int)(arg1
)->GetVMax();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= SWIG_From_int((int)result
);
11002 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 result
= (bool)(arg1
)->HasRudder();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11030 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11034 PyObject
* obj0
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (bool)(arg1
)->HasZ();
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11058 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (bool)(arg1
)->HasU();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)(arg1
)->HasV();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11114 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11118 PyObject
* obj0
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (bool)(arg1
)->HasPOV();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->HasPOV4Dir();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (bool)(arg1
)->HasPOVCTS();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11198 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11201 wxWindow
*arg2
= (wxWindow
*) 0 ;
11202 int arg3
= (int) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 arg3
= (int)SWIG_As_int(obj2
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11236 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (bool)(arg1
)->ReleaseCapture();
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11264 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11267 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11269 return Py_BuildValue((char *)"");
11271 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11274 wxPoint
*arg2
= (wxPoint
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "m_pos", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 if (arg1
) (arg1
)->m_pos
= *arg2
;
11288 Py_INCREF(Py_None
); resultobj
= Py_None
;
11295 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11299 PyObject
* obj0
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11316 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "m_zPosition", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 arg2
= (int)SWIG_As_int(obj1
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11331 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 result
= (int) ((arg1
)->m_zPosition
);
11354 resultobj
= SWIG_From_int((int)result
);
11361 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "m_buttonChange", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11374 arg2
= (int)SWIG_As_int(obj1
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11376 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11378 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "self", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11397 result
= (int) ((arg1
)->m_buttonChange
);
11399 resultobj
= SWIG_From_int((int)result
);
11406 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "m_buttonState", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg2
= (int)SWIG_As_int(obj1
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11421 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11423 Py_INCREF(Py_None
); resultobj
= Py_None
;
11430 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11442 result
= (int) ((arg1
)->m_buttonState
);
11444 resultobj
= SWIG_From_int((int)result
);
11451 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self",(char *) "m_joyStick", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 arg2
= (int)SWIG_As_int(obj1
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11466 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11468 Py_INCREF(Py_None
); resultobj
= Py_None
;
11475 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11487 result
= (int) ((arg1
)->m_joyStick
);
11489 resultobj
= SWIG_From_int((int)result
);
11496 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11499 int arg2
= (int) 0 ;
11500 int arg3
= (int) wxJOYSTICK1
;
11501 int arg4
= (int) 0 ;
11502 wxJoystickEvent
*result
;
11503 PyObject
* obj0
= 0 ;
11504 PyObject
* obj1
= 0 ;
11505 PyObject
* obj2
= 0 ;
11506 PyObject
* obj3
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11513 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 arg2
= (int)SWIG_As_int(obj1
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 arg3
= (int)SWIG_As_int(obj2
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 arg4
= (int)SWIG_As_int(obj3
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11542 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 wxPoint
* resultptr
;
11563 resultptr
= new wxPoint((wxPoint
&) result
);
11564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11572 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= SWIG_From_int((int)result
);
11598 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_From_int((int)result
);
11624 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_From_int((int)result
);
11650 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_From_int((int)result
);
11676 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "stick", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11689 arg2
= (int)SWIG_As_int(obj1
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->SetJoystick(arg2
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self",(char *) "state", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 arg2
= (int)SWIG_As_int(obj1
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 (arg1
)->SetButtonState(arg2
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 Py_INCREF(Py_None
); resultobj
= Py_None
;
11734 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "change", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 arg2
= (int)SWIG_As_int(obj1
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 (arg1
)->SetButtonChange(arg2
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 Py_INCREF(Py_None
); resultobj
= Py_None
;
11763 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11766 wxPoint
*arg2
= 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self",(char *) "pos", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 Py_INCREF(Py_None
); resultobj
= Py_None
;
11795 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "zPos", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 arg2
= (int)SWIG_As_int(obj1
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->SetZPosition(arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11852 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11856 PyObject
* obj0
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11880 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11908 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11911 int arg2
= (int) wxJOY_BUTTON_ANY
;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "self",(char *) "but", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11923 arg2
= (int)SWIG_As_int(obj1
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11945 int arg2
= (int) wxJOY_BUTTON_ANY
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "but", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11957 arg2
= (int)SWIG_As_int(obj1
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11976 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11979 int arg2
= (int) wxJOY_BUTTON_ANY
;
11981 PyObject
* obj0
= 0 ;
11982 PyObject
* obj1
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "but", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11991 arg2
= (int)SWIG_As_int(obj1
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12013 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12015 return Py_BuildValue((char *)"");
12017 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12020 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12022 bool temp1
= false ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "fileName", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12031 arg1
= wxString_in_helper(obj0
);
12032 if (arg1
== NULL
) SWIG_fail
;
12037 if (!wxPyCheckForApp()) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12059 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 PyObject
*arg1
= (PyObject
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "data", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12071 if (!wxPyCheckForApp()) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (wxSound
*)new_wxSound(arg1
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12085 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxSound
*arg1
= (wxSound
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12110 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxSound
*arg1
= (wxSound
*) 0 ;
12113 wxString
*arg2
= 0 ;
12115 bool temp2
= false ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 char *kwnames
[] = {
12119 (char *) "self",(char *) "fileName", NULL
12122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12126 arg2
= wxString_in_helper(obj1
);
12127 if (arg2
== NULL
) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12154 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxSound
*arg1
= (wxSound
*) 0 ;
12157 PyObject
*arg2
= (PyObject
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self",(char *) "data", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12185 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxSound
*arg1
= (wxSound
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)(arg1
)->IsOk();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxSound
*arg1
= (wxSound
*) 0 ;
12216 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "flags", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12232 if (!wxPyCheckForApp()) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12248 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxString
*arg1
= 0 ;
12251 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12253 bool temp1
= false ;
12254 PyObject
* obj0
= 0 ;
12255 PyObject
* obj1
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "filename",(char *) "flags", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12262 arg1
= wxString_in_helper(obj0
);
12263 if (arg1
== NULL
) SWIG_fail
;
12267 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 if (!wxPyCheckForApp()) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12295 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 char *kwnames
[] = {
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12303 if (!wxPyCheckForApp()) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12320 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12322 return Py_BuildValue((char *)"");
12324 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxString
*arg1
= 0 ;
12327 wxString
*arg2
= 0 ;
12328 wxString
*arg3
= 0 ;
12329 wxString
*arg4
= 0 ;
12330 wxFileTypeInfo
*result
;
12331 bool temp1
= false ;
12332 bool temp2
= false ;
12333 bool temp3
= false ;
12334 bool temp4
= false ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 PyObject
* obj2
= 0 ;
12338 PyObject
* obj3
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12345 arg1
= wxString_in_helper(obj0
);
12346 if (arg1
== NULL
) SWIG_fail
;
12350 arg2
= wxString_in_helper(obj1
);
12351 if (arg2
== NULL
) SWIG_fail
;
12355 arg3
= wxString_in_helper(obj2
);
12356 if (arg3
== NULL
) SWIG_fail
;
12360 arg4
= wxString_in_helper(obj3
);
12361 if (arg4
== NULL
) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12410 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxArrayString
*arg1
= 0 ;
12413 wxFileTypeInfo
*result
;
12414 bool temp1
= false ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "sArray", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12422 if (! PySequence_Check(obj0
)) {
12423 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12426 arg1
= new wxArrayString
;
12428 int i
, len
=PySequence_Length(obj0
);
12429 for (i
=0; i
<len
; i
++) {
12430 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12432 PyObject
* str
= PyObject_Unicode(item
);
12434 PyObject
* str
= PyObject_Str(item
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12437 arg1
->Add(Py2wxString(str
));
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12451 if (temp1
) delete arg1
;
12456 if (temp1
) delete arg1
;
12462 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxFileTypeInfo
*result
;
12465 char *kwnames
[] = {
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12484 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12515 wxString
*arg2
= 0 ;
12516 int arg3
= (int) 0 ;
12517 bool temp2
= false ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 PyObject
* obj2
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 arg2
= wxString_in_helper(obj1
);
12530 if (arg2
== NULL
) SWIG_fail
;
12534 arg3
= (int)SWIG_As_int(obj2
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12559 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12562 wxString
*arg2
= 0 ;
12563 bool temp2
= false ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "shortDesc", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12574 arg2
= wxString_in_helper(obj1
);
12575 if (arg2
== NULL
) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12616 result
= (wxString
*) &_result_ref
;
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12635 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12651 result
= (wxString
*) &_result_ref
;
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12661 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12670 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12686 result
= (wxString
*) &_result_ref
;
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12705 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12721 result
= (wxString
*) &_result_ref
;
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12740 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12756 result
= (wxString
*) &_result_ref
;
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12775 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12778 wxArrayString
*result
;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12791 result
= (wxArrayString
*) &_result_ref
;
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= wxArrayString2PyList_helper(*result
);
12806 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_From_int((int)result
);
12832 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12848 result
= (wxString
*) &_result_ref
;
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12858 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12867 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_From_int((int)result
);
12893 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12896 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12898 return Py_BuildValue((char *)"");
12900 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxFileTypeInfo
*arg1
= 0 ;
12903 wxFileType
*result
;
12904 PyObject
* obj0
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "ftInfo", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12913 if (arg1
== NULL
) {
12914 PyErr_SetString(PyExc_TypeError
,"null reference");
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12931 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxFileType
*arg1
= (wxFileType
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 Py_INCREF(Py_None
); resultobj
= Py_None
;
12956 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxFileType
*arg1
= (wxFileType
*) 0 ;
12960 PyObject
* obj0
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= result
;
12982 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxFileType
*arg1
= (wxFileType
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= result
;
13008 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxFileType
*arg1
= (wxFileType
*) 0 ;
13012 PyObject
* obj0
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= result
;
13034 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxFileType
*arg1
= (wxFileType
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13060 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxFileType
*arg1
= (wxFileType
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= result
;
13086 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxFileType
*arg1
= (wxFileType
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= result
;
13112 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxFileType
*arg1
= (wxFileType
*) 0 ;
13115 wxString
*arg2
= 0 ;
13116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13119 bool temp2
= false ;
13120 bool temp3
= false ;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 PyObject
* obj2
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13132 arg2
= wxString_in_helper(obj1
);
13133 if (arg2
== NULL
) SWIG_fail
;
13138 arg3
= wxString_in_helper(obj2
);
13139 if (arg3
== NULL
) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= result
;
13173 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxFileType
*arg1
= (wxFileType
*) 0 ;
13176 wxString
*arg2
= 0 ;
13177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13180 bool temp2
= false ;
13181 bool temp3
= false ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 PyObject
* obj2
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13193 arg2
= wxString_in_helper(obj1
);
13194 if (arg2
== NULL
) SWIG_fail
;
13199 arg3
= wxString_in_helper(obj2
);
13200 if (arg3
== NULL
) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= result
;
13234 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxFileType
*arg1
= (wxFileType
*) 0 ;
13237 wxString
*arg2
= 0 ;
13238 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13239 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13241 bool temp2
= false ;
13242 bool temp3
= false ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 PyObject
* obj2
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 arg2
= wxString_in_helper(obj1
);
13255 if (arg2
== NULL
) SWIG_fail
;
13260 arg3
= wxString_in_helper(obj2
);
13261 if (arg3
== NULL
) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= result
;
13295 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxFileType
*arg1
= (wxFileType
*) 0 ;
13298 wxString
*arg2
= 0 ;
13299 wxString
*arg3
= 0 ;
13300 bool arg4
= (bool) true ;
13302 bool temp2
= false ;
13303 bool temp3
= false ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 PyObject
* obj3
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
13321 arg3
= wxString_in_helper(obj2
);
13322 if (arg3
== NULL
) SWIG_fail
;
13326 arg4
= (bool)SWIG_As_bool(obj3
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13361 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxFileType
*arg1
= (wxFileType
*) 0 ;
13364 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13365 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13366 int arg3
= (int) 0 ;
13368 bool temp2
= false ;
13369 PyObject
* obj0
= 0 ;
13370 PyObject
* obj1
= 0 ;
13371 PyObject
* obj2
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self",(char *) "cmd",(char *) "index", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 arg2
= wxString_in_helper(obj1
);
13382 if (arg2
== NULL
) SWIG_fail
;
13387 arg3
= (int)SWIG_As_int(obj2
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13414 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxFileType
*arg1
= (wxFileType
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (bool)(arg1
)->Unassociate();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxString
*arg1
= 0 ;
13445 wxString
*arg2
= 0 ;
13446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13449 bool temp1
= false ;
13450 bool temp2
= false ;
13451 bool temp3
= false ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 PyObject
* obj2
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13461 arg1
= wxString_in_helper(obj0
);
13462 if (arg1
== NULL
) SWIG_fail
;
13466 arg2
= wxString_in_helper(obj1
);
13467 if (arg2
== NULL
) SWIG_fail
;
13472 arg3
= wxString_in_helper(obj2
);
13473 if (arg3
== NULL
) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13521 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13524 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13526 return Py_BuildValue((char *)"");
13528 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13529 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13534 static PyObject
*_wrap_TheMimeTypesManager_get() {
13537 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13542 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxString
*arg1
= 0 ;
13545 wxString
*arg2
= 0 ;
13547 bool temp1
= false ;
13548 bool temp2
= false ;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "mimeType",(char *) "wildcard", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13557 arg1
= wxString_in_helper(obj0
);
13558 if (arg1
== NULL
) SWIG_fail
;
13562 arg2
= wxString_in_helper(obj1
);
13563 if (arg2
== NULL
) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxMimeTypesManager
*result
;
13601 char *kwnames
[] = {
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13620 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13623 int arg2
= (int) wxMAILCAP_ALL
;
13624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13626 bool temp3
= false ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 PyObject
* obj2
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 arg2
= (int)SWIG_As_int(obj1
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13643 arg3
= wxString_in_helper(obj2
);
13644 if (arg3
== NULL
) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->ClearData();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 Py_INCREF(Py_None
); resultobj
= Py_None
;
13695 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13698 wxString
*arg2
= 0 ;
13699 wxFileType
*result
;
13700 bool temp2
= false ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self",(char *) "ext", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13711 arg2
= wxString_in_helper(obj1
);
13712 if (arg2
== NULL
) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13737 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13740 wxString
*arg2
= 0 ;
13741 wxFileType
*result
;
13742 bool temp2
= false ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "mimeType", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 arg2
= wxString_in_helper(obj1
);
13754 if (arg2
== NULL
) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13779 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13782 wxString
*arg2
= 0 ;
13783 bool arg3
= (bool) false ;
13785 bool temp2
= false ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 PyObject
* obj2
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 arg2
= wxString_in_helper(obj1
);
13798 if (arg2
== NULL
) SWIG_fail
;
13802 arg3
= (bool)SWIG_As_bool(obj2
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13829 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13832 wxString
*arg2
= 0 ;
13834 bool temp2
= false ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self",(char *) "filename", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 arg2
= wxString_in_helper(obj1
);
13846 if (arg2
== NULL
) SWIG_fail
;
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13873 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= result
;
13899 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13902 wxFileTypeInfo
*arg2
= 0 ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self",(char *) "ft", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13915 if (arg2
== NULL
) {
13916 PyErr_SetString(PyExc_TypeError
,"null reference");
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 Py_INCREF(Py_None
); resultobj
= Py_None
;
13933 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13936 wxFileTypeInfo
*arg2
= 0 ;
13937 wxFileType
*result
;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "ftInfo", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13950 if (arg2
== NULL
) {
13951 PyErr_SetString(PyExc_TypeError
,"null reference");
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13968 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13971 wxFileType
*arg2
= (wxFileType
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "ft", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (bool)(arg1
)->Unassociate(arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14003 PyObject
* obj0
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14028 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14030 return Py_BuildValue((char *)"");
14032 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14033 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14038 static PyObject
*_wrap_ART_TOOLBAR_get() {
14043 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14045 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14052 static int _wrap_ART_MENU_set(PyObject
*) {
14053 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14058 static PyObject
*_wrap_ART_MENU_get() {
14063 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14065 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14072 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14073 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14078 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14083 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14085 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14092 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14093 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14098 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14103 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14105 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14112 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14113 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14118 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14123 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14125 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14132 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14133 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14138 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14143 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14145 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14152 static int _wrap_ART_BUTTON_set(PyObject
*) {
14153 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14158 static PyObject
*_wrap_ART_BUTTON_get() {
14163 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14165 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14172 static int _wrap_ART_OTHER_set(PyObject
*) {
14173 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14178 static PyObject
*_wrap_ART_OTHER_get() {
14183 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14185 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14192 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14193 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14198 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14203 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14205 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14212 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14213 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14218 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14223 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14225 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14232 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14233 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14238 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14243 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14245 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14252 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14253 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14258 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14263 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14265 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14272 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14273 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14278 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14283 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14285 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14292 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14293 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14298 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14303 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14305 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14312 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14313 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14318 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14323 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14325 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14332 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14333 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14338 static PyObject
*_wrap_ART_GO_BACK_get() {
14343 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14345 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14352 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14353 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14358 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14363 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14365 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14372 static int _wrap_ART_GO_UP_set(PyObject
*) {
14373 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14378 static PyObject
*_wrap_ART_GO_UP_get() {
14383 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14385 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14392 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14393 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14398 static PyObject
*_wrap_ART_GO_DOWN_get() {
14403 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14405 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14412 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14413 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14418 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14423 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14425 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14432 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14433 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14438 static PyObject
*_wrap_ART_GO_HOME_get() {
14443 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14445 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14452 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14453 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14458 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14463 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14465 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14472 static int _wrap_ART_PRINT_set(PyObject
*) {
14473 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14478 static PyObject
*_wrap_ART_PRINT_get() {
14483 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14485 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14492 static int _wrap_ART_HELP_set(PyObject
*) {
14493 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14498 static PyObject
*_wrap_ART_HELP_get() {
14503 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14505 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14512 static int _wrap_ART_TIP_set(PyObject
*) {
14513 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14518 static PyObject
*_wrap_ART_TIP_get() {
14523 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14525 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14532 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14533 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14538 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14543 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14545 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14552 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14553 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14558 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14563 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14565 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14572 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14573 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14578 static PyObject
*_wrap_ART_NEW_DIR_get() {
14583 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14585 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14592 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14593 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14598 static PyObject
*_wrap_ART_HARDDISK_get() {
14603 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14605 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14612 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14613 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14618 static PyObject
*_wrap_ART_FLOPPY_get() {
14623 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14625 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14632 static int _wrap_ART_CDROM_set(PyObject
*) {
14633 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14638 static PyObject
*_wrap_ART_CDROM_get() {
14643 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14645 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14652 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14653 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14658 static PyObject
*_wrap_ART_REMOVABLE_get() {
14663 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14665 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14672 static int _wrap_ART_FOLDER_set(PyObject
*) {
14673 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14678 static PyObject
*_wrap_ART_FOLDER_get() {
14683 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14685 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14692 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14693 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14698 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14703 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14705 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14712 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14713 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14718 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14723 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14725 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14732 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14733 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14738 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14743 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14745 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14752 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14753 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14758 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14763 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14765 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14772 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14773 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14778 static PyObject
*_wrap_ART_TICK_MARK_get() {
14783 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14785 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14792 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14793 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14798 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14803 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14805 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14812 static int _wrap_ART_ERROR_set(PyObject
*) {
14813 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14818 static PyObject
*_wrap_ART_ERROR_get() {
14823 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14825 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14832 static int _wrap_ART_QUESTION_set(PyObject
*) {
14833 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14838 static PyObject
*_wrap_ART_QUESTION_get() {
14843 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14845 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14852 static int _wrap_ART_WARNING_set(PyObject
*) {
14853 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14858 static PyObject
*_wrap_ART_WARNING_get() {
14863 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14865 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14872 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14873 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14878 static PyObject
*_wrap_ART_INFORMATION_get() {
14883 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14885 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14892 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14893 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14898 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14903 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14905 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14912 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxPyArtProvider
*result
;
14915 char *kwnames
[] = {
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14921 if (!wxPyCheckForApp()) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14935 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14938 PyObject
*arg2
= (PyObject
*) 0 ;
14939 PyObject
*arg3
= (PyObject
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 PyObject
* obj2
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self",(char *) "self",(char *) "_class", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "provider", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 wxPyArtProvider::PushProvider(arg1
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 Py_INCREF(Py_None
); resultobj
= Py_None
;
14991 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14994 char *kwnames
[] = {
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)wxPyArtProvider::PopProvider();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15015 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "provider", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15043 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxString
*arg1
= 0 ;
15046 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15047 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15048 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15049 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15051 bool temp1
= false ;
15052 bool temp2
= false ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 PyObject
* obj2
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "id",(char *) "client",(char *) "size", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15063 arg1
= wxString_in_helper(obj0
);
15064 if (arg1
== NULL
) SWIG_fail
;
15069 arg2
= wxString_in_helper(obj1
);
15070 if (arg2
== NULL
) SWIG_fail
;
15077 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15081 if (!wxPyCheckForApp()) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15089 wxBitmap
* resultptr
;
15090 resultptr
= new wxBitmap((wxBitmap
&) result
);
15091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15115 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxString
*arg1
= 0 ;
15118 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15119 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15120 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15121 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15123 bool temp1
= false ;
15124 bool temp2
= false ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 PyObject
* obj2
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "id",(char *) "client",(char *) "size", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15135 arg1
= wxString_in_helper(obj0
);
15136 if (arg1
== NULL
) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15149 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15153 if (!wxPyCheckForApp()) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15161 wxIcon
* resultptr
;
15162 resultptr
= new wxIcon((wxIcon
&) result
);
15163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15187 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 wxPyArtProvider_Destroy(arg1
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 Py_INCREF(Py_None
); resultobj
= Py_None
;
15212 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15215 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15217 return Py_BuildValue((char *)"");
15219 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 Py_INCREF(Py_None
); resultobj
= Py_None
;
15244 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15247 wxConfigBase
*result
;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "config", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15270 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 bool arg1
= (bool) true ;
15273 wxConfigBase
*result
;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "createOnDemand", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15281 arg1
= (bool)SWIG_As_bool(obj0
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15298 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxConfigBase
*result
;
15301 char *kwnames
[] = {
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (wxConfigBase
*)wxConfigBase::Create();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15320 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 char *kwnames
[] = {
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 wxConfigBase::DontCreateOnDemand();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 Py_INCREF(Py_None
); resultobj
= Py_None
;
15341 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15344 wxString
*arg2
= 0 ;
15345 bool temp2
= false ;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "path", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 arg2
= wxString_in_helper(obj1
);
15357 if (arg2
== NULL
) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 (arg1
)->SetPath((wxString
const &)*arg2
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15398 result
= (wxString
*) &_result_ref
;
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15408 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15417 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= result
;
15443 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self",(char *) "index", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15457 arg2
= (long)SWIG_As_long(obj1
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= result
;
15473 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= result
;
15499 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self",(char *) "index", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15513 arg2
= (long)SWIG_As_long(obj1
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= result
;
15529 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15532 bool arg2
= (bool) false ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "recursive", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 arg2
= (bool)SWIG_As_bool(obj1
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15561 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15564 bool arg2
= (bool) false ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "recursive", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 arg2
= (bool)SWIG_As_bool(obj1
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15593 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15596 wxString
*arg2
= 0 ;
15598 bool temp2
= false ;
15599 PyObject
* obj0
= 0 ;
15600 PyObject
* obj1
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self",(char *) "name", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 arg2
= wxString_in_helper(obj1
);
15610 if (arg2
== NULL
) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15637 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15640 wxString
*arg2
= 0 ;
15642 bool temp2
= false ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self",(char *) "name", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15653 arg2
= wxString_in_helper(obj1
);
15654 if (arg2
== NULL
) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15681 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15684 wxString
*arg2
= 0 ;
15686 bool temp2
= false ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "name", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 arg2
= wxString_in_helper(obj1
);
15698 if (arg2
== NULL
) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15725 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15728 wxString
*arg2
= 0 ;
15730 bool temp2
= false ;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self",(char *) "name", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 arg2
= wxString_in_helper(obj1
);
15742 if (arg2
== NULL
) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_From_int((int)result
);
15767 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15770 wxString
*arg2
= 0 ;
15771 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15772 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15774 bool temp2
= false ;
15775 bool temp3
= false ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 PyObject
* obj2
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 arg2
= wxString_in_helper(obj1
);
15788 if (arg2
== NULL
) SWIG_fail
;
15793 arg3
= wxString_in_helper(obj2
);
15794 if (arg3
== NULL
) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15834 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15837 wxString
*arg2
= 0 ;
15838 long arg3
= (long) 0 ;
15840 bool temp2
= false ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 PyObject
* obj2
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15852 arg2
= wxString_in_helper(obj1
);
15853 if (arg2
== NULL
) SWIG_fail
;
15857 arg3
= (long)SWIG_As_long(obj2
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_From_long((long)result
);
15882 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15885 wxString
*arg2
= 0 ;
15886 double arg3
= (double) 0.0 ;
15888 bool temp2
= false ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 PyObject
* obj2
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 arg2
= wxString_in_helper(obj1
);
15901 if (arg2
== NULL
) SWIG_fail
;
15905 arg3
= (double)SWIG_As_double(obj2
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_From_double((double)result
);
15930 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15933 wxString
*arg2
= 0 ;
15934 bool arg3
= (bool) false ;
15936 bool temp2
= false ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 PyObject
* obj2
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 arg2
= wxString_in_helper(obj1
);
15949 if (arg2
== NULL
) SWIG_fail
;
15953 arg3
= (bool)SWIG_As_bool(obj2
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15980 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15983 wxString
*arg2
= 0 ;
15984 wxString
*arg3
= 0 ;
15986 bool temp2
= false ;
15987 bool temp3
= false ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "key",(char *) "value", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 arg2
= wxString_in_helper(obj1
);
16000 if (arg2
== NULL
) SWIG_fail
;
16004 arg3
= wxString_in_helper(obj2
);
16005 if (arg3
== NULL
) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16040 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16043 wxString
*arg2
= 0 ;
16046 bool temp2
= false ;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 PyObject
* obj2
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self",(char *) "key",(char *) "value", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 arg2
= wxString_in_helper(obj1
);
16059 if (arg2
== NULL
) SWIG_fail
;
16062 arg3
= (long)SWIG_As_long(obj2
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16088 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16091 wxString
*arg2
= 0 ;
16094 bool temp2
= false ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 PyObject
* obj2
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "key",(char *) "value", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 arg2
= wxString_in_helper(obj1
);
16107 if (arg2
== NULL
) SWIG_fail
;
16110 arg3
= (double)SWIG_As_double(obj2
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16136 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16139 wxString
*arg2
= 0 ;
16142 bool temp2
= false ;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 PyObject
* obj2
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "key",(char *) "value", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 arg2
= wxString_in_helper(obj1
);
16155 if (arg2
== NULL
) SWIG_fail
;
16158 arg3
= (bool)SWIG_As_bool(obj2
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16184 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16187 bool arg2
= (bool) false ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "currentOnly", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 arg2
= (bool)SWIG_As_bool(obj1
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (bool)(arg1
)->Flush(arg2
);
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16218 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16221 wxString
*arg2
= 0 ;
16222 wxString
*arg3
= 0 ;
16224 bool temp2
= false ;
16225 bool temp3
= false ;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 PyObject
* obj2
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 arg2
= wxString_in_helper(obj1
);
16238 if (arg2
== NULL
) SWIG_fail
;
16242 arg3
= wxString_in_helper(obj2
);
16243 if (arg3
== NULL
) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16278 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16281 wxString
*arg2
= 0 ;
16282 wxString
*arg3
= 0 ;
16284 bool temp2
= false ;
16285 bool temp3
= false ;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 PyObject
* obj2
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 arg2
= wxString_in_helper(obj1
);
16298 if (arg2
== NULL
) SWIG_fail
;
16302 arg3
= wxString_in_helper(obj2
);
16303 if (arg3
== NULL
) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16338 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16341 wxString
*arg2
= 0 ;
16342 bool arg3
= (bool) true ;
16344 bool temp2
= false ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 PyObject
* obj2
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 arg2
= wxString_in_helper(obj1
);
16357 if (arg2
== NULL
) SWIG_fail
;
16361 arg3
= (bool)SWIG_As_bool(obj2
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16388 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16391 wxString
*arg2
= 0 ;
16393 bool temp2
= false ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "key", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 arg2
= wxString_in_helper(obj1
);
16405 if (arg2
== NULL
) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16432 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)(arg1
)->DeleteAll();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16463 bool arg2
= (bool) true ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "doIt", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16474 arg2
= (bool)SWIG_As_bool(obj1
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 (arg1
)->SetExpandEnvVars(arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 Py_INCREF(Py_None
); resultobj
= Py_None
;
16491 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16522 bool arg2
= (bool) true ;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self",(char *) "doIt", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 arg2
= (bool)SWIG_As_bool(obj1
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 (arg1
)->SetRecordDefaults(arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 Py_INCREF(Py_None
); resultobj
= Py_None
;
16550 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16578 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16581 wxString
*arg2
= 0 ;
16583 bool temp2
= false ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self",(char *) "str", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 arg2
= wxString_in_helper(obj1
);
16595 if (arg2
== NULL
) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16626 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16658 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16690 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16693 wxString
*arg2
= 0 ;
16694 bool temp2
= false ;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "appName", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 arg2
= wxString_in_helper(obj1
);
16706 if (arg2
== NULL
) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->SetAppName((wxString
const &)*arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16731 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16734 wxString
*arg2
= 0 ;
16735 bool temp2
= false ;
16736 PyObject
* obj0
= 0 ;
16737 PyObject
* obj1
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self",(char *) "vendorName", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16746 arg2
= wxString_in_helper(obj1
);
16747 if (arg2
== NULL
) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "style", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 arg2
= (long)SWIG_As_long(obj1
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 (arg1
)->SetStyle(arg2
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 Py_INCREF(Py_None
); resultobj
= Py_None
;
16801 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_From_long((long)result
);
16827 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16830 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16832 return Py_BuildValue((char *)"");
16834 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16837 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16838 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16839 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16840 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16841 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16842 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16843 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16844 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16846 bool temp1
= false ;
16847 bool temp2
= false ;
16848 bool temp3
= false ;
16849 bool temp4
= false ;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 PyObject
* obj2
= 0 ;
16853 PyObject
* obj3
= 0 ;
16854 PyObject
* obj4
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16862 arg1
= wxString_in_helper(obj0
);
16863 if (arg1
== NULL
) SWIG_fail
;
16869 arg2
= wxString_in_helper(obj1
);
16870 if (arg2
== NULL
) SWIG_fail
;
16876 arg3
= wxString_in_helper(obj2
);
16877 if (arg3
== NULL
) SWIG_fail
;
16883 arg4
= wxString_in_helper(obj3
);
16884 if (arg4
== NULL
) SWIG_fail
;
16889 arg5
= (long)SWIG_As_long(obj4
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16938 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxConfig
*arg1
= (wxConfig
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16966 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16968 return Py_BuildValue((char *)"");
16970 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16973 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16974 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16975 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16976 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16977 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16980 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16981 wxFileConfig
*result
;
16982 bool temp1
= false ;
16983 bool temp2
= false ;
16984 bool temp3
= false ;
16985 bool temp4
= false ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 PyObject
* obj2
= 0 ;
16989 PyObject
* obj3
= 0 ;
16990 PyObject
* obj4
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16998 arg1
= wxString_in_helper(obj0
);
16999 if (arg1
== NULL
) SWIG_fail
;
17005 arg2
= wxString_in_helper(obj1
);
17006 if (arg2
== NULL
) SWIG_fail
;
17012 arg3
= wxString_in_helper(obj2
);
17013 if (arg3
== NULL
) SWIG_fail
;
17019 arg4
= wxString_in_helper(obj3
);
17020 if (arg4
== NULL
) SWIG_fail
;
17025 arg5
= (long)SWIG_As_long(obj4
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17074 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17102 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17104 return Py_BuildValue((char *)"");
17106 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17109 wxString
*arg2
= 0 ;
17110 wxConfigPathChanger
*result
;
17111 bool temp2
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "config",(char *) "entry", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 arg2
= wxString_in_helper(obj1
);
17123 if (arg2
== NULL
) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17148 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17177 PyObject
* obj0
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17189 result
= (wxString
*) &_result_ref
;
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17199 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17208 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17213 return Py_BuildValue((char *)"");
17215 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxString
*arg1
= 0 ;
17219 bool temp1
= false ;
17220 PyObject
* obj0
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "sz", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17227 arg1
= wxString_in_helper(obj0
);
17228 if (arg1
== NULL
) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17259 static int _wrap_DateFormatStr_set(PyObject
*) {
17260 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17265 static PyObject
*_wrap_DateFormatStr_get() {
17270 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17272 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17279 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17280 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17285 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17290 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17292 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17299 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "country", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17308 arg1
= (int)SWIG_As_int(obj0
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 Py_INCREF(Py_None
); resultobj
= Py_None
;
17324 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17327 char *kwnames
[] = {
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (int)wxDateTime::GetCountry();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_From_int((int)result
);
17346 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 int arg1
= (int) wxDateTime::Country_Default
;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "country", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17357 arg1
= (int)SWIG_As_int(obj0
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17376 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 int arg1
= (int) wxDateTime::Gregorian
;
17380 PyObject
* obj0
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "cal", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17387 arg1
= (int)SWIG_As_int(obj0
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_From_int((int)result
);
17404 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "year", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17414 arg1
= (int)SWIG_As_int(obj0
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_From_int((int)result
);
17430 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17432 int arg1
= (int) wxDateTime::Gregorian
;
17434 PyObject
* obj0
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "cal", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17441 arg1
= (int)SWIG_As_int(obj0
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_From_int((int)result
);
17458 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 int arg1
= (int) wxDateTime::Inv_Year
;
17461 int arg2
= (int) wxDateTime::Gregorian
;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "year",(char *) "cal", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17471 arg1
= (int)SWIG_As_int(obj0
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17475 arg2
= (int)SWIG_As_int(obj1
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17494 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 int arg1
= (int) wxDateTime::Inv_Year
;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "year", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17505 arg1
= (int)SWIG_As_int(obj0
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (int)wxDateTime::GetCentury(arg1
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_From_int((int)result
);
17522 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17525 int arg2
= (int) wxDateTime::Gregorian
;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "year",(char *) "cal", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17534 arg1
= (int)SWIG_As_int(obj0
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 arg2
= (int)SWIG_As_int(obj1
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_From_int((int)result
);
17554 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17557 int arg2
= (int) wxDateTime::Inv_Year
;
17558 int arg3
= (int) wxDateTime::Gregorian
;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 PyObject
* obj2
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "month",(char *) "year",(char *) "cal", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17568 arg1
= (int)SWIG_As_int(obj0
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 arg2
= (int)SWIG_As_int(obj1
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 arg3
= (int)SWIG_As_int(obj2
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_From_int((int)result
);
17592 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17595 int arg2
= (int) wxDateTime::Name_Full
;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "month",(char *) "flags", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 arg1
= (int)SWIG_As_int(obj0
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 arg2
= (int)SWIG_As_int(obj1
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17630 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17633 int arg2
= (int) wxDateTime::Name_Full
;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "weekday",(char *) "flags", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17642 arg1
= (int)SWIG_As_int(obj0
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 arg2
= (int)SWIG_As_int(obj1
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17668 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxString
*arg1
= (wxString
*) 0 ;
17671 wxString
*arg2
= (wxString
*) 0 ;
17672 bool temp1
= false ;
17673 bool temp2
= false ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 arg1
= wxString_in_helper(obj0
);
17683 if (arg1
== NULL
) SWIG_fail
;
17687 arg2
= wxString_in_helper(obj1
);
17688 if (arg2
== NULL
) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 int arg1
= (int) wxDateTime::Inv_Year
;
17724 int arg2
= (int) wxDateTime::Country_Default
;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "year",(char *) "country", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17734 arg1
= (int)SWIG_As_int(obj0
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 arg2
= (int)SWIG_As_int(obj1
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17757 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 int arg1
= (int) wxDateTime::Inv_Year
;
17760 int arg2
= (int) wxDateTime::Country_Default
;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "year",(char *) "country", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17770 arg1
= (int)SWIG_As_int(obj0
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 arg2
= (int)SWIG_As_int(obj1
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 wxDateTime
* resultptr
;
17786 resultptr
= new wxDateTime((wxDateTime
&) result
);
17787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17795 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 int arg1
= (int) wxDateTime::Inv_Year
;
17798 int arg2
= (int) wxDateTime::Country_Default
;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "year",(char *) "country", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17808 arg1
= (int)SWIG_As_int(obj0
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 arg2
= (int)SWIG_As_int(obj1
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 wxDateTime
* resultptr
;
17824 resultptr
= new wxDateTime((wxDateTime
&) result
);
17825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17833 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17836 char *kwnames
[] = {
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= wxDateTime::Now();
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 wxDateTime
* resultptr
;
17850 resultptr
= new wxDateTime((wxDateTime
&) result
);
17851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17859 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17862 char *kwnames
[] = {
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= wxDateTime::UNow();
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 wxDateTime
* resultptr
;
17876 resultptr
= new wxDateTime((wxDateTime
&) result
);
17877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17885 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17888 char *kwnames
[] = {
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= wxDateTime::Today();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 wxDateTime
* resultptr
;
17902 resultptr
= new wxDateTime((wxDateTime
&) result
);
17903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17911 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxDateTime
*result
;
17914 char *kwnames
[] = {
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (wxDateTime
*)new wxDateTime();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17933 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17936 wxDateTime
*result
;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "timet", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17943 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (wxDateTime
*)new wxDateTime(arg1
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17959 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17962 wxDateTime
*result
;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "jdn", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17969 arg1
= (double)SWIG_As_double(obj0
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (wxDateTime
*)new wxDateTime(arg1
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17985 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17988 int arg2
= (int) 0 ;
17989 int arg3
= (int) 0 ;
17990 int arg4
= (int) 0 ;
17991 wxDateTime
*result
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 PyObject
* obj3
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18001 arg1
= (int)SWIG_As_int(obj0
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 arg2
= (int)SWIG_As_int(obj1
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 arg3
= (int)SWIG_As_int(obj2
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 arg4
= (int)SWIG_As_int(obj3
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18029 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18032 int arg2
= (int) wxDateTime::Inv_Month
;
18033 int arg3
= (int) wxDateTime::Inv_Year
;
18034 int arg4
= (int) 0 ;
18035 int arg5
= (int) 0 ;
18036 int arg6
= (int) 0 ;
18037 int arg7
= (int) 0 ;
18038 wxDateTime
*result
;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 PyObject
* obj2
= 0 ;
18042 PyObject
* obj3
= 0 ;
18043 PyObject
* obj4
= 0 ;
18044 PyObject
* obj5
= 0 ;
18045 PyObject
* obj6
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18051 arg1
= (int)SWIG_As_int(obj0
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 arg2
= (int)SWIG_As_int(obj1
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18058 arg3
= (int)SWIG_As_int(obj2
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18062 arg4
= (int)SWIG_As_int(obj3
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18066 arg5
= (int)SWIG_As_int(obj4
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 arg6
= (int)SWIG_As_int(obj5
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 arg7
= (int)SWIG_As_int(obj6
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18091 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18119 wxDateTime
*result
;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18132 result
= (wxDateTime
*) &_result_ref
;
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18145 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18149 wxDateTime
*result
;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "timet", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18165 result
= (wxDateTime
*) &_result_ref
;
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18178 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18182 wxDateTime
*result
;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "jdn", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 arg2
= (double)SWIG_As_double(obj1
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18198 result
= (wxDateTime
*) &_result_ref
;
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18211 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18215 int arg3
= (int) 0 ;
18216 int arg4
= (int) 0 ;
18217 int arg5
= (int) 0 ;
18218 wxDateTime
*result
;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 PyObject
* obj3
= 0 ;
18223 PyObject
* obj4
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 arg2
= (int)SWIG_As_int(obj1
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 arg3
= (int)SWIG_As_int(obj2
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18238 arg4
= (int)SWIG_As_int(obj3
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 arg5
= (int)SWIG_As_int(obj4
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18249 result
= (wxDateTime
*) &_result_ref
;
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18262 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18266 int arg3
= (int) wxDateTime::Inv_Month
;
18267 int arg4
= (int) wxDateTime::Inv_Year
;
18268 int arg5
= (int) 0 ;
18269 int arg6
= (int) 0 ;
18270 int arg7
= (int) 0 ;
18271 int arg8
= (int) 0 ;
18272 wxDateTime
*result
;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 PyObject
* obj2
= 0 ;
18276 PyObject
* obj3
= 0 ;
18277 PyObject
* obj4
= 0 ;
18278 PyObject
* obj5
= 0 ;
18279 PyObject
* obj6
= 0 ;
18280 PyObject
* obj7
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18288 arg2
= (int)SWIG_As_int(obj1
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 arg3
= (int)SWIG_As_int(obj2
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 arg4
= (int)SWIG_As_int(obj3
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 arg5
= (int)SWIG_As_int(obj4
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 arg6
= (int)SWIG_As_int(obj5
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 arg7
= (int)SWIG_As_int(obj6
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 arg8
= (int)SWIG_As_int(obj7
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18318 result
= (wxDateTime
*) &_result_ref
;
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18331 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18334 wxDateTime
*result
;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18347 result
= (wxDateTime
*) &_result_ref
;
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18360 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18364 wxDateTime
*result
;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "year", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 arg2
= (int)SWIG_As_int(obj1
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18380 result
= (wxDateTime
*) &_result_ref
;
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18393 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18397 wxDateTime
*result
;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "month", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int)SWIG_As_int(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18413 result
= (wxDateTime
*) &_result_ref
;
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18426 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18430 wxDateTime
*result
;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "day", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 arg2
= (int)SWIG_As_int(obj1
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18446 result
= (wxDateTime
*) &_result_ref
;
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18459 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18463 wxDateTime
*result
;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self",(char *) "hour", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 arg2
= (int)SWIG_As_int(obj1
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18479 result
= (wxDateTime
*) &_result_ref
;
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18492 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18496 wxDateTime
*result
;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self",(char *) "minute", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18506 arg2
= (int)SWIG_As_int(obj1
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18512 result
= (wxDateTime
*) &_result_ref
;
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18525 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18529 wxDateTime
*result
;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "second", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 arg2
= (int)SWIG_As_int(obj1
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18545 result
= (wxDateTime
*) &_result_ref
;
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18558 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18562 wxDateTime
*result
;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "millisecond", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18572 arg2
= (int)SWIG_As_int(obj1
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18578 result
= (wxDateTime
*) &_result_ref
;
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18591 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18595 int arg3
= (int) wxDateTime::Monday_First
;
18596 wxDateTime
*result
;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 arg2
= (int)SWIG_As_int(obj1
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 arg3
= (int)SWIG_As_int(obj2
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18617 result
= (wxDateTime
*) &_result_ref
;
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18630 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18634 int arg3
= (int) wxDateTime::Monday_First
;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 PyObject
* obj2
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 arg2
= (int)SWIG_As_int(obj1
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 arg3
= (int)SWIG_As_int(obj2
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 wxDateTime
* resultptr
;
18661 resultptr
= new wxDateTime((wxDateTime
&) result
);
18662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18670 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18674 wxDateTime
*result
;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self",(char *) "weekday", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 arg2
= (int)SWIG_As_int(obj1
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18690 result
= (wxDateTime
*) &_result_ref
;
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18703 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "weekday", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 arg2
= (int)SWIG_As_int(obj1
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 wxDateTime
* resultptr
;
18728 resultptr
= new wxDateTime((wxDateTime
&) result
);
18729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18737 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18741 wxDateTime
*result
;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self",(char *) "weekday", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 arg2
= (int)SWIG_As_int(obj1
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18757 result
= (wxDateTime
*) &_result_ref
;
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18770 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self",(char *) "weekday", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18784 arg2
= (int)SWIG_As_int(obj1
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 wxDateTime
* resultptr
;
18795 resultptr
= new wxDateTime((wxDateTime
&) result
);
18796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18804 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18808 int arg3
= (int) 1 ;
18809 int arg4
= (int) wxDateTime::Inv_Month
;
18810 int arg5
= (int) wxDateTime::Inv_Year
;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 PyObject
* obj2
= 0 ;
18815 PyObject
* obj3
= 0 ;
18816 PyObject
* obj4
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 arg2
= (int)SWIG_As_int(obj1
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 arg3
= (int)SWIG_As_int(obj2
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 arg4
= (int)SWIG_As_int(obj3
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 arg5
= (int)SWIG_As_int(obj4
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18854 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18858 int arg3
= (int) wxDateTime::Inv_Month
;
18859 int arg4
= (int) wxDateTime::Inv_Year
;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 PyObject
* obj3
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 arg2
= (int)SWIG_As_int(obj1
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 arg3
= (int)SWIG_As_int(obj2
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18879 arg4
= (int)SWIG_As_int(obj3
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18898 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18902 int arg3
= (int) wxDateTime::Inv_Month
;
18903 int arg4
= (int) wxDateTime::Inv_Year
;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 PyObject
* obj2
= 0 ;
18908 PyObject
* obj3
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 arg2
= (int)SWIG_As_int(obj1
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 arg3
= (int)SWIG_As_int(obj2
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18923 arg4
= (int)SWIG_As_int(obj3
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 wxDateTime
* resultptr
;
18935 resultptr
= new wxDateTime((wxDateTime
&) result
);
18936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18944 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18948 int arg3
= (int) wxDateTime::Mon
;
18949 int arg4
= (int) wxDateTime::Monday_First
;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 PyObject
* obj3
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 arg2
= (int)SWIG_As_int(obj1
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 arg3
= (int)SWIG_As_int(obj2
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 arg4
= (int)SWIG_As_int(obj3
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18988 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18992 int arg3
= (int) wxDateTime::Mon
;
18993 int arg4
= (int) wxDateTime::Monday_First
;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 PyObject
* obj2
= 0 ;
18998 PyObject
* obj3
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 arg2
= (int)SWIG_As_int(obj1
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 arg3
= (int)SWIG_As_int(obj2
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 arg4
= (int)SWIG_As_int(obj3
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 wxDateTime
* resultptr
;
19025 resultptr
= new wxDateTime((wxDateTime
&) result
);
19026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19034 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19038 int arg3
= (int) wxDateTime::Mon
;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 PyObject
* obj2
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19048 arg1
= (int)SWIG_As_int(obj0
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19050 arg2
= (int)SWIG_As_int(obj1
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 arg3
= (int)SWIG_As_int(obj2
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19064 wxDateTime
* resultptr
;
19065 resultptr
= new wxDateTime((wxDateTime
&) result
);
19066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19074 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19077 int arg2
= (int) wxDateTime::Inv_Month
;
19078 int arg3
= (int) wxDateTime::Inv_Year
;
19079 wxDateTime
*result
;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 PyObject
* obj2
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self",(char *) "month",(char *) "year", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 arg2
= (int)SWIG_As_int(obj1
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19095 arg3
= (int)SWIG_As_int(obj2
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19102 result
= (wxDateTime
*) &_result_ref
;
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19115 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19118 int arg2
= (int) wxDateTime::Inv_Month
;
19119 int arg3
= (int) wxDateTime::Inv_Year
;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 PyObject
* obj2
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self",(char *) "month",(char *) "year", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19132 arg2
= (int)SWIG_As_int(obj1
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19136 arg3
= (int)SWIG_As_int(obj2
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19147 wxDateTime
* resultptr
;
19148 resultptr
= new wxDateTime((wxDateTime
&) result
);
19149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19157 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19161 wxDateTime
*result
;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "yday", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 arg2
= (int)SWIG_As_int(obj1
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19177 result
= (wxDateTime
*) &_result_ref
;
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19190 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "yday", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19204 arg2
= (int)SWIG_As_int(obj1
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (arg1
)->GetYearDay(arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19214 wxDateTime
* resultptr
;
19215 resultptr
= new wxDateTime((wxDateTime
&) result
);
19216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19224 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (double)(arg1
)->GetJulianDayNumber();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= SWIG_From_double((double)result
);
19250 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (double)(arg1
)->GetJDN();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_From_double((double)result
);
19276 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_From_double((double)result
);
19302 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= (double)(arg1
)->GetMJD();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_From_double((double)result
);
19328 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= (double)(arg1
)->GetRataDie();
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= SWIG_From_double((double)result
);
19354 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19357 wxDateTime::TimeZone
*arg2
= 0 ;
19358 bool arg3
= (bool) false ;
19360 bool temp2
= false ;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 PyObject
* obj2
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19376 arg3
= (bool)SWIG_As_bool(obj2
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19387 wxDateTime
* resultptr
;
19388 resultptr
= new wxDateTime((wxDateTime
&) result
);
19389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19392 if (temp2
) delete arg2
;
19397 if (temp2
) delete arg2
;
19403 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19406 wxDateTime::TimeZone
*arg2
= 0 ;
19407 bool arg3
= (bool) false ;
19408 wxDateTime
*result
;
19409 bool temp2
= false ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 PyObject
* obj2
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19421 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19425 arg3
= (bool)SWIG_As_bool(obj2
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19432 result
= (wxDateTime
*) &_result_ref
;
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19440 if (temp2
) delete arg2
;
19445 if (temp2
) delete arg2
;
19451 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19454 bool arg2
= (bool) false ;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "noDST", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19466 arg2
= (bool)SWIG_As_bool(obj1
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (arg1
)->ToGMT(arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 wxDateTime
* resultptr
;
19478 resultptr
= new wxDateTime((wxDateTime
&) result
);
19479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19487 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19490 bool arg2
= (bool) false ;
19491 wxDateTime
*result
;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "noDST", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19502 arg2
= (bool)SWIG_As_bool(obj1
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19509 result
= (wxDateTime
*) &_result_ref
;
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19522 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19525 int arg2
= (int) wxDateTime::Country_Default
;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "country", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 arg2
= (int)SWIG_As_int(obj1
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_From_int((int)result
);
19554 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19582 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19608 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19611 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19612 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19614 bool temp2
= false ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "tz", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19626 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_From_int((int)result
);
19639 if (temp2
) delete arg2
;
19644 if (temp2
) delete arg2
;
19650 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19653 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19654 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19656 bool temp2
= false ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "self",(char *) "tz", NULL
19663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19668 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= SWIG_From_int((int)result
);
19681 if (temp2
) delete arg2
;
19686 if (temp2
) delete arg2
;
19692 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19695 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19696 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19698 bool temp2
= false ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "tz", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= SWIG_From_int((int)result
);
19723 if (temp2
) delete arg2
;
19728 if (temp2
) delete arg2
;
19734 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19737 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19738 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19740 bool temp2
= false ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "tz", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19752 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_From_int((int)result
);
19765 if (temp2
) delete arg2
;
19770 if (temp2
) delete arg2
;
19776 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19779 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19780 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19782 bool temp2
= false ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "tz", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_From_int((int)result
);
19807 if (temp2
) delete arg2
;
19812 if (temp2
) delete arg2
;
19818 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19821 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19822 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19824 bool temp2
= false ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "self",(char *) "tz", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_From_int((int)result
);
19849 if (temp2
) delete arg2
;
19854 if (temp2
) delete arg2
;
19860 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19863 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19864 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19866 bool temp2
= false ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "tz", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19878 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= SWIG_From_int((int)result
);
19891 if (temp2
) delete arg2
;
19896 if (temp2
) delete arg2
;
19902 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19905 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19906 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19908 bool temp2
= false ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "tz", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19920 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_From_int((int)result
);
19933 if (temp2
) delete arg2
;
19938 if (temp2
) delete arg2
;
19944 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19947 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19948 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19950 bool temp2
= false ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "tz", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_From_int((int)result
);
19975 if (temp2
) delete arg2
;
19980 if (temp2
) delete arg2
;
19986 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19989 int arg2
= (int) wxDateTime::Monday_First
;
19990 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19991 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19993 bool temp3
= false ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 PyObject
* obj2
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "flags",(char *) "tz", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20005 arg2
= (int)SWIG_As_int(obj1
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20010 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_From_int((int)result
);
20023 if (temp3
) delete arg3
;
20028 if (temp3
) delete arg3
;
20034 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20037 int arg2
= (int) wxDateTime::Monday_First
;
20038 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20039 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20041 bool temp3
= false ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 PyObject
* obj2
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "flags",(char *) "tz", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 arg2
= (int)SWIG_As_int(obj1
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20058 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_From_int((int)result
);
20071 if (temp3
) delete arg3
;
20076 if (temp3
) delete arg3
;
20082 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20085 int arg2
= (int) wxDateTime::Country_Default
;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self",(char *) "country", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20097 arg2
= (int)SWIG_As_int(obj1
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20116 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20119 wxDateTime
*arg2
= 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "datetime", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20133 if (arg2
== NULL
) {
20134 PyErr_SetString(PyExc_TypeError
,"null reference");
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20156 wxDateTime
*arg2
= 0 ;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self",(char *) "datetime", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20170 if (arg2
== NULL
) {
20171 PyErr_SetString(PyExc_TypeError
,"null reference");
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20190 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20193 wxDateTime
*arg2
= 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self",(char *) "datetime", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20207 if (arg2
== NULL
) {
20208 PyErr_SetString(PyExc_TypeError
,"null reference");
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20227 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20230 wxDateTime
*arg2
= 0 ;
20231 wxDateTime
*arg3
= 0 ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 PyObject
* obj2
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "t1",(char *) "t2", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20246 if (arg2
== NULL
) {
20247 PyErr_SetString(PyExc_TypeError
,"null reference");
20250 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20253 if (arg3
== NULL
) {
20254 PyErr_SetString(PyExc_TypeError
,"null reference");
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20273 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20276 wxDateTime
*arg2
= 0 ;
20277 wxDateTime
*arg3
= 0 ;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 PyObject
* obj2
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self",(char *) "t1",(char *) "t2", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20292 if (arg2
== NULL
) {
20293 PyErr_SetString(PyExc_TypeError
,"null reference");
20296 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20299 if (arg3
== NULL
) {
20300 PyErr_SetString(PyExc_TypeError
,"null reference");
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20319 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20322 wxDateTime
*arg2
= 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self",(char *) "dt", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20336 if (arg2
== NULL
) {
20337 PyErr_SetString(PyExc_TypeError
,"null reference");
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20356 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20359 wxDateTime
*arg2
= 0 ;
20361 PyObject
* obj0
= 0 ;
20362 PyObject
* obj1
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self",(char *) "dt", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20373 if (arg2
== NULL
) {
20374 PyErr_SetString(PyExc_TypeError
,"null reference");
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20393 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20396 wxDateTime
*arg2
= 0 ;
20397 wxTimeSpan
*arg3
= 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 PyObject
* obj2
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self",(char *) "dt",(char *) "ts", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20412 if (arg2
== NULL
) {
20413 PyErr_SetString(PyExc_TypeError
,"null reference");
20416 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20419 if (arg3
== NULL
) {
20420 PyErr_SetString(PyExc_TypeError
,"null reference");
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20439 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20442 wxTimeSpan
*arg2
= 0 ;
20443 wxDateTime
*result
;
20444 PyObject
* obj0
= 0 ;
20445 PyObject
* obj1
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self",(char *) "diff", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20456 if (arg2
== NULL
) {
20457 PyErr_SetString(PyExc_TypeError
,"null reference");
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20464 result
= (wxDateTime
*) &_result_ref
;
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20477 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20480 wxDateSpan
*arg2
= 0 ;
20481 wxDateTime
*result
;
20482 PyObject
* obj0
= 0 ;
20483 PyObject
* obj1
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self",(char *) "diff", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20494 if (arg2
== NULL
) {
20495 PyErr_SetString(PyExc_TypeError
,"null reference");
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20502 result
= (wxDateTime
*) &_result_ref
;
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20515 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20518 wxTimeSpan
*arg2
= 0 ;
20519 wxDateTime
*result
;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "diff", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20532 if (arg2
== NULL
) {
20533 PyErr_SetString(PyExc_TypeError
,"null reference");
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20540 result
= (wxDateTime
*) &_result_ref
;
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20553 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20556 wxDateSpan
*arg2
= 0 ;
20557 wxDateTime
*result
;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self",(char *) "diff", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20570 if (arg2
== NULL
) {
20571 PyErr_SetString(PyExc_TypeError
,"null reference");
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20578 result
= (wxDateTime
*) &_result_ref
;
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20591 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20594 wxDateTime
*arg2
= 0 ;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "self",(char *) "dt", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20608 if (arg2
== NULL
) {
20609 PyErr_SetString(PyExc_TypeError
,"null reference");
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 wxTimeSpan
* resultptr
;
20621 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20630 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20631 PyObject
*resultobj
;
20632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20633 wxTimeSpan
*arg2
= 0 ;
20634 wxDateTime
*result
;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20638 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20640 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20644 if (arg2
== NULL
) {
20645 PyErr_SetString(PyExc_TypeError
,"null reference");
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20652 result
= (wxDateTime
*) &_result_ref
;
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20665 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20666 PyObject
*resultobj
;
20667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20668 wxDateSpan
*arg2
= 0 ;
20669 wxDateTime
*result
;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20673 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20675 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20679 if (arg2
== NULL
) {
20680 PyErr_SetString(PyExc_TypeError
,"null reference");
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20687 result
= (wxDateTime
*) &_result_ref
;
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20700 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20705 argc
= PyObject_Length(args
);
20706 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20707 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20713 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20723 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20731 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20749 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20757 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20762 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20767 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20768 PyObject
*resultobj
;
20769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20770 wxTimeSpan
*arg2
= 0 ;
20771 wxDateTime
*result
;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20775 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20777 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20781 if (arg2
== NULL
) {
20782 PyErr_SetString(PyExc_TypeError
,"null reference");
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20789 result
= (wxDateTime
*) &_result_ref
;
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20802 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20803 PyObject
*resultobj
;
20804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20805 wxDateSpan
*arg2
= 0 ;
20806 wxDateTime
*result
;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20810 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20812 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20816 if (arg2
== NULL
) {
20817 PyErr_SetString(PyExc_TypeError
,"null reference");
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20824 result
= (wxDateTime
*) &_result_ref
;
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20837 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20842 argc
= PyObject_Length(args
);
20843 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20844 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20850 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20860 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20868 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20876 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20886 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20894 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20899 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20904 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20905 PyObject
*resultobj
;
20906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20907 wxTimeSpan
*arg2
= 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20912 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20918 if (arg2
== NULL
) {
20919 PyErr_SetString(PyExc_TypeError
,"null reference");
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20930 wxDateTime
* resultptr
;
20931 resultptr
= new wxDateTime((wxDateTime
&) result
);
20932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20940 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20941 PyObject
*resultobj
;
20942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20943 wxDateSpan
*arg2
= 0 ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20948 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20954 if (arg2
== NULL
) {
20955 PyErr_SetString(PyExc_TypeError
,"null reference");
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20966 wxDateTime
* resultptr
;
20967 resultptr
= new wxDateTime((wxDateTime
&) result
);
20968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20976 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20981 argc
= PyObject_Length(args
);
20982 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20983 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20989 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20999 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21007 return _wrap_DateTime___add____SWIG_0(self
,args
);
21015 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21025 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21033 return _wrap_DateTime___add____SWIG_1(self
,args
);
21038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21043 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21044 PyObject
*resultobj
;
21045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21046 wxDateTime
*arg2
= 0 ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21051 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21057 if (arg2
== NULL
) {
21058 PyErr_SetString(PyExc_TypeError
,"null reference");
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21069 wxTimeSpan
* resultptr
;
21070 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21079 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21080 PyObject
*resultobj
;
21081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21082 wxTimeSpan
*arg2
= 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21087 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21093 if (arg2
== NULL
) {
21094 PyErr_SetString(PyExc_TypeError
,"null reference");
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21105 wxDateTime
* resultptr
;
21106 resultptr
= new wxDateTime((wxDateTime
&) result
);
21107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21115 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21116 PyObject
*resultobj
;
21117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21118 wxDateSpan
*arg2
= 0 ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21123 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21129 if (arg2
== NULL
) {
21130 PyErr_SetString(PyExc_TypeError
,"null reference");
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 wxDateTime
* resultptr
;
21142 resultptr
= new wxDateTime((wxDateTime
&) result
);
21143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21151 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21156 argc
= PyObject_Length(args
);
21157 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21174 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21182 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21190 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21200 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21208 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21216 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21226 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21234 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21239 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21244 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21245 PyObject
*resultobj
;
21246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21247 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21252 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21273 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21274 PyObject
*resultobj
;
21275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21276 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21281 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21302 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21303 PyObject
*resultobj
;
21304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21305 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21310 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21331 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21332 PyObject
*resultobj
;
21333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21334 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21339 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21360 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21361 PyObject
*resultobj
;
21362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21363 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21368 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21390 PyObject
*resultobj
;
21391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21392 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21397 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21418 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21421 wxString
*arg2
= 0 ;
21423 bool temp2
= false ;
21424 PyObject
* obj0
= 0 ;
21425 PyObject
* obj1
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "date", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 arg2
= wxString_in_helper(obj1
);
21435 if (arg2
== NULL
) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_From_int((int)result
);
21460 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21463 wxString
*arg2
= 0 ;
21464 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21466 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21467 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21469 bool temp2
= false ;
21470 bool temp3
= false ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 PyObject
* obj2
= 0 ;
21474 PyObject
* obj3
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 arg2
= wxString_in_helper(obj1
);
21484 if (arg2
== NULL
) SWIG_fail
;
21489 arg3
= wxString_in_helper(obj2
);
21490 if (arg3
== NULL
) SWIG_fail
;
21495 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21498 if (arg4
== NULL
) {
21499 PyErr_SetString(PyExc_TypeError
,"null reference");
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int((int)result
);
21533 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21536 wxString
*arg2
= 0 ;
21538 bool temp2
= false ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self",(char *) "datetime", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 arg2
= wxString_in_helper(obj1
);
21550 if (arg2
== NULL
) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= SWIG_From_int((int)result
);
21575 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21578 wxString
*arg2
= 0 ;
21580 bool temp2
= false ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "date", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg2
= wxString_in_helper(obj1
);
21592 if (arg2
== NULL
) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_From_int((int)result
);
21617 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21620 wxString
*arg2
= 0 ;
21622 bool temp2
= false ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "time", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 arg2
= wxString_in_helper(obj1
);
21634 if (arg2
== NULL
) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_From_int((int)result
);
21659 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21662 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21663 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21664 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21665 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21667 bool temp2
= false ;
21668 bool temp3
= false ;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 PyObject
* obj2
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "format",(char *) "tz", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 arg2
= wxString_in_helper(obj1
);
21682 if (arg2
== NULL
) SWIG_fail
;
21688 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21711 if (temp3
) delete arg3
;
21720 if (temp3
) delete arg3
;
21726 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21758 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21790 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21794 PyObject
* obj0
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21822 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21826 PyObject
* obj0
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21854 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21857 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21859 return Py_BuildValue((char *)"");
21861 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21865 PyObject
* obj0
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "sec", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21871 arg1
= (long)SWIG_As_long(obj0
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= wxTimeSpan::Seconds(arg1
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21881 wxTimeSpan
* resultptr
;
21882 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21891 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21894 char *kwnames
[] = {
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= wxTimeSpan::Second();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21907 wxTimeSpan
* resultptr
;
21908 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21917 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "min", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21927 arg1
= (long)SWIG_As_long(obj0
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= wxTimeSpan::Minutes(arg1
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 wxTimeSpan
* resultptr
;
21938 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21947 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21950 char *kwnames
[] = {
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= wxTimeSpan::Minute();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 wxTimeSpan
* resultptr
;
21964 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21973 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21977 PyObject
* obj0
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "hours", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21983 arg1
= (long)SWIG_As_long(obj0
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= wxTimeSpan::Hours(arg1
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21993 wxTimeSpan
* resultptr
;
21994 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22003 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22006 char *kwnames
[] = {
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= wxTimeSpan::Hour();
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22019 wxTimeSpan
* resultptr
;
22020 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22029 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22033 PyObject
* obj0
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "days", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22039 arg1
= (long)SWIG_As_long(obj0
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= wxTimeSpan::Days(arg1
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22049 wxTimeSpan
* resultptr
;
22050 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22059 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22062 char *kwnames
[] = {
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= wxTimeSpan::Day();
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22075 wxTimeSpan
* resultptr
;
22076 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22085 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22089 PyObject
* obj0
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "days", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22095 arg1
= (long)SWIG_As_long(obj0
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= wxTimeSpan::Weeks(arg1
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 wxTimeSpan
* resultptr
;
22106 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22115 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22118 char *kwnames
[] = {
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= wxTimeSpan::Week();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 wxTimeSpan
* resultptr
;
22132 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22141 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 long arg1
= (long) 0 ;
22144 long arg2
= (long) 0 ;
22145 long arg3
= (long) 0 ;
22146 long arg4
= (long) 0 ;
22147 wxTimeSpan
*result
;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 PyObject
* obj3
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22158 arg1
= (long)SWIG_As_long(obj0
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 arg2
= (long)SWIG_As_long(obj1
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22166 arg3
= (long)SWIG_As_long(obj2
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 arg4
= (long)SWIG_As_long(obj3
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22187 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 Py_INCREF(Py_None
); resultobj
= Py_None
;
22212 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22215 wxTimeSpan
*arg2
= 0 ;
22216 wxTimeSpan
*result
;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self",(char *) "diff", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22229 if (arg2
== NULL
) {
22230 PyErr_SetString(PyExc_TypeError
,"null reference");
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22237 result
= (wxTimeSpan
*) &_result_ref
;
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22250 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22253 wxTimeSpan
*arg2
= 0 ;
22254 wxTimeSpan
*result
;
22255 PyObject
* obj0
= 0 ;
22256 PyObject
* obj1
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self",(char *) "diff", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22267 if (arg2
== NULL
) {
22268 PyErr_SetString(PyExc_TypeError
,"null reference");
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22275 result
= (wxTimeSpan
*) &_result_ref
;
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22288 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22292 wxTimeSpan
*result
;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "n", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 arg2
= (int)SWIG_As_int(obj1
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22308 result
= (wxTimeSpan
*) &_result_ref
;
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22321 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22324 wxTimeSpan
*result
;
22325 PyObject
* obj0
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
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_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 wxTimeSpan
* resultptr
;
22371 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22380 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22383 wxTimeSpan
*arg2
= 0 ;
22384 wxTimeSpan
*result
;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "diff", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22393 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22397 if (arg2
== NULL
) {
22398 PyErr_SetString(PyExc_TypeError
,"null reference");
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22405 result
= (wxTimeSpan
*) &_result_ref
;
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22418 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22421 wxTimeSpan
*arg2
= 0 ;
22422 wxTimeSpan
*result
;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "diff", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22431 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22435 if (arg2
== NULL
) {
22436 PyErr_SetString(PyExc_TypeError
,"null reference");
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22443 result
= (wxTimeSpan
*) &_result_ref
;
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22456 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22460 wxTimeSpan
*result
;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "n", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22469 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22470 arg2
= (int)SWIG_As_int(obj1
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22476 result
= (wxTimeSpan
*) &_result_ref
;
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22489 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22492 wxTimeSpan
*result
;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22505 result
= (wxTimeSpan
*) &_result_ref
;
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22518 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22521 wxTimeSpan
*arg2
= 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self",(char *) "other", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22535 if (arg2
== NULL
) {
22536 PyErr_SetString(PyExc_TypeError
,"null reference");
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 wxTimeSpan
* resultptr
;
22548 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22557 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22560 wxTimeSpan
*arg2
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "other", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22574 if (arg2
== NULL
) {
22575 PyErr_SetString(PyExc_TypeError
,"null reference");
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 wxTimeSpan
* resultptr
;
22587 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22596 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "n", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 arg2
= (int)SWIG_As_int(obj1
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= wxTimeSpan___mul__(arg1
,arg2
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 wxTimeSpan
* resultptr
;
22621 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22630 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "n", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 arg2
= (int)SWIG_As_int(obj1
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 wxTimeSpan
* resultptr
;
22655 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22664 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22667 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self",(char *) "other", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22696 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22699 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self",(char *) "other", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22728 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22731 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "other", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22760 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22763 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self",(char *) "other", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22792 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22795 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self",(char *) "other", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22824 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22827 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self",(char *) "other", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22856 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22884 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22912 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22940 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22943 wxTimeSpan
*arg2
= 0 ;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self",(char *) "ts", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22957 if (arg2
== NULL
) {
22958 PyErr_SetString(PyExc_TypeError
,"null reference");
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22977 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22980 wxTimeSpan
*arg2
= 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "ts", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22994 if (arg2
== NULL
) {
22995 PyErr_SetString(PyExc_TypeError
,"null reference");
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23014 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23017 wxTimeSpan
*arg2
= 0 ;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self",(char *) "t", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23031 if (arg2
== NULL
) {
23032 PyErr_SetString(PyExc_TypeError
,"null reference");
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23051 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_From_int((int)result
);
23077 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_From_int((int)result
);
23103 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_From_int((int)result
);
23129 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_From_int((int)result
);
23155 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23176 hi
= PyLong_FromLong( (&result
)->GetHi() );
23177 lo
= PyLong_FromLong( (&result
)->GetLo() );
23178 shifter
= PyLong_FromLong(32);
23179 shifted
= PyNumber_Lshift(hi
, shifter
);
23180 resultobj
= PyNumber_Or(shifted
, lo
);
23183 Py_DECREF(shifter
);
23184 Py_DECREF(shifted
);
23192 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23213 hi
= PyLong_FromLong( (&result
)->GetHi() );
23214 lo
= PyLong_FromLong( (&result
)->GetLo() );
23215 shifter
= PyLong_FromLong(32);
23216 shifted
= PyNumber_Lshift(hi
, shifter
);
23217 resultobj
= PyNumber_Or(shifted
, lo
);
23220 Py_DECREF(shifter
);
23221 Py_DECREF(shifted
);
23229 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23232 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23233 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23235 bool temp2
= false ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "format", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 arg2
= wxString_in_helper(obj1
);
23248 if (arg2
== NULL
) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23280 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23283 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23285 return Py_BuildValue((char *)"");
23287 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23289 int arg1
= (int) 0 ;
23290 int arg2
= (int) 0 ;
23291 int arg3
= (int) 0 ;
23292 int arg4
= (int) 0 ;
23293 wxDateSpan
*result
;
23294 PyObject
* obj0
= 0 ;
23295 PyObject
* obj1
= 0 ;
23296 PyObject
* obj2
= 0 ;
23297 PyObject
* obj3
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23304 arg1
= (int)SWIG_As_int(obj0
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23308 arg2
= (int)SWIG_As_int(obj1
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23312 arg3
= (int)SWIG_As_int(obj2
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 arg4
= (int)SWIG_As_int(obj3
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23333 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "days", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23368 arg1
= (int)SWIG_As_int(obj0
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= wxDateSpan::Days(arg1
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 wxDateSpan
* resultptr
;
23379 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23388 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23391 char *kwnames
[] = {
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= wxDateSpan::Day();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 wxDateSpan
* resultptr
;
23405 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23414 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "weeks", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23424 arg1
= (int)SWIG_As_int(obj0
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= wxDateSpan::Weeks(arg1
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 wxDateSpan
* resultptr
;
23435 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23444 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23447 char *kwnames
[] = {
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= wxDateSpan::Week();
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 wxDateSpan
* resultptr
;
23461 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23470 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23474 PyObject
* obj0
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "mon", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23480 arg1
= (int)SWIG_As_int(obj0
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= wxDateSpan::Months(arg1
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 wxDateSpan
* resultptr
;
23491 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23500 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23503 char *kwnames
[] = {
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= wxDateSpan::Month();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 wxDateSpan
* resultptr
;
23517 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23526 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23530 PyObject
* obj0
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "years", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23536 arg1
= (int)SWIG_As_int(obj0
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= wxDateSpan::Years(arg1
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23546 wxDateSpan
* resultptr
;
23547 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23556 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23559 char *kwnames
[] = {
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= wxDateSpan::Year();
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23572 wxDateSpan
* resultptr
;
23573 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23582 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23586 wxDateSpan
*result
;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self",(char *) "n", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23596 arg2
= (int)SWIG_As_int(obj1
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23602 result
= (wxDateSpan
*) &_result_ref
;
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23615 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23619 wxDateSpan
*result
;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "n", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 arg2
= (int)SWIG_As_int(obj1
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23635 result
= (wxDateSpan
*) &_result_ref
;
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23648 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23652 wxDateSpan
*result
;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 char *kwnames
[] = {
23656 (char *) "self",(char *) "n", NULL
23659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 arg2
= (int)SWIG_As_int(obj1
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23668 result
= (wxDateSpan
*) &_result_ref
;
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23681 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23685 wxDateSpan
*result
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "n", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23695 arg2
= (int)SWIG_As_int(obj1
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23701 result
= (wxDateSpan
*) &_result_ref
;
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23714 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_From_int((int)result
);
23740 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23742 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= SWIG_From_int((int)result
);
23766 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23770 PyObject
* obj0
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_From_int((int)result
);
23792 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_From_int((int)result
);
23818 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= SWIG_From_int((int)result
);
23844 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23847 wxDateSpan
*arg2
= 0 ;
23848 wxDateSpan
*result
;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "other", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23861 if (arg2
== NULL
) {
23862 PyErr_SetString(PyExc_TypeError
,"null reference");
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23869 result
= (wxDateSpan
*) &_result_ref
;
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23882 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23885 wxDateSpan
*arg2
= 0 ;
23886 wxDateSpan
*result
;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self",(char *) "other", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23899 if (arg2
== NULL
) {
23900 PyErr_SetString(PyExc_TypeError
,"null reference");
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23907 result
= (wxDateSpan
*) &_result_ref
;
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23920 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23923 wxDateSpan
*result
;
23924 PyObject
* obj0
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23936 result
= (wxDateSpan
*) &_result_ref
;
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23949 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23953 wxDateSpan
*result
;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self",(char *) "factor", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23963 arg2
= (int)SWIG_As_int(obj1
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 wxDateSpan
&_result_ref
= (arg1
)->Multiply(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___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23985 wxDateSpan
*arg2
= 0 ;
23986 wxDateSpan
*result
;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self",(char *) "other", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23995 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23999 if (arg2
== NULL
) {
24000 PyErr_SetString(PyExc_TypeError
,"null reference");
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24007 result
= (wxDateSpan
*) &_result_ref
;
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24020 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24023 wxDateSpan
*arg2
= 0 ;
24024 wxDateSpan
*result
;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "other", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24033 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24037 if (arg2
== NULL
) {
24038 PyErr_SetString(PyExc_TypeError
,"null reference");
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24045 result
= (wxDateSpan
*) &_result_ref
;
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24058 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24061 wxDateSpan
*result
;
24062 PyObject
* obj0
= 0 ;
24063 char *kwnames
[] = {
24064 (char *) "self", NULL
24067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24074 result
= (wxDateSpan
*) &_result_ref
;
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24087 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24091 wxDateSpan
*result
;
24092 PyObject
* obj0
= 0 ;
24093 PyObject
* obj1
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self",(char *) "factor", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24100 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24101 arg2
= (int)SWIG_As_int(obj1
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 wxDateSpan
&_result_ref
= (arg1
)->operator *=(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___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24123 wxDateSpan
*arg2
= 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "other", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24137 if (arg2
== NULL
) {
24138 PyErr_SetString(PyExc_TypeError
,"null reference");
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 wxDateSpan
* resultptr
;
24150 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24159 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24162 wxDateSpan
*arg2
= 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self",(char *) "other", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24176 if (arg2
== NULL
) {
24177 PyErr_SetString(PyExc_TypeError
,"null reference");
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 wxDateSpan
* resultptr
;
24189 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24198 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "n", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 arg2
= (int)SWIG_As_int(obj1
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= wxDateSpan___mul__(arg1
,arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24222 wxDateSpan
* resultptr
;
24223 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24232 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "n", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 arg2
= (int)SWIG_As_int(obj1
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= wxDateSpan___rmul__(arg1
,arg2
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 wxDateSpan
* resultptr
;
24257 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24266 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24269 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "other", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24298 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24301 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self",(char *) "other", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24330 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24333 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24335 return Py_BuildValue((char *)"");
24337 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24340 char *kwnames
[] = {
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (long)wxGetLocalTime();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_From_long((long)result
);
24359 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24362 char *kwnames
[] = {
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (long)wxGetUTCTime();
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_From_long((long)result
);
24381 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24384 char *kwnames
[] = {
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (long)wxGetCurrentTime();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_From_long((long)result
);
24403 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24406 char *kwnames
[] = {
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= wxGetLocalTimeMillis();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24420 hi
= PyLong_FromLong( (&result
)->GetHi() );
24421 lo
= PyLong_FromLong( (&result
)->GetLo() );
24422 shifter
= PyLong_FromLong(32);
24423 shifted
= PyNumber_Lshift(hi
, shifter
);
24424 resultobj
= PyNumber_Or(shifted
, lo
);
24427 Py_DECREF(shifter
);
24428 Py_DECREF(shifted
);
24436 static int _wrap_DefaultDateTime_set(PyObject
*) {
24437 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24442 static PyObject
*_wrap_DefaultDateTime_get() {
24445 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24450 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24453 wxDataFormat
*result
;
24454 PyObject
* obj0
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "type", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24460 arg1
= (int)SWIG_As_int(obj0
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24476 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxString
*arg1
= 0 ;
24479 wxDataFormat
*result
;
24480 bool temp1
= false ;
24481 PyObject
* obj0
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "format", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24488 arg1
= wxString_in_helper(obj0
);
24489 if (arg1
== NULL
) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24514 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24540 PyObject
*resultobj
;
24541 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24547 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24550 arg2
= (int)SWIG_As_int(obj1
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24569 PyObject
*resultobj
;
24570 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24576 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 arg2
= (int)SWIG_As_int(obj1
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24597 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24598 PyObject
*resultobj
;
24599 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24600 wxDataFormat
*arg2
= 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24605 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24611 if (arg2
== NULL
) {
24612 PyErr_SetString(PyExc_TypeError
,"null reference");
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24631 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24636 argc
= PyObject_Length(args
);
24637 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24638 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24644 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24654 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24662 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24670 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24678 _v
= SWIG_Check_int(argv
[1]);
24680 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24685 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24690 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24691 PyObject
*resultobj
;
24692 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24693 wxDataFormat
*arg2
= 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24698 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24704 if (arg2
== NULL
) {
24705 PyErr_SetString(PyExc_TypeError
,"null reference");
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24724 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24729 argc
= PyObject_Length(args
);
24730 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24731 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24737 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24747 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24755 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24763 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24771 _v
= SWIG_Check_int(argv
[1]);
24773 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24778 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24783 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self",(char *) "format", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 arg2
= (int)SWIG_As_int(obj1
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->SetType((wxDataFormatId
)arg2
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "self", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_From_int((int)result
);
24838 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= ((wxDataFormat
const *)arg1
)->GetId();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24870 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24873 wxString
*arg2
= 0 ;
24874 bool temp2
= false ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "format", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24885 arg2
= wxString_in_helper(obj1
);
24886 if (arg2
== NULL
) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 (arg1
)->SetId((wxString
const &)*arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24914 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24916 return Py_BuildValue((char *)"");
24918 static int _wrap_FormatInvalid_set(PyObject
*) {
24919 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24924 static PyObject
*_wrap_FormatInvalid_get() {
24927 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24932 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 Py_INCREF(Py_None
); resultobj
= Py_None
;
24957 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24960 int arg2
= (int) wxDataObject::Get
;
24961 SwigValueWrapper
< wxDataFormat
> result
;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self",(char *) "dir", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 arg2
= (int)SWIG_As_int(obj1
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24983 wxDataFormat
* resultptr
;
24984 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24993 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24996 int arg2
= (int) wxDataObject::Get
;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "dir", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 arg2
= (int)SWIG_As_int(obj1
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25025 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25028 wxDataFormat
*arg2
= 0 ;
25029 int arg3
= (int) wxDataObject::Get
;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 PyObject
* obj2
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "format",(char *) "dir", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25044 if (arg2
== NULL
) {
25045 PyErr_SetString(PyExc_TypeError
,"null reference");
25049 arg3
= (int)SWIG_As_int(obj2
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25068 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25071 wxDataFormat
*arg2
= 0 ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self",(char *) "format", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25085 if (arg2
== NULL
) {
25086 PyErr_SetString(PyExc_TypeError
,"null reference");
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25103 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25106 int arg2
= (int) wxDataObject::Get
;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "dir", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 arg2
= (int)SWIG_As_int(obj1
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= result
;
25135 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25138 wxDataFormat
*arg2
= 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self",(char *) "format", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25152 if (arg2
== NULL
) {
25153 PyErr_SetString(PyExc_TypeError
,"null reference");
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= result
;
25170 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25173 wxDataFormat
*arg2
= 0 ;
25174 PyObject
*arg3
= (PyObject
*) 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 PyObject
* obj2
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "format",(char *) "data", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25189 if (arg2
== NULL
) {
25190 PyErr_SetString(PyExc_TypeError
,"null reference");
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25210 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25213 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25215 return Py_BuildValue((char *)"");
25217 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25220 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25221 wxDataObjectSimple
*result
;
25222 PyObject
* obj0
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "format", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25232 if (arg1
== NULL
) {
25233 PyErr_SetString(PyExc_TypeError
,"null reference");
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25251 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25254 wxDataFormat
*result
;
25255 PyObject
* obj0
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25267 result
= (wxDataFormat
*) &_result_ref
;
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25280 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25283 wxDataFormat
*arg2
= 0 ;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self",(char *) "format", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25296 if (arg2
== NULL
) {
25297 PyErr_SetString(PyExc_TypeError
,"null reference");
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25340 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25344 PyObject
* obj0
= 0 ;
25345 char *kwnames
[] = {
25346 (char *) "self", NULL
25349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= result
;
25366 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25369 PyObject
*arg2
= (PyObject
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "data", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25397 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25400 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25402 return Py_BuildValue((char *)"");
25404 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25407 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25408 wxPyDataObjectSimple
*result
;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "format", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25419 if (arg1
== NULL
) {
25420 PyErr_SetString(PyExc_TypeError
,"null reference");
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25438 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25441 PyObject
*arg2
= (PyObject
*) 0 ;
25442 PyObject
*arg3
= (PyObject
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 PyObject
* obj2
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "self",(char *) "_class", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25472 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25474 return Py_BuildValue((char *)"");
25476 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxDataObjectComposite
*result
;
25479 char *kwnames
[] = {
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25498 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25501 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25502 bool arg3
= (bool) false ;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 PyObject
* obj2
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25514 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25516 arg3
= (bool)SWIG_As_bool(obj2
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 (arg1
)->Add(arg2
,arg3
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 Py_INCREF(Py_None
); resultobj
= Py_None
;
25533 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25536 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25538 return Py_BuildValue((char *)"");
25540 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25543 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25544 wxTextDataObject
*result
;
25545 bool temp1
= false ;
25546 PyObject
* obj0
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "text", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25554 arg1
= wxString_in_helper(obj0
);
25555 if (arg1
== NULL
) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25581 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (size_t)(arg1
)->GetTextLength();
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25607 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25609 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25611 PyObject
* obj0
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (arg1
)->GetText();
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25639 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25642 wxString
*arg2
= 0 ;
25643 bool temp2
= false ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "text", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 arg2
= wxString_in_helper(obj1
);
25655 if (arg2
== NULL
) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->SetText((wxString
const &)*arg2
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 Py_INCREF(Py_None
); resultobj
= Py_None
;
25680 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25683 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25685 return Py_BuildValue((char *)"");
25687 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25690 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25691 wxPyTextDataObject
*result
;
25692 bool temp1
= false ;
25693 PyObject
* obj0
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "text", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25701 arg1
= wxString_in_helper(obj0
);
25702 if (arg1
== NULL
) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25728 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25731 PyObject
*arg2
= (PyObject
*) 0 ;
25732 PyObject
*arg3
= (PyObject
*) 0 ;
25733 PyObject
* obj0
= 0 ;
25734 PyObject
* obj1
= 0 ;
25735 PyObject
* obj2
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self",(char *) "self",(char *) "_class", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25762 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25764 return Py_BuildValue((char *)"");
25766 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25768 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25769 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25770 wxBitmapDataObject
*result
;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "bitmap", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25781 if (arg1
== NULL
) {
25782 PyErr_SetString(PyExc_TypeError
,"null reference");
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25800 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 wxBitmap
* resultptr
;
25821 resultptr
= new wxBitmap((wxBitmap
&) result
);
25822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25830 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25833 wxBitmap
*arg2
= 0 ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "bitmap", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25846 if (arg2
== NULL
) {
25847 PyErr_SetString(PyExc_TypeError
,"null reference");
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 Py_INCREF(Py_None
); resultobj
= Py_None
;
25864 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25867 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25869 return Py_BuildValue((char *)"");
25871 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25874 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25875 wxPyBitmapDataObject
*result
;
25876 PyObject
* obj0
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "bitmap", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25886 if (arg1
== NULL
) {
25887 PyErr_SetString(PyExc_TypeError
,"null reference");
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25905 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25908 PyObject
*arg2
= (PyObject
*) 0 ;
25909 PyObject
*arg3
= (PyObject
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 PyObject
* obj2
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self",(char *) "self",(char *) "_class", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25939 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25941 return Py_BuildValue((char *)"");
25943 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxFileDataObject
*result
;
25946 char *kwnames
[] = {
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (wxFileDataObject
*)new wxFileDataObject();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25965 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25968 wxArrayString
*result
;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25981 result
= (wxArrayString
*) &_result_ref
;
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= wxArrayString2PyList_helper(*result
);
25996 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25999 wxString
*arg2
= 0 ;
26000 bool temp2
= false ;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self",(char *) "filename", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26011 arg2
= wxString_in_helper(obj1
);
26012 if (arg2
== NULL
) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->AddFile((wxString
const &)*arg2
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 Py_INCREF(Py_None
); resultobj
= Py_None
;
26037 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26040 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26042 return Py_BuildValue((char *)"");
26044 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26047 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26048 wxCustomDataObject
*result
;
26049 PyObject
* obj0
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "format", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26059 if (arg1
== NULL
) {
26060 PyErr_SetString(PyExc_TypeError
,"null reference");
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26078 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26081 PyObject
*arg2
= (PyObject
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self",(char *) "data", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26109 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26113 PyObject
* obj0
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (size_t)(arg1
)->GetSize();
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26135 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= result
;
26161 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26164 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26166 return Py_BuildValue((char *)"");
26168 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxURLDataObject
*result
;
26171 char *kwnames
[] = {
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (wxURLDataObject
*)new wxURLDataObject();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26190 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 result
= (arg1
)->GetURL();
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26222 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26225 wxString
*arg2
= 0 ;
26226 bool temp2
= false ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "url", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 arg2
= wxString_in_helper(obj1
);
26238 if (arg2
== NULL
) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 (arg1
)->SetURL((wxString
const &)*arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 Py_INCREF(Py_None
); resultobj
= Py_None
;
26263 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26266 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26268 return Py_BuildValue((char *)"");
26270 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxMetafileDataObject
*result
;
26273 char *kwnames
[] = {
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26292 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26295 wxMetafile
*arg2
= 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "metafile", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26308 if (arg2
== NULL
) {
26309 PyErr_SetString(PyExc_TypeError
,"null reference");
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 char *kwnames
[] = {
26332 (char *) "self", NULL
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 wxMetafile
* resultptr
;
26347 resultptr
= new wxMetafile((wxMetafile
&) result
);
26348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26356 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26359 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26361 return Py_BuildValue((char *)"");
26363 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "res", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26373 arg1
= (int)SWIG_As_int(obj0
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26391 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxWindow
*arg1
= (wxWindow
*) 0 ;
26394 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26395 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26396 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26397 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26398 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26399 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26400 wxPyDropSource
*result
;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 PyObject
* obj2
= 0 ;
26404 PyObject
* obj3
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26416 if (arg2
== NULL
) {
26417 PyErr_SetString(PyExc_TypeError
,"null reference");
26422 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26425 if (arg3
== NULL
) {
26426 PyErr_SetString(PyExc_TypeError
,"null reference");
26431 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26434 if (arg4
== NULL
) {
26435 PyErr_SetString(PyExc_TypeError
,"null reference");
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26453 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26456 PyObject
*arg2
= (PyObject
*) 0 ;
26457 PyObject
*arg3
= (PyObject
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 PyObject
* obj2
= 0 ;
26462 PyObject
* obj3
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26472 arg4
= (int)SWIG_As_int(obj3
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 Py_INCREF(Py_None
); resultobj
= Py_None
;
26488 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
;
26490 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 char *kwnames
[] = {
26493 (char *) "self", NULL
26496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 Py_INCREF(Py_None
); resultobj
= Py_None
;
26513 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
;
26515 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26516 wxDataObject
*arg2
= 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self",(char *) "data", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26529 if (arg2
== NULL
) {
26530 PyErr_SetString(PyExc_TypeError
,"null reference");
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->SetData(*arg2
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 Py_INCREF(Py_None
); resultobj
= Py_None
;
26547 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26550 wxDataObject
*result
;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26573 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26577 wxCursor
*arg3
= 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 PyObject
* obj2
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "self",(char *) "res",(char *) "cursor", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26588 arg2
= (int)SWIG_As_int(obj1
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26593 if (arg3
== NULL
) {
26594 PyErr_SetString(PyExc_TypeError
,"null reference");
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 Py_INCREF(Py_None
); resultobj
= Py_None
;
26611 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26614 int arg2
= (int) wxDrag_CopyOnly
;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self",(char *) "flags", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26626 arg2
= (int)SWIG_As_int(obj1
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (int)(arg1
)->DoDragDrop(arg2
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_From_int((int)result
);
26643 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "effect", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 arg2
= (int)SWIG_As_int(obj1
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26675 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26678 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26680 return Py_BuildValue((char *)"");
26682 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26685 wxPyDropTarget
*result
;
26686 PyObject
* obj0
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "dataObject", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26694 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26710 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26713 PyObject
*arg2
= (PyObject
*) 0 ;
26714 PyObject
*arg3
= (PyObject
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 PyObject
* obj2
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "self",(char *) "self",(char *) "_class", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 Py_INCREF(Py_None
); resultobj
= Py_None
;
26741 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 Py_INCREF(Py_None
); resultobj
= Py_None
;
26766 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26769 wxDataObject
*result
;
26770 PyObject
* obj0
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26792 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26795 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self",(char *) "dataObject", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26806 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 (arg1
)->SetDataObject(arg2
);
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 Py_INCREF(Py_None
); resultobj
= Py_None
;
26821 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 PyObject
* obj2
= 0 ;
26831 PyObject
* obj3
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 arg2
= (int)SWIG_As_int(obj1
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26841 arg3
= (int)SWIG_As_int(obj2
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26843 arg4
= (int)SWIG_As_int(obj3
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_From_int((int)result
);
26859 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 PyObject
* obj2
= 0 ;
26869 PyObject
* obj3
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 arg2
= (int)SWIG_As_int(obj1
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26879 arg3
= (int)SWIG_As_int(obj2
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26881 arg4
= (int)SWIG_As_int(obj3
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_From_int((int)result
);
26897 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26900 PyObject
* obj0
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 (arg1
)->base_OnLeave();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 Py_INCREF(Py_None
); resultobj
= Py_None
;
26922 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 PyObject
* obj2
= 0 ;
26931 char *kwnames
[] = {
26932 (char *) "self",(char *) "x",(char *) "y", NULL
26935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26938 arg2
= (int)SWIG_As_int(obj1
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26940 arg3
= (int)SWIG_As_int(obj2
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26958 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26962 PyObject
* obj0
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (bool)(arg1
)->GetData();
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26986 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26989 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26991 return Py_BuildValue((char *)"");
26993 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
;
26995 wxPyTextDropTarget
*result
;
26996 char *kwnames
[] = {
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
27015 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27018 PyObject
*arg2
= (PyObject
*) 0 ;
27019 PyObject
*arg3
= (PyObject
*) 0 ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "self",(char *) "_class", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 Py_INCREF(Py_None
); resultobj
= Py_None
;
27046 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
;
27048 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 PyObject
* obj2
= 0 ;
27056 PyObject
* obj3
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27064 arg2
= (int)SWIG_As_int(obj1
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27066 arg3
= (int)SWIG_As_int(obj2
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27068 arg4
= (int)SWIG_As_int(obj3
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_From_int((int)result
);
27084 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 PyObject
* obj2
= 0 ;
27094 PyObject
* obj3
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 arg2
= (int)SWIG_As_int(obj1
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27104 arg3
= (int)SWIG_As_int(obj2
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27106 arg4
= (int)SWIG_As_int(obj3
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_From_int((int)result
);
27122 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 (arg1
)->base_OnLeave();
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 Py_INCREF(Py_None
); resultobj
= Py_None
;
27147 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 PyObject
* obj2
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self",(char *) "x",(char *) "y", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27163 arg2
= (int)SWIG_As_int(obj1
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27165 arg3
= (int)SWIG_As_int(obj2
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27183 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 PyObject
* obj2
= 0 ;
27193 PyObject
* obj3
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27201 arg2
= (int)SWIG_As_int(obj1
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27203 arg3
= (int)SWIG_As_int(obj2
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27205 arg4
= (int)SWIG_As_int(obj3
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_From_int((int)result
);
27221 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27224 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27226 return Py_BuildValue((char *)"");
27228 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxPyFileDropTarget
*result
;
27231 char *kwnames
[] = {
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27250 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
;
27252 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27253 PyObject
*arg2
= (PyObject
*) 0 ;
27254 PyObject
*arg3
= (PyObject
*) 0 ;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 PyObject
* obj2
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self",(char *) "self",(char *) "_class", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 Py_INCREF(Py_None
); resultobj
= Py_None
;
27281 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 PyObject
* obj1
= 0 ;
27290 PyObject
* obj2
= 0 ;
27291 PyObject
* obj3
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 arg2
= (int)SWIG_As_int(obj1
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27301 arg3
= (int)SWIG_As_int(obj2
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27303 arg4
= (int)SWIG_As_int(obj3
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_From_int((int)result
);
27319 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 PyObject
* obj2
= 0 ;
27329 PyObject
* obj3
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27337 arg2
= (int)SWIG_As_int(obj1
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27339 arg3
= (int)SWIG_As_int(obj2
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27341 arg4
= (int)SWIG_As_int(obj3
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= SWIG_From_int((int)result
);
27357 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27360 PyObject
* obj0
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 (arg1
)->base_OnLeave();
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27375 Py_INCREF(Py_None
); resultobj
= Py_None
;
27382 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 PyObject
* obj2
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "x",(char *) "y", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27398 arg2
= (int)SWIG_As_int(obj1
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27400 arg3
= (int)SWIG_As_int(obj2
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27418 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27425 PyObject
* obj0
= 0 ;
27426 PyObject
* obj1
= 0 ;
27427 PyObject
* obj2
= 0 ;
27428 PyObject
* obj3
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 arg2
= (int)SWIG_As_int(obj1
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27438 arg3
= (int)SWIG_As_int(obj2
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27440 arg4
= (int)SWIG_As_int(obj3
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_From_int((int)result
);
27456 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27459 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27461 return Py_BuildValue((char *)"");
27463 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxClipboard
*result
;
27466 char *kwnames
[] = {
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (wxClipboard
*)new wxClipboard();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27485 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27488 PyObject
* obj0
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27503 Py_INCREF(Py_None
); resultobj
= Py_None
;
27510 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
;
27512 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 result
= (bool)(arg1
)->Open();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27538 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 Py_INCREF(Py_None
); resultobj
= Py_None
;
27563 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27591 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27594 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self",(char *) "data", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27606 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 result
= (bool)(arg1
)->AddData(arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27623 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27626 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 char *kwnames
[] = {
27631 (char *) "self",(char *) "data", NULL
27634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27638 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27641 result
= (bool)(arg1
)->SetData(arg2
);
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27655 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27658 wxDataFormat
*arg2
= 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "format", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27672 if (arg2
== NULL
) {
27673 PyErr_SetString(PyExc_TypeError
,"null reference");
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27692 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27695 wxDataObject
*arg2
= 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self",(char *) "data", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27709 if (arg2
== NULL
) {
27710 PyErr_SetString(PyExc_TypeError
,"null reference");
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (bool)(arg1
)->GetData(*arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27729 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27732 PyObject
* obj0
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "self", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 Py_INCREF(Py_None
); resultobj
= Py_None
;
27754 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27758 PyObject
* obj0
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 result
= (bool)(arg1
)->Flush();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27782 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27785 bool arg2
= (bool) true ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "primary", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 arg2
= (bool)SWIG_As_bool(obj1
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->UsePrimarySelection(arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxClipboard
*result
;
27816 char *kwnames
[] = {
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (wxClipboard
*)wxClipboard::Get();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27835 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27838 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27840 return Py_BuildValue((char *)"");
27842 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27845 wxClipboardLocker
*result
;
27846 PyObject
* obj0
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "clipboard", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27870 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27873 PyObject
* obj0
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 Py_INCREF(Py_None
); resultobj
= Py_None
;
27895 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27899 PyObject
* obj0
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27923 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27926 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27928 return Py_BuildValue((char *)"");
27930 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
;
27932 int arg1
= (int) 0 ;
27933 int arg2
= (int) 0 ;
27934 int arg3
= (int) 0 ;
27935 int arg4
= (int) 0 ;
27936 wxVideoMode
*result
;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 PyObject
* obj2
= 0 ;
27940 PyObject
* obj3
= 0 ;
27941 char *kwnames
[] = {
27942 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27947 arg1
= (int)SWIG_As_int(obj0
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27951 arg2
= (int)SWIG_As_int(obj1
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27955 arg3
= (int)SWIG_As_int(obj2
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27959 arg4
= (int)SWIG_As_int(obj3
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27976 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27979 PyObject
* obj0
= 0 ;
27980 char *kwnames
[] = {
27981 (char *) "self", NULL
27984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 Py_INCREF(Py_None
); resultobj
= Py_None
;
28001 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28004 wxVideoMode
*arg2
= 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "self",(char *) "other", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
28013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28018 if (arg2
== NULL
) {
28019 PyErr_SetString(PyExc_TypeError
,"null reference");
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28038 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
28048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_From_int((int)result
);
28064 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
;
28066 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28068 PyObject
* obj0
= 0 ;
28069 char *kwnames
[] = {
28070 (char *) "self", NULL
28073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_From_int((int)result
);
28090 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
;
28092 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28094 PyObject
* obj0
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "self", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= SWIG_From_int((int)result
);
28116 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
;
28118 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
28126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28144 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28147 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28149 PyObject
* obj0
= 0 ;
28150 PyObject
* obj1
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self",(char *) "other", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28176 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
;
28178 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28179 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self",(char *) "other", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28208 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 PyObject
* obj1
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "self",(char *) "w", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28221 arg2
= (int)SWIG_As_int(obj1
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28223 if (arg1
) (arg1
)->w
= arg2
;
28225 Py_INCREF(Py_None
); resultobj
= Py_None
;
28232 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28244 result
= (int) ((arg1
)->w
);
28246 resultobj
= SWIG_From_int((int)result
);
28253 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28257 PyObject
* obj0
= 0 ;
28258 PyObject
* obj1
= 0 ;
28259 char *kwnames
[] = {
28260 (char *) "self",(char *) "h", NULL
28263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 arg2
= (int)SWIG_As_int(obj1
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28268 if (arg1
) (arg1
)->h
= arg2
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28281 PyObject
* obj0
= 0 ;
28282 char *kwnames
[] = {
28283 (char *) "self", NULL
28286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28289 result
= (int) ((arg1
)->h
);
28291 resultobj
= SWIG_From_int((int)result
);
28298 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 PyObject
* obj1
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self",(char *) "bpp", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 arg2
= (int)SWIG_As_int(obj1
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28313 if (arg1
) (arg1
)->bpp
= arg2
;
28315 Py_INCREF(Py_None
); resultobj
= Py_None
;
28322 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28326 PyObject
* obj0
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 result
= (int) ((arg1
)->bpp
);
28336 resultobj
= SWIG_From_int((int)result
);
28343 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28345 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28347 PyObject
* obj0
= 0 ;
28348 PyObject
* obj1
= 0 ;
28349 char *kwnames
[] = {
28350 (char *) "self",(char *) "refresh", NULL
28353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28356 arg2
= (int)SWIG_As_int(obj1
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28358 if (arg1
) (arg1
)->refresh
= arg2
;
28360 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 result
= (int) ((arg1
)->refresh
);
28381 resultobj
= SWIG_From_int((int)result
);
28388 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28391 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28393 return Py_BuildValue((char *)"");
28395 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28396 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28401 static PyObject
*_wrap_DefaultVideoMode_get() {
28404 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28409 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 size_t arg1
= (size_t) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 char *kwnames
[] = {
28415 (char *) "index", NULL
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28420 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (wxDisplay
*)new wxDisplay(arg1
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28437 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28440 PyObject
* obj0
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "self", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 Py_INCREF(Py_None
); resultobj
= Py_None
;
28462 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28465 char *kwnames
[] = {
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (size_t)wxDisplay::GetCount();
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28484 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxPoint
*arg1
= 0 ;
28489 PyObject
* obj0
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "pt", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28497 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= SWIG_From_int((int)result
);
28513 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
;
28515 wxWindow
*arg1
= (wxWindow
*) 0 ;
28517 PyObject
* obj0
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "window", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (int)Display_GetFromWindow(arg1
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_From_int((int)result
);
28539 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28543 PyObject
* obj0
= 0 ;
28544 char *kwnames
[] = {
28545 (char *) "self", NULL
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28567 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28571 PyObject
* obj0
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28587 wxRect
* resultptr
;
28588 resultptr
= new wxRect((wxRect
&) result
);
28589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28597 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= ((wxDisplay
const *)arg1
)->GetName();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28629 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
;
28631 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28633 PyObject
* obj0
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "self", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28657 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
;
28659 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28660 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28661 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self",(char *) "mode", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28676 if (arg2
== NULL
) {
28677 PyErr_SetString(PyExc_TypeError
,"null reference");
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= result
;
28695 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28698 wxVideoMode result
;
28699 PyObject
* obj0
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28715 wxVideoMode
* resultptr
;
28716 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28725 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28728 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28729 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28731 PyObject
* obj0
= 0 ;
28732 PyObject
* obj1
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self",(char *) "mode", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28744 if (arg2
== NULL
) {
28745 PyErr_SetString(PyExc_TypeError
,"null reference");
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28765 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28768 PyObject
* obj0
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "self", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 (arg1
)->ResetMode();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 Py_INCREF(Py_None
); resultobj
= Py_None
;
28790 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28793 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28795 return Py_BuildValue((char *)"");
28797 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxStandardPaths
*result
;
28800 char *kwnames
[] = {
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= (wxStandardPaths
*)StandardPaths_Get();
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28819 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
;
28821 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28823 PyObject
* obj0
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28851 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28855 PyObject
* obj0
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28883 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28887 PyObject
* obj0
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28915 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 char *kwnames
[] = {
28921 (char *) "self", NULL
28924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28931 wxPyEndAllowThreads(__tstate
);
28932 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28947 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
;
28949 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28979 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28983 PyObject
* obj0
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29011 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
;
29013 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 char *kwnames
[] = {
29017 (char *) "self", NULL
29020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
29021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29043 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29046 wxString
*arg2
= 0 ;
29047 bool temp2
= false ;
29048 PyObject
* obj0
= 0 ;
29049 PyObject
* obj1
= 0 ;
29050 char *kwnames
[] = {
29051 (char *) "self",(char *) "prefix", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
29055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29058 arg2
= wxString_in_helper(obj1
);
29059 if (arg2
== NULL
) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 Py_INCREF(Py_None
); resultobj
= Py_None
;
29084 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
;
29086 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 result
= wxStandardPaths_GetInstallPrefix(arg1
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29116 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29119 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29121 return Py_BuildValue((char *)"");
29123 static PyMethodDef SwigMethods
[] = {
29124 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29131 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29138 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29202 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29210 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29226 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29231 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29234 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29237 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29243 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29257 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29263 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29269 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29272 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29286 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29289 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29290 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29293 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29320 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29322 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29324 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29326 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29333 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29339 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29353 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29357 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29360 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29377 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29385 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29431 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29459 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29469 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29485 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29501 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29515 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29524 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29567 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29570 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29573 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29577 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29670 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29671 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29672 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29673 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29674 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29675 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29676 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29677 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29678 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29679 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29690 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29726 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29735 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29769 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29776 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29777 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29778 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29783 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29792 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29799 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29802 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29805 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29810 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29813 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29817 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29820 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29824 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29829 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29833 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29837 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29847 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29858 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29866 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29874 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29888 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29892 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29910 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29924 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29935 { NULL
, NULL
, 0, NULL
}
29939 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29941 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29942 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29944 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29945 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29947 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29948 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29950 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29951 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29953 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29954 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29956 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29957 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29959 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29960 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29962 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29963 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29965 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29968 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29969 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29971 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29974 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29975 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29977 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29978 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29980 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29983 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29984 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29986 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29987 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29989 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29990 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29992 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29993 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29995 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29996 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29998 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29999 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30001 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30002 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30004 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30005 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30007 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30008 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30010 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30011 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30013 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30014 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30016 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30017 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30019 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30020 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30022 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30023 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30025 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30026 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30028 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30029 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30031 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
30032 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
30034 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30035 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30037 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30038 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30040 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30043 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30044 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30046 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30047 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30049 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30050 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30052 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30053 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30055 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
30056 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
30058 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30059 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30061 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30062 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30064 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30065 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30067 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30068 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30070 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30071 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30073 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30074 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30076 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30077 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30079 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30080 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30082 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30083 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30085 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30086 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30088 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30089 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30091 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30092 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30094 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30095 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30097 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30098 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30100 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30101 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30103 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30104 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30106 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30107 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30109 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30110 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30112 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30113 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30115 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30116 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30118 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30119 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30121 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30122 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30124 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30125 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30127 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30130 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30131 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30133 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30136 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30137 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30139 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30140 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30142 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30143 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30145 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30146 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30148 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30149 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30151 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30152 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30154 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30155 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30157 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30158 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30160 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30161 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30163 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30164 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30166 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30167 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30169 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30170 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30172 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30173 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30175 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30176 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30178 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30179 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30181 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30182 return (void *)((wxObject
*) ((wxSizer
*) x
));
30184 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30185 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30187 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30188 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30190 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30191 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30193 static void *_p_wxEventTo_p_wxObject(void *x
) {
30194 return (void *)((wxObject
*) ((wxEvent
*) x
));
30196 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30197 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30199 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30200 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30202 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30203 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30205 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30206 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30208 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30209 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30211 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30212 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30214 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30215 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30217 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30218 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30220 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30221 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30223 static void *_p_wxControlTo_p_wxObject(void *x
) {
30224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30226 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30227 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30229 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30230 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30232 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30233 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30235 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30236 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30238 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30239 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30241 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30242 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30244 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30247 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30248 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30250 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30251 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30253 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30254 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30256 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30257 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30259 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30262 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30263 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30265 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30266 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30268 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30269 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30271 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30272 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30274 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30275 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30277 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30278 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30280 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30283 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30286 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30289 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30292 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30295 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30298 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30301 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30304 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30305 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30307 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30310 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30311 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30313 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30314 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30316 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30317 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30319 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30320 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30322 static void *_p_wxImageTo_p_wxObject(void *x
) {
30323 return (void *)((wxObject
*) ((wxImage
*) x
));
30325 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30326 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30328 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30329 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30331 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30332 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30334 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30337 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30338 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30340 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30341 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30343 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30346 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30349 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30352 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30353 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30355 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30356 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30358 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30361 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30362 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30364 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30365 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30367 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30368 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30370 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30371 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30373 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30374 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30376 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30377 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30379 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30382 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30383 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30385 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30386 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30388 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30389 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30391 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30394 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30395 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30397 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30400 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30403 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30404 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30406 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30407 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30409 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30410 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30412 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30413 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30415 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30416 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30418 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30419 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30421 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30422 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30424 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30425 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30427 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30428 return (void *)((wxWindow
*) ((wxControl
*) x
));
30430 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30431 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30433 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30434 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30436 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30437 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30439 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30440 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30442 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}};
30443 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}};
30444 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30445 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}};
30446 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}};
30447 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}};
30448 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}};
30449 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}};
30450 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}};
30451 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}};
30452 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}};
30453 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}};
30454 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}};
30455 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}};
30456 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}};
30457 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}};
30458 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}};
30459 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}};
30460 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}};
30461 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}};
30462 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}};
30463 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}};
30464 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}};
30465 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}};
30466 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}};
30467 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}};
30468 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}};
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_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30471 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}};
30472 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}};
30473 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}};
30474 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}};
30475 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}};
30476 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}};
30477 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}};
30478 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}};
30479 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}};
30480 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}};
30481 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}};
30482 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}};
30483 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}};
30484 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}};
30485 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}};
30486 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}};
30487 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}};
30488 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}};
30489 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}};
30490 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}};
30491 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}};
30492 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}};
30493 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}};
30494 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}};
30495 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}};
30496 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}};
30497 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}};
30498 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}};
30499 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}};
30500 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}};
30501 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}};
30502 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}};
30503 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}};
30504 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}};
30505 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}};
30506 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}};
30507 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}};
30508 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}};
30509 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}};
30510 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}};
30511 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}};
30512 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}};
30513 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}};
30514 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}};
30515 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}};
30516 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}};
30517 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}};
30518 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}};
30519 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}};
30520 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}};
30521 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}};
30522 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}};
30523 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}};
30524 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}};
30525 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}};
30526 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}};
30527 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}};
30528 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}};
30530 static swig_type_info
*swig_types_initial
[] = {
30531 _swigt__p_wxLogChain
,
30532 _swigt__p_wxMutexGuiLocker
,
30533 _swigt__p_wxMetafile
,
30534 _swigt__p_wxFileHistory
,
30536 _swigt__p_wxDateTime__TimeZone
,
30539 _swigt__p_wxConfigBase
,
30540 _swigt__p_wxDisplay
,
30541 _swigt__p_wxFileType
,
30542 _swigt__p_wxLogGui
,
30544 _swigt__p_wxDataFormat
,
30545 _swigt__p_wxTimerEvent
,
30549 _swigt__p_wxClipboard
,
30550 _swigt__p_wxStopWatch
,
30552 _swigt__p_wxClipboardLocker
,
30554 _swigt__p_wxLogStderr
,
30555 _swigt__p_wxLogTextCtrl
,
30556 _swigt__p_wxTextCtrl
,
30557 _swigt__p_wxBusyCursor
,
30558 _swigt__p_wxPyBitmapDataObject
,
30559 _swigt__p_wxPyTextDataObject
,
30560 _swigt__p_wxBitmapDataObject
,
30561 _swigt__p_wxTextDataObject
,
30562 _swigt__p_wxDataObject
,
30563 _swigt__p_wxFileDataObject
,
30564 _swigt__p_wxCustomDataObject
,
30565 _swigt__p_wxURLDataObject
,
30566 _swigt__p_wxMetafileDataObject
,
30568 _swigt__p_wxTimerRunner
,
30569 _swigt__p_wxLogWindow
,
30570 _swigt__p_wxTimeSpan
,
30571 _swigt__p_wxArrayString
,
30572 _swigt__p_wxWindowDisabler
,
30573 _swigt__p_wxToolTip
,
30574 _swigt__p_wxDataObjectComposite
,
30575 _swigt__p_wxFileConfig
,
30576 _swigt__p_wxSystemSettings
,
30577 _swigt__p_wxVideoMode
,
30578 _swigt__p_wxPyDataObjectSimple
,
30579 _swigt__p_wxDataObjectSimple
,
30580 _swigt__p_wxEvtHandler
,
30583 _swigt__p_wxSingleInstanceChecker
,
30584 _swigt__p_wxStandardPaths
,
30585 _swigt__p_wxFileTypeInfo
,
30588 _swigt__p_wxMimeTypesManager
,
30589 _swigt__p_wxPyArtProvider
,
30590 _swigt__p_wxPyTipProvider
,
30591 _swigt__p_wxTipProvider
,
30592 _swigt__p_wxJoystick
,
30593 _swigt__p_wxSystemOptions
,
30595 _swigt__p_wxJoystickEvent
,
30596 _swigt__p_wxCursor
,
30597 _swigt__p_wxObject
,
30598 _swigt__p_wxOutputStream
,
30599 _swigt__p_wxDateTime
,
30600 _swigt__p_wxPyDropSource
,
30601 _swigt__p_wxWindow
,
30602 _swigt__p_wxString
,
30603 _swigt__p_wxPyProcess
,
30604 _swigt__p_wxBitmap
,
30605 _swigt__p_wxConfig
,
30607 _swigt__p_wxBusyInfo
,
30608 _swigt__p_wxPyDropTarget
,
30609 _swigt__p_wxPyTextDropTarget
,
30610 _swigt__p_wxPyFileDropTarget
,
30611 _swigt__p_wxProcessEvent
,
30613 _swigt__p_wxLogNull
,
30614 _swigt__p_wxColour
,
30615 _swigt__p_wxConfigPathChanger
,
30616 _swigt__p_wxPyTimer
,
30617 _swigt__p_wxDateSpan
,
30622 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30624 static swig_const_info swig_const_table
[] = {
30625 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30626 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30627 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30628 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30629 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30630 {0, 0, 0, 0.0, 0, 0}};
30639 SWIGEXPORT(void) SWIG_init(void) {
30640 static PyObject
*SWIG_globals
= 0;
30641 static int typeinit
= 0;
30644 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30645 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30646 d
= PyModule_GetDict(m
);
30649 for (i
= 0; swig_types_initial
[i
]; i
++) {
30650 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30654 SWIG_InstallConstants(d
,swig_const_table
);
30656 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30657 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30658 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30659 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30660 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30661 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30662 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30663 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30664 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30665 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30666 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30667 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30668 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30669 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30670 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30671 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30672 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30673 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30674 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30675 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30676 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30677 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30678 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30679 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30680 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30681 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30682 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30683 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30684 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30685 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30686 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30687 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30688 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30689 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30690 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30691 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30692 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30693 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30694 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30695 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30696 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30697 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30698 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30699 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30700 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30701 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30702 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30703 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30704 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30705 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30706 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30707 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30708 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30709 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30710 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30711 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30712 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30713 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30714 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30715 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30716 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30717 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30718 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30719 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30720 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30721 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30722 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30723 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30724 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30725 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30726 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30727 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30728 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30729 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30730 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30731 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30732 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30733 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30734 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30735 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30736 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30737 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30738 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30739 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30740 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30741 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30742 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30743 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30744 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30745 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30746 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30747 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30748 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30749 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30750 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30751 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30752 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30753 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30754 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30755 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30756 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30758 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30760 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30761 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30762 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30763 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30764 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30765 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30766 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30767 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30768 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30769 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30770 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30771 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30772 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30773 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30774 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30775 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30776 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30777 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30778 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30779 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30780 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30781 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30782 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30783 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30784 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30785 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30786 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30787 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30788 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30789 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30790 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30791 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30792 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30793 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30794 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30795 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30796 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30797 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30798 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30799 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30800 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30801 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30802 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30803 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30804 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30805 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30806 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30807 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30808 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30809 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30811 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30813 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30814 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30815 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30816 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30817 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30818 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30819 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30820 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30821 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30822 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30823 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30824 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30825 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30826 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30827 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30828 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30829 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30830 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30831 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30832 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30863 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30864 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30865 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30866 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30867 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30868 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30869 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30870 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30871 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30872 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30873 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30874 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30875 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30876 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30878 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30880 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30881 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30882 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30883 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30884 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30885 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30886 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30887 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30888 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30889 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30890 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30891 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30892 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30893 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30894 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30895 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30896 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30897 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30898 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30899 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30900 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30901 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30902 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30903 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30904 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30905 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30906 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30907 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30908 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30909 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30910 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30911 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30912 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30913 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30914 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30915 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30916 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30917 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30918 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30919 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30920 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30921 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30922 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30923 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30924 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30925 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30926 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30927 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30928 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30929 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30930 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30931 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30932 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30933 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30934 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30935 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30936 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30937 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30938 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30939 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30940 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30941 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30942 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30943 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30944 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30945 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30946 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30947 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30948 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30949 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30950 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30951 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30952 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30953 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30954 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30955 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30956 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30957 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30958 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30959 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30960 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30961 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30962 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30963 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30964 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30965 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30966 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30967 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30968 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30969 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30970 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30971 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30972 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30973 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30974 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30975 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30976 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30977 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30978 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30979 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30980 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30981 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30982 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30983 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30984 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30985 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30986 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30987 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30988 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30989 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30990 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30991 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30992 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30993 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30994 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30995 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30996 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30997 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30998 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30999 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
31000 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
31001 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
31002 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
31003 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
31004 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
31005 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
31006 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
31007 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
31008 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
31009 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
31010 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
31011 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
31012 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
31013 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
31014 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
31015 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
31016 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
31017 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
31018 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
31019 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
31020 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
31021 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
31022 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
31023 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
31024 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
31025 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
31026 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
31027 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
31028 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
31029 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
31030 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
31031 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
31032 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
31033 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
31034 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
31035 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
31036 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
31037 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
31038 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
31039 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
31040 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
31041 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
31042 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
31043 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
31044 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
31045 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
31046 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
31047 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
31048 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
31049 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
31050 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
31051 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
31052 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
31053 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
31054 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
31055 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
31056 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
31057 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
31058 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
31059 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
31060 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31061 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31062 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31063 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31064 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31065 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31066 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31067 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31068 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31069 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31070 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31071 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31072 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31073 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31074 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31075 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31076 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31077 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31078 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31079 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31081 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31082 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31083 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31084 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31086 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);