1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxFileHistory swig_types[2]
214 #define SWIGTYPE_p_wxLog swig_types[3]
215 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
216 #define SWIGTYPE_p_wxMenu swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxConfigBase swig_types[7]
219 #define SWIGTYPE_p_wxDisplay swig_types[8]
220 #define SWIGTYPE_p_wxFileType swig_types[9]
221 #define SWIGTYPE_p_wxLogGui swig_types[10]
222 #define SWIGTYPE_p_wxFont swig_types[11]
223 #define SWIGTYPE_p_wxDataFormat swig_types[12]
224 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
225 #define SWIGTYPE_p_wxCaret swig_types[14]
226 #define SWIGTYPE_p_int swig_types[15]
227 #define SWIGTYPE_p_wxSize swig_types[16]
228 #define SWIGTYPE_p_wxClipboard swig_types[17]
229 #define SWIGTYPE_p_wxStopWatch swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxLogStderr swig_types[22]
234 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
235 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
237 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
238 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
239 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
240 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
241 #define SWIGTYPE_p_wxDataObject swig_types[30]
242 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
243 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
244 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
245 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
246 #define SWIGTYPE_p_wxSound swig_types[35]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
248 #define SWIGTYPE_p_wxLogWindow swig_types[37]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
250 #define SWIGTYPE_p_wxArrayString swig_types[39]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
252 #define SWIGTYPE_p_wxToolTip swig_types[41]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
254 #define SWIGTYPE_p_wxFileConfig swig_types[43]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
256 #define SWIGTYPE_p_wxVideoMode swig_types[45]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_char swig_types[50]
262 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
263 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
264 #define SWIGTYPE_p_wxFrame swig_types[53]
265 #define SWIGTYPE_p_wxTimer swig_types[54]
266 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
267 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
268 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
269 #define SWIGTYPE_p_wxTipProvider swig_types[58]
270 #define SWIGTYPE_p_wxJoystick swig_types[59]
271 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
272 #define SWIGTYPE_p_wxPoint swig_types[61]
273 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
274 #define SWIGTYPE_p_wxCursor swig_types[63]
275 #define SWIGTYPE_p_wxObject swig_types[64]
276 #define SWIGTYPE_p_wxOutputStream swig_types[65]
277 #define SWIGTYPE_p_wxDateTime swig_types[66]
278 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
279 #define SWIGTYPE_p_wxWindow swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyProcess swig_types[70]
282 #define SWIGTYPE_p_wxBitmap swig_types[71]
283 #define SWIGTYPE_p_wxConfig swig_types[72]
284 #define SWIGTYPE_p_wxChar swig_types[73]
285 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
286 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
287 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
288 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
290 #define SWIGTYPE_p_wxPyLog swig_types[79]
291 #define SWIGTYPE_p_wxLogNull swig_types[80]
292 #define SWIGTYPE_p_wxColour swig_types[81]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
294 #define SWIGTYPE_p_wxPyTimer swig_types[83]
295 #define SWIGTYPE_p_wxDateSpan swig_types[84]
296 static swig_type_info
*swig_types
[86];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _misc_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_misc_
306 #define SWIG_name "_misc_"
308 /* Auxiliar swig macros that appear in the header */
310 #define SWIG_OLDOBJ 1
311 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
312 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315 #define SWIGSTATICINLINE(a) static inline a
316 #define SWIGSTATIC(a) static a
317 #define swig_new_array(size,Type) (new Type[(size)])
318 #define swig_delete(cptr) delete cptr
319 #define swig_delete_array(cptr) delete[] cptr
320 #define swig_const_cast(a,Type) const_cast<Type >(a)
321 #define swig_static_cast(a,Type) static_cast<Type >(a)
322 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
323 #define swig_new_copy(ptr,Type) (new Type(*ptr))
324 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
328 #define SWIGSTATICINLINE(a) static a
329 #define SWIGSTATIC(a) static a
330 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
331 #define swig_delete(cptr) free((char*)cptr)
332 #define swig_delete_array(cptr) free((char*)cptr)
333 #define swig_const_cast(a,Type) (Type)(a)
334 #define swig_static_cast(a,Type) (Type)(a)
335 #define swig_reinterpret_cast(a,Type) (Type)(a)
336 #define swig_numeric_cast(a,Type) (Type)(a)
337 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339 #endif /* __cplusplus */
342 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
343 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_short PyInt_FromLong
351 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_int PyInt_FromLong
357 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_long PyInt_FromLong
360 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_float PyFloat_FromDouble
363 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_double PyFloat_FromDouble
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
370 #include "wx/wxPython/pyistream.h"
372 static const wxString
wxPyEmptyString(wxEmptyString
);
379 SWIGSTATICINLINE(int)
380 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
383 if (value
< min_value
) {
385 PyErr_Format(PyExc_OverflowError
,
386 "value %ld is less than '%s' minimum %ld",
387 value
, errmsg
, min_value
);
390 } else if (value
> max_value
) {
392 PyErr_Format(PyExc_OverflowError
,
393 "value %ld is greater than '%s' maximum %ld",
394 value
, errmsg
, max_value
);
402 // See my_fragments.i
403 SWIGSTATICINLINE(int)
404 SWIG_AsVal_long(PyObject
* obj
, long* val
)
406 if (PyNumber_Check(obj
)) {
407 if (val
) *val
= PyInt_AsLong(obj
);
411 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
412 obj
->ob_type
->tp_name
);
413 PyErr_SetObject(PyExc_TypeError
, errmsg
);
420 #if INT_MAX != LONG_MAX
421 SWIGSTATICINLINE(int)
422 SWIG_AsVal_int(PyObject
*obj
, int *val
)
424 const char* errmsg
= val
? "int" : 0;
426 if (SWIG_AsVal_long(obj
, &v
)) {
427 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
428 if (val
) *val
= swig_numeric_cast(v
, int);
437 PyErr_SetString(PyExc_TypeError
, "an int is expected");
442 SWIGSTATICINLINE(int)
443 SWIG_AsVal_int(PyObject
*obj
, int *val
)
445 return SWIG_AsVal_long(obj
,(long*)val
);
450 SWIGSTATICINLINE(int)
451 SWIG_As_int(PyObject
* obj
)
454 if (!SWIG_AsVal_int(obj
, &v
)) {
456 this is needed to make valgrind/purify happier. the other
457 solution is throw an exception, but since this code should work
460 memset((void*)&v
, 0, sizeof(int));
466 SWIGSTATICINLINE(int)
467 SWIG_Check_int(PyObject
* obj
)
469 return SWIG_AsVal_int(obj
, (int*)0);
473 #include <wx/stockitem.h>
475 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
476 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
477 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
479 SWIGSTATICINLINE(long)
480 SWIG_As_long(PyObject
* obj
)
483 if (!SWIG_AsVal_long(obj
, &v
)) {
485 this is needed to make valgrind/purify happier. the other
486 solution is throw an exception, but since this code should work
489 memset((void*)&v
, 0, sizeof(long));
495 SWIGSTATICINLINE(int)
496 SWIG_Check_long(PyObject
* obj
)
498 return SWIG_AsVal_long(obj
, (long*)0);
502 SWIGSTATICINLINE(int)
503 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
505 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
506 if (obj
== Py_True
) {
507 if (val
) *val
= true;
510 if (obj
== Py_False
) {
511 if (val
) *val
= false;
515 if (SWIG_AsVal_int(obj
, &res
)) {
516 if (val
) *val
= (bool)res
;
520 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
526 SWIGSTATICINLINE(bool)
527 SWIG_As_bool(PyObject
* obj
)
530 if (!SWIG_AsVal_bool(obj
, &v
)) {
532 this is needed to make valgrind/purify happier. the other
533 solution is throw an exception, but since this code should work
536 memset((void*)&v
, 0, sizeof(bool));
542 SWIGSTATICINLINE(int)
543 SWIG_Check_bool(PyObject
* obj
)
545 return SWIG_AsVal_bool(obj
, (bool*)0);
549 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
555 } else if (target
== Py_None
) {
560 target
= PyTuple_New(1);
561 PyTuple_SetItem(target
, 0, o2
);
564 PyTuple_SetItem(o3
, 0, o
);
567 target
= PySequence_Concat(o2
, o3
);
576 long wxGetFreeMemory()
577 { wxPyRaiseNotImplemented(); return 0; }
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 void wxWakeUpMainThread() {}
630 bool wxThread_IsMain() {
631 #ifdef WXP_WITH_THREAD
632 return wxThread::IsMain();
639 int wxCaret_GetBlinkTime() {
640 return wxCaret::GetBlinkTime();
643 void wxCaret_SetBlinkTime(int milliseconds
) {
644 wxCaret::SetBlinkTime(milliseconds
);
648 #include <wx/snglinst.h>
652 #include <wx/msw/private.h>
653 #include <wx/dynload.h>
658 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
665 // This one only partially works. Appears to be an undocumented
666 // "standard" convention that not all widgets adhear to. For
667 // example, for some widgets backgrounds or non-client areas may
669 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
673 // This one works much better, except for on XP. On Win2k nearly
674 // all widgets and their children are captured correctly[**]. On
675 // XP with Themes activated most native widgets draw only
676 // partially, if at all. Without themes it works just like on
679 // ** For example the radio buttons in a wxRadioBox are not its
680 // children by default, but you can capture it via the panel
681 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
682 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
683 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
684 PRF_ERASEBKGND
| PRF_OWNED
);
688 // This one is only defined in the latest SDK and is only
689 // available on XP. MSDN says it is similar to sending WM_PRINT
690 // so I expect that it will work similar to the above. Since it
691 // is avaialble only on XP, it can't be compiled like this and
692 // will have to be loaded dynamically.
693 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
698 // Use PrintWindow if available, or fallback to WM_PRINT
699 // otherwise. Unfortunately using PrintWindow is even worse than
700 // WM_PRINT. For most native widgets nothing is drawn to the dc
701 // at all, with or without Themes.
702 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
703 static bool s_triedToLoad
= False
;
704 static PrintWindow_t pfnPrintWindow
= NULL
;
705 if ( !s_triedToLoad
)
708 s_triedToLoad
= True
;
709 wxDynamicLibrary
dllUser32(_T("user32.dll"));
710 if ( dllUser32
.IsLoaded() )
712 wxLogNull nolog
; // Don't report errors here
713 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
718 printf("Using PrintWindow\n");
719 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
723 printf("Using WM_PRINT\n");
724 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
725 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
733 #include <wx/tipdlg.h>
736 class wxPyTipProvider
: public wxTipProvider
{
738 wxPyTipProvider(size_t currentTip
)
739 : wxTipProvider(currentTip
) {}
741 DEC_PYCALLBACK_STRING__pure(GetTip
);
742 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
746 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
747 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
750 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
752 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
754 void wxPyTimer::Notify() {
756 bool blocked
= wxPyBeginBlockThreads();
757 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
758 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
759 wxPyEndBlockThreads(blocked
);
763 void wxPyTimer::base_Notify() {
769 SWIGSTATICINLINE(PyObject
*)
770 SWIG_FromCharPtr(const char* cptr
)
773 size_t size
= strlen(cptr
);
774 if (size
> INT_MAX
) {
775 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
776 SWIG_TypeQuery("char *"), 0);
779 return PyString_FromStringAndSize(cptr
, size
);
781 return PyString_FromString(cptr
);
790 SWIGSTATICINLINE(int)
791 SWIG_CheckUnsignedLongInRange(unsigned long value
,
792 unsigned long max_value
,
795 if (value
> max_value
) {
797 PyErr_Format(PyExc_OverflowError
,
798 "value %ld is greater than '%s' minimum %ld",
799 value
, errmsg
, max_value
);
807 #if UINT_MAX != ULONG_MAX
808 SWIGSTATICINLINE(int)
809 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
811 const char* errmsg
= val
? "unsigned int" : 0;
813 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
814 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
815 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
822 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
827 SWIGSTATICINLINE(unsigned int)
828 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
830 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
835 SWIGSTATICINLINE(unsigned int)
836 SWIG_As_unsigned_SS_int(PyObject
* obj
)
839 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
841 this is needed to make valgrind/purify happier. the other
842 solution is throw an exception, but since this code should work
845 memset((void*)&v
, 0, sizeof(unsigned int));
851 SWIGSTATICINLINE(int)
852 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
854 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
857 wxString
Log_TimeStamp(){
859 wxLog::TimeStamp(&msg
);
862 void wxLog_Destroy(wxLog
*self
){ delete self
; }
864 // A wxLog class that can be derived from in wxPython
865 class wxPyLog
: public wxLog
{
867 wxPyLog() : wxLog() {}
869 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
871 bool blocked
= wxPyBeginBlockThreads();
872 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
873 PyObject
* s
= wx2PyString(szString
);
874 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
877 wxPyEndBlockThreads(blocked
);
879 wxLog::DoLog(level
, szString
, t
);
882 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
884 bool blocked
= wxPyBeginBlockThreads();
885 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
886 PyObject
* s
= wx2PyString(szString
);
887 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
890 wxPyEndBlockThreads(blocked
);
892 wxLog::DoLogString(szString
, t
);
901 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
904 #include <wx/joystick.h>
907 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
908 // A C++ stub class for wxJoystick for platforms that don't have it.
909 class wxJoystick
: public wxObject
{
911 wxJoystick(int joystick
= wxJOYSTICK1
) {
912 bool blocked
= wxPyBeginBlockThreads();
913 PyErr_SetString(PyExc_NotImplementedError
,
914 "wxJoystick is not available on this platform.");
915 wxPyEndBlockThreads(blocked
);
917 wxPoint
GetPosition() { return wxPoint(-1,-1); }
918 int GetZPosition() { return -1; }
919 int GetButtonState() { return -1; }
920 int GetPOVPosition() { return -1; }
921 int GetPOVCTSPosition() { return -1; }
922 int GetRudderPosition() { return -1; }
923 int GetUPosition() { return -1; }
924 int GetVPosition() { return -1; }
925 int GetMovementThreshold() { return -1; }
926 void SetMovementThreshold(int threshold
) {}
928 bool IsOk(void) { return False
; }
929 int GetNumberJoysticks() { return -1; }
930 int GetManufacturerId() { return -1; }
931 int GetProductId() { return -1; }
932 wxString
GetProductName() { return wxEmptyString
; }
933 int GetXMin() { return -1; }
934 int GetYMin() { return -1; }
935 int GetZMin() { return -1; }
936 int GetXMax() { return -1; }
937 int GetYMax() { return -1; }
938 int GetZMax() { return -1; }
939 int GetNumberButtons() { return -1; }
940 int GetNumberAxes() { return -1; }
941 int GetMaxButtons() { return -1; }
942 int GetMaxAxes() { return -1; }
943 int GetPollingMin() { return -1; }
944 int GetPollingMax() { return -1; }
945 int GetRudderMin() { return -1; }
946 int GetRudderMax() { return -1; }
947 int GetUMin() { return -1; }
948 int GetUMax() { return -1; }
949 int GetVMin() { return -1; }
950 int GetVMax() { return -1; }
952 bool HasRudder() { return False
; }
953 bool HasZ() { return False
; }
954 bool HasU() { return False
; }
955 bool HasV() { return False
; }
956 bool HasPOV() { return False
; }
957 bool HasPOV4Dir() { return False
; }
958 bool HasPOVCTS() { return False
; }
960 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
961 bool ReleaseCapture() { return False
; }
966 #include <wx/sound.h>
970 // A C++ stub class for wxWave for platforms that don't have it.
971 class wxSound
: public wxObject
975 bool blocked
= wxPyBeginBlockThreads();
976 PyErr_SetString(PyExc_NotImplementedError
,
977 "wxSound is not available on this platform.");
978 wxPyEndBlockThreads(blocked
);
980 wxSound(const wxString
&/*, bool*/) {
981 bool blocked
= wxPyBeginBlockThreads();
982 PyErr_SetString(PyExc_NotImplementedError
,
983 "wxSound is not available on this platform.");
984 wxPyEndBlockThreads(blocked
);
986 wxSound(int, const wxByte
*) {
987 bool blocked
= wxPyBeginBlockThreads();
988 PyErr_SetString(PyExc_NotImplementedError
,
989 "wxSound is not available on this platform.");
990 wxPyEndBlockThreads(blocked
);
995 bool Create(const wxString
&/*, bool*/) { return false; }
996 bool Create(int, const wxByte
*) { return false; };
997 bool IsOk() { return false; };
998 bool Play(unsigned) const { return false; }
999 static bool Play(const wxString
&, unsigned) { return false; }
1000 static void Stop() {}
1005 wxSound
*new_wxSound(wxString
const &fileName
){
1006 if (fileName
.Length() == 0)
1009 return new wxSound(fileName
);
1011 wxSound
*new_wxSound(PyObject
*data
){
1012 unsigned char* buffer
; int size
;
1013 wxSound
*sound
= NULL
;
1015 bool blocked
= wxPyBeginBlockThreads();
1016 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1018 sound
= new wxSound(size
, buffer
);
1020 wxPyEndBlockThreads(blocked
);
1023 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1025 unsigned char* buffer
;
1029 bool blocked
= wxPyBeginBlockThreads();
1030 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1032 rv
= self
->Create(size
, buffer
);
1034 wxPyEndBlockThreads(blocked
);
1037 bool blocked
= wxPyBeginBlockThreads();
1038 PyErr_SetString(PyExc_NotImplementedError
,
1039 "Create from data is not available on this platform.");
1040 wxPyEndBlockThreads(blocked
);
1045 #include <wx/mimetype.h>
1047 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1049 if (self
->GetMimeType(&str
))
1050 return wx2PyString(str
);
1054 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1056 if (self
->GetMimeTypes(arr
))
1057 return wxArrayString2PyList_helper(arr
);
1061 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1063 if (self
->GetExtensions(arr
))
1064 return wxArrayString2PyList_helper(arr
);
1068 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1070 if (self
->GetIcon(&loc
))
1071 return new wxIcon(loc
);
1075 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1077 if (self
->GetIcon(&loc
)) {
1078 wxString iconFile
= loc
.GetFileName();
1083 // Make a tuple and put the values in it
1084 bool blocked
= wxPyBeginBlockThreads();
1085 PyObject
* tuple
= PyTuple_New(3);
1086 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1087 wxT("wxIcon"), True
));
1088 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1089 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1090 wxPyEndBlockThreads(blocked
);
1096 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1098 if (self
->GetDescription(&str
))
1099 return wx2PyString(str
);
1103 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1105 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1106 return wx2PyString(str
);
1110 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1112 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1113 return wx2PyString(str
);
1117 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1118 wxArrayString verbs
;
1119 wxArrayString commands
;
1120 if (self
->GetAllCommands(&verbs
, &commands
,
1121 wxFileType::MessageParameters(filename
, mimetype
))) {
1122 bool blocked
= wxPyBeginBlockThreads();
1123 PyObject
* tuple
= PyTuple_New(2);
1124 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1125 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1126 wxPyEndBlockThreads(blocked
);
1132 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1133 return wxFileType::ExpandCommand(command
,
1134 wxFileType::MessageParameters(filename
, mimetype
));
1136 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1138 self
->EnumAllFileTypes(arr
);
1139 return wxArrayString2PyList_helper(arr
);
1142 #include <wx/artprov.h>
1144 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1145 static const wxString
wxPyART_MENU(wxART_MENU
);
1146 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1147 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1148 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1149 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1150 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1151 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1152 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1153 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1154 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1155 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1156 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1157 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1158 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1159 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1160 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1161 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1162 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1163 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1164 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1165 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1166 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1167 static const wxString
wxPyART_HELP(wxART_HELP
);
1168 static const wxString
wxPyART_TIP(wxART_TIP
);
1169 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1170 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1171 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1172 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1173 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1174 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1175 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1176 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1177 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1178 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1179 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1180 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1181 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1182 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1183 // Python aware wxArtProvider
1184 class wxPyArtProvider
: public wxArtProvider
{
1187 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1188 const wxArtClient
& client
,
1189 const wxSize
& size
) {
1190 wxBitmap rval
= wxNullBitmap
;
1191 bool blocked
= wxPyBeginBlockThreads();
1192 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1193 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1197 s1
= wx2PyString(id
);
1198 s2
= wx2PyString(client
);
1199 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1204 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1209 wxPyEndBlockThreads(blocked
);
1216 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1220 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1221 PyObject
* ret
= PyTuple_New(3);
1223 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1224 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1225 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1230 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1235 cont
= self
->GetFirstGroup(value
, index
);
1236 return __EnumerationHelper(cont
, value
, index
);
1238 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1242 cont
= self
->GetNextGroup(value
, index
);
1243 return __EnumerationHelper(cont
, value
, index
);
1245 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1250 cont
= self
->GetFirstEntry(value
, index
);
1251 return __EnumerationHelper(cont
, value
, index
);
1253 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1257 cont
= self
->GetNextEntry(value
, index
);
1258 return __EnumerationHelper(cont
, value
, index
);
1260 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1262 self
->Read(key
, &rv
, defaultVal
);
1266 // See my_fragments.i
1267 SWIGSTATICINLINE(int)
1268 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1270 if (PyNumber_Check(obj
)) {
1271 if (val
) *val
= PyFloat_AsDouble(obj
);
1275 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1276 obj
->ob_type
->tp_name
);
1277 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1284 SWIGSTATICINLINE(double)
1285 SWIG_As_double(PyObject
* obj
)
1288 if (!SWIG_AsVal_double(obj
, &v
)) {
1290 this is needed to make valgrind/purify happier. the other
1291 solution is throw an exception, but since this code should work
1294 memset((void*)&v
, 0, sizeof(double));
1300 SWIGSTATICINLINE(int)
1301 SWIG_Check_double(PyObject
* obj
)
1303 return SWIG_AsVal_double(obj
, (double*)0);
1306 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1308 self
->Read(key
, &rv
, defaultVal
);
1311 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1313 self
->Read(key
, &rv
, defaultVal
);
1317 #include <wx/datetime.h>
1320 static const wxString
wxPyDateFormatStr(wxT("%c"));
1321 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1323 #define LOCAL_TZ wxDateTime::Local
1326 #if UINT_MAX < LONG_MAX
1327 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1328 #define SWIG_From_unsigned_SS_int SWIG_From_long
1331 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1332 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1336 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1337 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1338 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1339 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1340 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1341 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1342 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1343 return (*self
< *other
);
1345 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1346 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1347 return (*self
<= *other
);
1349 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1350 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1351 return (*self
> *other
);
1353 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1354 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1355 return (*self
>= *other
);
1357 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1358 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1359 return (*self
== *other
);
1361 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1362 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1363 return (*self
!= *other
);
1365 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1367 const wxChar
* _date
= date
;
1368 rv
= self
->ParseRfc822Date(_date
);
1369 if (rv
== NULL
) return -1;
1372 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1374 const wxChar
* _date
= date
;
1375 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1376 if (rv
== NULL
) return -1;
1379 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1381 const wxChar
* _datetime
= datetime
;
1382 rv
= self
->ParseDateTime(_datetime
);
1383 if (rv
== NULL
) return -1;
1384 return rv
- _datetime
;
1386 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1388 const wxChar
* _date
= date
;
1389 rv
= self
->ParseDate(_date
);
1390 if (rv
== NULL
) return -1;
1393 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1395 const wxChar
* _time
= time
;
1396 rv
= self
->ParseTime(_time
);
1397 if (rv
== NULL
) return -1;
1400 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1401 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1402 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1403 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1404 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1405 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1406 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1407 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1408 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1409 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1410 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1411 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1412 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1413 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1414 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1415 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1417 #include <wx/dataobj.h>
1419 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1420 size_t count
= self
->GetFormatCount(dir
);
1421 wxDataFormat
* formats
= new wxDataFormat
[count
];
1422 self
->GetAllFormats(formats
, dir
);
1424 bool blocked
= wxPyBeginBlockThreads();
1425 PyObject
* list
= PyList_New(count
);
1426 for (size_t i
=0; i
<count
; i
++) {
1427 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1428 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1429 PyList_Append(list
, obj
);
1432 wxPyEndBlockThreads(blocked
);
1436 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1437 PyObject
* rval
= NULL
;
1438 size_t size
= self
->GetDataSize(format
);
1439 bool blocked
= wxPyBeginBlockThreads();
1441 char* buf
= new char[size
];
1442 if (self
->GetDataHere(format
, buf
))
1443 rval
= PyString_FromStringAndSize(buf
, size
);
1450 wxPyEndBlockThreads(blocked
);
1453 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1455 bool blocked
= wxPyBeginBlockThreads();
1456 if (PyString_Check(data
)) {
1457 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1460 // raise a TypeError if not a string
1461 PyErr_SetString(PyExc_TypeError
, "String expected.");
1464 wxPyEndBlockThreads(blocked
);
1467 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1468 PyObject
* rval
= NULL
;
1469 size_t size
= self
->GetDataSize();
1470 bool blocked
= wxPyBeginBlockThreads();
1472 char* buf
= new char[size
];
1473 if (self
->GetDataHere(buf
))
1474 rval
= PyString_FromStringAndSize(buf
, size
);
1481 wxPyEndBlockThreads(blocked
);
1484 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1486 bool blocked
= wxPyBeginBlockThreads();
1487 if (PyString_Check(data
)) {
1488 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1491 // raise a TypeError if not a string
1492 PyErr_SetString(PyExc_TypeError
, "String expected.");
1495 wxPyEndBlockThreads(blocked
);
1498 // Create a new class for wxPython to use
1499 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1501 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1502 : wxDataObjectSimple(format
) {}
1504 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1505 bool GetDataHere(void *buf
) const;
1506 bool SetData(size_t len
, const void *buf
) const;
1510 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1512 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1513 // We need to get the data for this object and write it to buf. I think
1514 // the best way to do this for wxPython is to have the Python method
1515 // return either a string or None and then act appropriately with the
1519 bool blocked
= wxPyBeginBlockThreads();
1520 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1522 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1524 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1526 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1530 wxPyEndBlockThreads(blocked
);
1534 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1535 // For this one we simply need to make a string from buf and len
1536 // and send it to the Python method.
1538 bool blocked
= wxPyBeginBlockThreads();
1539 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1540 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1541 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1544 wxPyEndBlockThreads(blocked
);
1548 // Create a new class for wxPython to use
1549 class wxPyTextDataObject
: public wxTextDataObject
{
1551 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1552 : wxTextDataObject(text
) {}
1554 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1555 DEC_PYCALLBACK_STRING__const(GetText
);
1556 DEC_PYCALLBACK__STRING(SetText
);
1560 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1561 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1562 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1565 // Create a new class for wxPython to use
1566 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1568 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1569 : wxBitmapDataObject(bitmap
) {}
1571 wxBitmap
GetBitmap() const;
1572 void SetBitmap(const wxBitmap
& bitmap
);
1576 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1577 wxBitmap
* rval
= &wxNullBitmap
;
1578 bool blocked
= wxPyBeginBlockThreads();
1579 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1582 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1584 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1589 wxPyEndBlockThreads(blocked
);
1593 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1594 bool blocked
= wxPyBeginBlockThreads();
1595 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1596 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1597 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1600 wxPyEndBlockThreads(blocked
);
1603 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1605 bool blocked
= wxPyBeginBlockThreads();
1606 if (PyString_Check(data
)) {
1607 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1610 // raise a TypeError if not a string
1611 PyErr_SetString(PyExc_TypeError
, "String expected.");
1614 wxPyEndBlockThreads(blocked
);
1617 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1619 bool blocked
= wxPyBeginBlockThreads();
1620 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1621 wxPyEndBlockThreads(blocked
);
1625 class wxMetafileDataObject
: public wxDataObjectSimple
1628 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1632 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1635 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1636 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1637 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1638 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1639 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1642 class wxPyTextDropTarget
: public wxTextDropTarget
{
1644 wxPyTextDropTarget() {}
1646 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1648 DEC_PYCALLBACK__(OnLeave
);
1649 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1650 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1651 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1652 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1657 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1658 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1659 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1660 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1661 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1662 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1666 class wxPyFileDropTarget
: public wxFileDropTarget
{
1668 wxPyFileDropTarget() {}
1670 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1672 DEC_PYCALLBACK__(OnLeave
);
1673 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1674 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1675 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1676 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1681 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1682 const wxArrayString
& filenames
) {
1684 bool blocked
= wxPyBeginBlockThreads();
1685 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1686 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1687 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1690 wxPyEndBlockThreads(blocked
);
1696 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1697 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1698 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1699 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1700 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1705 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1707 #include <wx/display.h>
1709 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1710 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1712 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1714 #include <wx/dynarray.h>
1715 #include <wx/vidmode.h>
1717 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1718 #include "wx/arrimpl.cpp"
1719 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1720 const wxVideoMode wxDefaultVideoMode
;
1725 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1728 static size_t GetCount()
1729 { wxPyRaiseNotImplemented(); return 0; }
1731 static int GetFromPoint(const wxPoint
& pt
)
1732 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1733 static int GetFromWindow(wxWindow
*window
)
1734 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1736 virtual bool IsOk() const { return false; }
1737 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1738 virtual wxString
GetName() const { return wxEmptyString
; }
1739 bool IsPrimary() const { return false; }
1741 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1742 { wxArrayVideoModes a
; return a
; }
1744 virtual wxVideoMode
GetCurrentMode() const
1745 { return wxDefaultVideoMode
; }
1747 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1754 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1755 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1756 PyObject
* pyList
= NULL
;
1757 wxArrayVideoModes arr
= self
->GetModes(mode
);
1758 bool blocked
= wxPyBeginBlockThreads();
1759 pyList
= PyList_New(0);
1760 for (int i
=0; i
< arr
.GetCount(); i
++) {
1761 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1762 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1763 PyList_Append(pyList
, pyObj
);
1766 wxPyEndBlockThreads(blocked
);
1772 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1776 PyObject
* obj0
= 0 ;
1778 (char *) "index", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1782 arg1
= (int)SWIG_As_int(obj0
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 if (!wxPyCheckForApp()) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1793 wxColour
* resultptr
;
1794 resultptr
= new wxColour((wxColour
&) result
);
1795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1803 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1807 PyObject
* obj0
= 0 ;
1809 (char *) "index", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1813 arg1
= (int)SWIG_As_int(obj0
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 if (!wxPyCheckForApp()) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1825 resultptr
= new wxFont((wxFont
&) result
);
1826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1834 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "index", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1844 arg1
= (int)SWIG_As_int(obj0
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 if (!wxPyCheckForApp()) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 resultobj
= SWIG_From_int((int)result
);
1861 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "index", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1871 arg1
= (int)SWIG_As_int(obj0
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 if (!wxPyCheckForApp()) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1890 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1899 if (!wxPyCheckForApp()) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= (int)wxSystemSettings::GetScreenType();
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 resultobj
= SWIG_From_int((int)result
);
1913 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "screen", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1922 arg1
= (int)SWIG_As_int(obj0
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 if (!wxPyCheckForApp()) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1942 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1944 return Py_BuildValue((char *)"");
1946 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxSystemOptions
*result
;
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 result
= (wxSystemOptions
*)new wxSystemOptions();
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1968 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxString
*arg1
= 0 ;
1971 wxString
*arg2
= 0 ;
1972 bool temp1
= False
;
1973 bool temp2
= False
;
1974 PyObject
* obj0
= 0 ;
1975 PyObject
* obj1
= 0 ;
1977 (char *) "name",(char *) "value", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1982 arg1
= wxString_in_helper(obj0
);
1983 if (arg1
== NULL
) SWIG_fail
;
1987 arg2
= wxString_in_helper(obj1
);
1988 if (arg2
== NULL
) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 Py_INCREF(Py_None
); resultobj
= Py_None
;
2021 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxString
*arg1
= 0 ;
2025 bool temp1
= False
;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2029 (char *) "name",(char *) "value", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2034 arg1
= wxString_in_helper(obj0
);
2035 if (arg1
== NULL
) SWIG_fail
;
2038 arg2
= (int)SWIG_As_int(obj1
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxString
*arg1
= 0 ;
2066 bool temp1
= False
;
2067 PyObject
* obj0
= 0 ;
2069 (char *) "name", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2074 arg1
= wxString_in_helper(obj0
);
2075 if (arg1
== NULL
) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2106 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
*resultobj
;
2108 wxString
*arg1
= 0 ;
2110 bool temp1
= False
;
2111 PyObject
* obj0
= 0 ;
2113 (char *) "name", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2118 arg1
= wxString_in_helper(obj0
);
2119 if (arg1
== NULL
) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 resultobj
= SWIG_From_int((int)result
);
2144 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxString
*arg1
= 0 ;
2148 bool temp1
= False
;
2149 PyObject
* obj0
= 0 ;
2151 (char *) "name", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2156 arg1
= wxString_in_helper(obj0
);
2157 if (arg1
== NULL
) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2184 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2187 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2189 return Py_BuildValue((char *)"");
2191 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2192 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2197 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2202 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2204 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2211 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2212 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2217 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2222 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2224 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2231 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2232 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2237 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2242 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2244 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2251 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (long)wxNewId();
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 resultobj
= SWIG_From_long((long)result
);
2273 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2276 PyObject
* obj0
= 0 ;
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2282 arg1
= (long)SWIG_As_long(obj0
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 Py_INCREF(Py_None
); resultobj
= Py_None
;
2298 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= (long)wxGetCurrentId();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 resultobj
= SWIG_From_long((long)result
);
2320 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2324 PyObject
* obj0
= 0 ;
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2330 arg1
= (int)SWIG_As_int(obj0
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)wxIsStockID(arg1
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2348 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2351 wxString
*arg2
= 0 ;
2353 bool temp2
= False
;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "id",(char *) "label", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 arg1
= (int)SWIG_As_int(obj0
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 arg2
= wxString_in_helper(obj1
);
2365 if (arg2
== NULL
) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2392 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2396 PyObject
* obj0
= 0 ;
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2402 arg1
= (int)SWIG_As_int(obj0
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= wxGetStockLabel(arg1
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2424 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2432 if (!wxPyCheckForApp()) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2454 if (!wxPyCheckForApp()) SWIG_fail
;
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2461 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2470 bool arg1
= (bool) True
;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "resetTimer", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2479 arg1
= (bool)SWIG_As_bool(obj0
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 result
= (long)wxGetElapsedTime(arg1
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= SWIG_From_long((long)result
);
2496 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 int *arg1
= (int *) 0 ;
2499 int *arg2
= (int *) 0 ;
2508 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2509 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2512 if (!wxPyCheckForApp()) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 wxGetMousePosition(arg1
,arg2
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 Py_INCREF(Py_None
); resultobj
= Py_None
;
2520 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2521 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2522 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2523 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2530 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 result
= (bool)wxIsBusy();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2554 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2582 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2585 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2587 bool temp1
= False
;
2588 PyObject
* obj0
= 0 ;
2590 (char *) "command", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2596 arg1
= wxString_in_helper(obj0
);
2597 if (arg1
== NULL
) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= (bool)wxShell((wxString
const &)*arg1
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2625 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 int *arg1
= (int *) 0 ;
2649 int *arg2
= (int *) 0 ;
2659 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2660 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 result
= (int)wxGetOsVersion(arg1
,arg2
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= SWIG_From_int((int)result
);
2670 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2671 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2672 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2673 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2680 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 result
= wxGetOsDescription();
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2708 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (long)wxGetFreeMemory();
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_From_long((long)result
);
2730 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2734 PyObject
* obj0
= 0 ;
2736 (char *) "wFlags", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2740 arg1
= (int)SWIG_As_int(obj0
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 if (!wxPyCheckForApp()) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2759 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "secs", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2768 arg1
= (int)SWIG_As_int(obj0
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 unsigned long arg1
;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "milliseconds", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2793 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 Py_INCREF(Py_None
); resultobj
= Py_None
;
2809 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 unsigned long arg1
;
2812 PyObject
* obj0
= 0 ;
2814 (char *) "microseconds", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2818 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "enable", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2843 arg1
= (bool)SWIG_As_bool(obj0
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxEnableTopLevelWindows(arg1
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2852 Py_INCREF(Py_None
); resultobj
= Py_None
;
2859 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
*resultobj
;
2861 wxString
*arg1
= 0 ;
2863 bool temp1
= False
;
2864 PyObject
* obj0
= 0 ;
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2871 arg1
= wxString_in_helper(obj0
);
2872 if (arg1
== NULL
) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2903 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= wxGetEmailAddress();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2931 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= wxGetHostName();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2959 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 result
= wxGetFullHostName();
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2987 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= wxGetUserId();
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());
3015 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 result
= wxGetUserName();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3043 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= wxGetHomeDir();
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3071 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3074 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3076 bool temp1
= False
;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "user", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3085 arg1
= wxString_in_helper(obj0
);
3086 if (arg1
== NULL
) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= wxGetUserHome((wxString
const &)*arg1
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3118 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 unsigned long result
;
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (unsigned long)wxGetProcessId();
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3140 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 Py_INCREF(Py_None
); resultobj
= Py_None
;
3161 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3164 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3165 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3166 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3167 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3168 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3169 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3170 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3171 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3172 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3173 int arg6
= (int) 0 ;
3174 wxWindow
*arg7
= (wxWindow
*) NULL
;
3175 int arg8
= (int) -1 ;
3176 int arg9
= (int) -1 ;
3178 bool temp1
= False
;
3179 bool temp2
= False
;
3180 bool temp3
= False
;
3181 bool temp4
= False
;
3182 bool temp5
= False
;
3183 PyObject
* obj0
= 0 ;
3184 PyObject
* obj1
= 0 ;
3185 PyObject
* obj2
= 0 ;
3186 PyObject
* obj3
= 0 ;
3187 PyObject
* obj4
= 0 ;
3188 PyObject
* obj5
= 0 ;
3189 PyObject
* obj6
= 0 ;
3190 PyObject
* obj7
= 0 ;
3191 PyObject
* obj8
= 0 ;
3193 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3199 arg1
= wxString_in_helper(obj0
);
3200 if (arg1
== NULL
) SWIG_fail
;
3206 arg2
= wxString_in_helper(obj1
);
3207 if (arg2
== NULL
) SWIG_fail
;
3213 arg3
= wxString_in_helper(obj2
);
3214 if (arg3
== NULL
) SWIG_fail
;
3220 arg4
= wxString_in_helper(obj3
);
3221 if (arg4
== NULL
) SWIG_fail
;
3227 arg5
= wxString_in_helper(obj4
);
3228 if (arg5
== NULL
) SWIG_fail
;
3233 arg6
= (int)SWIG_As_int(obj5
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3241 arg8
= (int)SWIG_As_int(obj7
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3245 arg9
= (int)SWIG_As_int(obj8
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3249 if (!wxPyCheckForApp()) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3309 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxString
*arg1
= 0 ;
3312 wxString
*arg2
= 0 ;
3313 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3314 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3315 wxWindow
*arg4
= (wxWindow
*) NULL
;
3317 bool temp1
= False
;
3318 bool temp2
= False
;
3319 bool temp3
= False
;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3322 PyObject
* obj2
= 0 ;
3323 PyObject
* obj3
= 0 ;
3325 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3330 arg1
= wxString_in_helper(obj0
);
3331 if (arg1
== NULL
) SWIG_fail
;
3335 arg2
= wxString_in_helper(obj1
);
3336 if (arg2
== NULL
) SWIG_fail
;
3341 arg3
= wxString_in_helper(obj2
);
3342 if (arg3
== NULL
) SWIG_fail
;
3347 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3351 if (!wxPyCheckForApp()) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3395 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxString
*arg1
= 0 ;
3398 wxString
*arg2
= 0 ;
3399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3401 wxWindow
*arg4
= (wxWindow
*) NULL
;
3403 bool temp1
= False
;
3404 bool temp2
= False
;
3405 bool temp3
= False
;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3408 PyObject
* obj2
= 0 ;
3409 PyObject
* obj3
= 0 ;
3411 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3416 arg1
= wxString_in_helper(obj0
);
3417 if (arg1
== NULL
) SWIG_fail
;
3421 arg2
= wxString_in_helper(obj1
);
3422 if (arg2
== NULL
) SWIG_fail
;
3427 arg3
= wxString_in_helper(obj2
);
3428 if (arg3
== NULL
) SWIG_fail
;
3433 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3437 if (!wxPyCheckForApp()) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3481 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3484 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3485 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3486 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3487 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3490 wxWindow
*arg5
= (wxWindow
*) NULL
;
3492 bool temp1
= False
;
3493 bool temp2
= False
;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3497 PyObject
* obj2
= 0 ;
3498 PyObject
* obj3
= 0 ;
3499 PyObject
* obj4
= 0 ;
3501 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3507 arg1
= wxString_in_helper(obj0
);
3508 if (arg1
== NULL
) SWIG_fail
;
3514 arg2
= wxString_in_helper(obj1
);
3515 if (arg2
== NULL
) SWIG_fail
;
3520 arg3
= (long)SWIG_As_long(obj2
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3530 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 if (!wxPyCheckForApp()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3570 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxString
*arg1
= 0 ;
3573 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3574 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3575 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3576 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3577 wxWindow
*arg4
= (wxWindow
*) NULL
;
3578 int arg5
= (int) -1 ;
3579 int arg6
= (int) -1 ;
3580 bool arg7
= (bool) True
;
3582 bool temp1
= False
;
3583 bool temp2
= False
;
3584 bool temp3
= False
;
3585 PyObject
* obj0
= 0 ;
3586 PyObject
* obj1
= 0 ;
3587 PyObject
* obj2
= 0 ;
3588 PyObject
* obj3
= 0 ;
3589 PyObject
* obj4
= 0 ;
3590 PyObject
* obj5
= 0 ;
3591 PyObject
* obj6
= 0 ;
3593 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3598 arg1
= wxString_in_helper(obj0
);
3599 if (arg1
== NULL
) SWIG_fail
;
3604 arg2
= wxString_in_helper(obj1
);
3605 if (arg2
== NULL
) SWIG_fail
;
3611 arg3
= wxString_in_helper(obj2
);
3612 if (arg3
== NULL
) SWIG_fail
;
3617 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3621 arg5
= (int)SWIG_As_int(obj4
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 arg6
= (int)SWIG_As_int(obj5
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 arg7
= (bool)SWIG_As_bool(obj6
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 if (!wxPyCheckForApp()) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3677 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxString
*arg1
= 0 ;
3680 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3681 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3684 wxWindow
*arg4
= (wxWindow
*) NULL
;
3686 bool temp1
= False
;
3687 bool temp2
= False
;
3688 bool temp3
= False
;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3691 PyObject
* obj2
= 0 ;
3692 PyObject
* obj3
= 0 ;
3694 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3699 arg1
= wxString_in_helper(obj0
);
3700 if (arg1
== NULL
) SWIG_fail
;
3705 arg2
= wxString_in_helper(obj1
);
3706 if (arg2
== NULL
) SWIG_fail
;
3712 arg3
= wxString_in_helper(obj2
);
3713 if (arg3
== NULL
) SWIG_fail
;
3718 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 if (!wxPyCheckForApp()) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3766 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxString
*arg1
= 0 ;
3769 wxString
*arg2
= 0 ;
3771 wxString
*arg4
= (wxString
*) 0 ;
3772 wxWindow
*arg5
= (wxWindow
*) NULL
;
3773 int arg6
= (int) -1 ;
3774 int arg7
= (int) -1 ;
3775 bool arg8
= (bool) True
;
3776 int arg9
= (int) 150 ;
3777 int arg10
= (int) 200 ;
3779 bool temp1
= False
;
3780 bool temp2
= False
;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3783 PyObject
* obj2
= 0 ;
3784 PyObject
* obj3
= 0 ;
3785 PyObject
* obj4
= 0 ;
3786 PyObject
* obj5
= 0 ;
3787 PyObject
* obj6
= 0 ;
3788 PyObject
* obj7
= 0 ;
3789 PyObject
* obj8
= 0 ;
3791 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3796 arg1
= wxString_in_helper(obj0
);
3797 if (arg1
== NULL
) SWIG_fail
;
3801 arg2
= wxString_in_helper(obj1
);
3802 if (arg2
== NULL
) SWIG_fail
;
3806 arg3
= PyList_Size(obj2
);
3807 arg4
= wxString_LIST_helper(obj2
);
3808 if (arg4
== NULL
) SWIG_fail
;
3811 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 arg6
= (int)SWIG_As_int(obj4
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3819 arg7
= (int)SWIG_As_int(obj5
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 arg8
= (bool)SWIG_As_bool(obj6
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 arg9
= (int)SWIG_As_int(obj7
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3831 arg10
= (int)SWIG_As_int(obj8
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 if (!wxPyCheckForApp()) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3858 if (arg4
) delete [] arg4
;
3871 if (arg4
) delete [] arg4
;
3877 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxString
*arg1
= 0 ;
3880 wxString
*arg2
= 0 ;
3882 wxString
*arg4
= (wxString
*) 0 ;
3883 wxWindow
*arg5
= (wxWindow
*) NULL
;
3884 int arg6
= (int) -1 ;
3885 int arg7
= (int) -1 ;
3886 bool arg8
= (bool) True
;
3887 int arg9
= (int) 150 ;
3888 int arg10
= (int) 200 ;
3890 bool temp1
= False
;
3891 bool temp2
= False
;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3894 PyObject
* obj2
= 0 ;
3895 PyObject
* obj3
= 0 ;
3896 PyObject
* obj4
= 0 ;
3897 PyObject
* obj5
= 0 ;
3898 PyObject
* obj6
= 0 ;
3899 PyObject
* obj7
= 0 ;
3900 PyObject
* obj8
= 0 ;
3902 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3907 arg1
= wxString_in_helper(obj0
);
3908 if (arg1
== NULL
) SWIG_fail
;
3912 arg2
= wxString_in_helper(obj1
);
3913 if (arg2
== NULL
) SWIG_fail
;
3917 arg3
= PyList_Size(obj2
);
3918 arg4
= wxString_LIST_helper(obj2
);
3919 if (arg4
== NULL
) SWIG_fail
;
3922 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 arg6
= (int)SWIG_As_int(obj4
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 arg7
= (int)SWIG_As_int(obj5
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3934 arg8
= (bool)SWIG_As_bool(obj6
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3938 arg9
= (int)SWIG_As_int(obj7
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3942 arg10
= (int)SWIG_As_int(obj8
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 if (!wxPyCheckForApp()) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= SWIG_From_int((int)result
);
3963 if (arg4
) delete [] arg4
;
3976 if (arg4
) delete [] arg4
;
3982 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 wxString
*arg1
= 0 ;
3985 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3986 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3987 int arg3
= (int) wxOK
|wxCENTRE
;
3988 wxWindow
*arg4
= (wxWindow
*) NULL
;
3989 int arg5
= (int) -1 ;
3990 int arg6
= (int) -1 ;
3992 bool temp1
= False
;
3993 bool temp2
= False
;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3996 PyObject
* obj2
= 0 ;
3997 PyObject
* obj3
= 0 ;
3998 PyObject
* obj4
= 0 ;
3999 PyObject
* obj5
= 0 ;
4001 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4006 arg1
= wxString_in_helper(obj0
);
4007 if (arg1
== NULL
) SWIG_fail
;
4012 arg2
= wxString_in_helper(obj1
);
4013 if (arg2
== NULL
) SWIG_fail
;
4018 arg3
= (int)SWIG_As_int(obj2
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4022 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4026 arg5
= (int)SWIG_As_int(obj4
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4030 arg6
= (int)SWIG_As_int(obj5
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 if (!wxPyCheckForApp()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_From_int((int)result
);
4064 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxString
*arg1
= 0 ;
4067 wxString
*arg2
= 0 ;
4068 wxString
*arg3
= 0 ;
4070 long arg5
= (long) 0 ;
4071 long arg6
= (long) 100 ;
4072 wxWindow
*arg7
= (wxWindow
*) NULL
;
4073 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4074 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4076 bool temp1
= False
;
4077 bool temp2
= False
;
4078 bool temp3
= False
;
4080 PyObject
* obj0
= 0 ;
4081 PyObject
* obj1
= 0 ;
4082 PyObject
* obj2
= 0 ;
4083 PyObject
* obj3
= 0 ;
4084 PyObject
* obj4
= 0 ;
4085 PyObject
* obj5
= 0 ;
4086 PyObject
* obj6
= 0 ;
4087 PyObject
* obj7
= 0 ;
4089 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4094 arg1
= wxString_in_helper(obj0
);
4095 if (arg1
== NULL
) SWIG_fail
;
4099 arg2
= wxString_in_helper(obj1
);
4100 if (arg2
== NULL
) SWIG_fail
;
4104 arg3
= wxString_in_helper(obj2
);
4105 if (arg3
== NULL
) SWIG_fail
;
4108 arg4
= (long)SWIG_As_long(obj3
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 arg5
= (long)SWIG_As_long(obj4
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 arg6
= (long)SWIG_As_long(obj5
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4119 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4129 if (!wxPyCheckForApp()) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_From_long((long)result
);
4167 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4176 if (!wxPyCheckForApp()) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (bool)wxColourDisplay();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4192 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4201 if (!wxPyCheckForApp()) SWIG_fail
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 result
= (int)wxDisplayDepth();
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4208 resultobj
= SWIG_From_int((int)result
);
4215 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4224 if (!wxPyCheckForApp()) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (int)wxGetDisplayDepth();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_From_int((int)result
);
4238 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 int *arg1
= (int *) 0 ;
4241 int *arg2
= (int *) 0 ;
4250 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4251 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4254 if (!wxPyCheckForApp()) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxDisplaySize(arg1
,arg2
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4263 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4264 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4265 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4272 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4281 if (!wxPyCheckForApp()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= wxGetDisplaySize();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4290 resultptr
= new wxSize((wxSize
&) result
);
4291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4299 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 int *arg1
= (int *) 0 ;
4302 int *arg2
= (int *) 0 ;
4311 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4312 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4315 if (!wxPyCheckForApp()) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 wxDisplaySizeMM(arg1
,arg2
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4324 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4325 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4326 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4333 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4342 if (!wxPyCheckForApp()) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= wxGetDisplaySizeMM();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4351 resultptr
= new wxSize((wxSize
&) result
);
4352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4360 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 int *arg1
= (int *) 0 ;
4363 int *arg2
= (int *) 0 ;
4364 int *arg3
= (int *) 0 ;
4365 int *arg4
= (int *) 0 ;
4378 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4379 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4380 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4381 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4384 if (!wxPyCheckForApp()) SWIG_fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4393 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4394 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4395 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4396 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4397 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4398 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4399 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4406 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4415 if (!wxPyCheckForApp()) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= wxGetClientDisplayRect();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4424 resultptr
= new wxRect((wxRect
&) result
);
4425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4433 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxCursor
*arg1
= 0 ;
4436 PyObject
* obj0
= 0 ;
4438 (char *) "cursor", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4446 PyErr_SetString(PyExc_TypeError
,"null reference");
4450 if (!wxPyCheckForApp()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4467 PyObject
* obj0
= 0 ;
4469 (char *) "cursor", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4478 if (!wxPyCheckForApp()) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 wxBeginBusyCursor(arg1
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 Py_INCREF(Py_None
); resultobj
= Py_None
;
4492 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4501 if (!wxPyCheckForApp()) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (wxWindow
*)wxGetActiveWindow();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= wxPyMake_wxObject(result
, 0);
4517 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4522 PyObject
* obj0
= 0 ;
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4530 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4533 if (!wxPyCheckForApp()) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= wxPyMake_wxObject(result
, 0);
4549 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4554 PyObject
* obj0
= 0 ;
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4562 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4565 if (!wxPyCheckForApp()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= wxPyMake_wxObject(result
, 0);
4581 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxWindow
*arg1
= (wxWindow
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "win", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4594 if (!wxPyCheckForApp()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= wxPyMake_wxObject(result
, 0);
4610 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "key", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4620 arg1
= (int)SWIG_As_int(obj0
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 if (!wxPyCheckForApp()) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4639 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4647 if (!wxPyCheckForApp()) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxWakeUpMainThread();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 Py_INCREF(Py_None
); resultobj
= Py_None
;
4661 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4669 if (!wxPyCheckForApp()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 Py_INCREF(Py_None
); resultobj
= Py_None
;
4683 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4691 if (!wxPyCheckForApp()) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxMutexGuiLocker
*result
;
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4714 if (!wxPyCheckForApp()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4728 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4756 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4758 return Py_BuildValue((char *)"");
4760 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= (bool)wxThread_IsMain();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4784 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxString
*arg1
= 0 ;
4788 bool temp1
= False
;
4789 PyObject
* obj0
= 0 ;
4791 (char *) "tip", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4796 arg1
= wxString_in_helper(obj0
);
4797 if (arg1
== NULL
) SWIG_fail
;
4801 if (!wxPyCheckForApp()) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= wxPyMake_wxObject(result
, 1);
4825 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4828 wxString
*arg2
= 0 ;
4829 bool temp2
= False
;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4833 (char *) "self",(char *) "tip", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4840 arg2
= wxString_in_helper(obj1
);
4841 if (arg2
== NULL
) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 (arg1
)->SetTip((wxString
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 Py_INCREF(Py_None
); resultobj
= Py_None
;
4866 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4872 (char *) "self", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (arg1
)->GetTip();
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4898 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4902 PyObject
* obj0
= 0 ;
4904 (char *) "self", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxWindow
*)(arg1
)->GetWindow();
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= wxPyMake_wxObject(result
, 0);
4926 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4929 PyObject
* obj0
= 0 ;
4931 (char *) "flag", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4935 arg1
= (bool)SWIG_As_bool(obj0
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 wxToolTip::Enable(arg1
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4954 PyObject
* obj0
= 0 ;
4956 (char *) "milliseconds", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4960 arg1
= (long)SWIG_As_long(obj0
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 wxToolTip::SetDelay(arg1
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4976 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4979 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4981 return Py_BuildValue((char *)"");
4983 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxWindow
*arg1
= (wxWindow
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 (char *) "window",(char *) "size", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5003 if (!wxPyCheckForApp()) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5017 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxCaret
*arg1
= (wxCaret
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 Py_INCREF(Py_None
); resultobj
= Py_None
;
5042 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxCaret
*arg1
= (wxCaret
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "self", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 result
= (bool)(arg1
)->IsOk();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5070 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxCaret
*arg1
= (wxCaret
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "self", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (bool)(arg1
)->IsVisible();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5098 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxCaret
*arg1
= (wxCaret
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (arg1
)->GetPosition();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 wxPoint
* resultptr
;
5119 resultptr
= new wxPoint((wxPoint
&) result
);
5120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5128 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxCaret
*arg1
= (wxCaret
*) 0 ;
5131 int *arg2
= (int *) 0 ;
5132 int *arg3
= (int *) 0 ;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "self", NULL
5142 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5143 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 (arg1
)->GetPosition(arg2
,arg3
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 Py_INCREF(Py_None
); resultobj
= Py_None
;
5155 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5156 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5157 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5158 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5165 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxCaret
*arg1
= (wxCaret
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5171 (char *) "self", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (arg1
)->GetSize();
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5186 resultptr
= new wxSize((wxSize
&) result
);
5187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5195 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxCaret
*arg1
= (wxCaret
*) 0 ;
5198 int *arg2
= (int *) 0 ;
5199 int *arg3
= (int *) 0 ;
5204 PyObject
* obj0
= 0 ;
5206 (char *) "self", NULL
5209 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5210 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 (arg1
)->GetSize(arg2
,arg3
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5222 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5223 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5224 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5225 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5232 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxCaret
*arg1
= (wxCaret
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (wxWindow
*)(arg1
)->GetWindow();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= wxPyMake_wxObject(result
, 0);
5260 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxCaret
*arg1
= (wxCaret
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5267 PyObject
* obj2
= 0 ;
5269 (char *) "self",(char *) "x",(char *) "y", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 arg2
= (int)SWIG_As_int(obj1
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5277 arg3
= (int)SWIG_As_int(obj2
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 (arg1
)->Move(arg2
,arg3
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 Py_INCREF(Py_None
); resultobj
= Py_None
;
5293 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxCaret
*arg1
= (wxCaret
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "pt", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 (arg1
)->Move((wxPoint
const &)*arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 Py_INCREF(Py_None
); resultobj
= Py_None
;
5325 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxCaret
*arg1
= (wxCaret
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 PyObject
* obj2
= 0 ;
5334 (char *) "self",(char *) "width",(char *) "height", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 arg2
= (int)SWIG_As_int(obj1
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5342 arg3
= (int)SWIG_As_int(obj2
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 (arg1
)->SetSize(arg2
,arg3
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 Py_INCREF(Py_None
); resultobj
= Py_None
;
5358 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxCaret
*arg1
= (wxCaret
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "size", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetSize((wxSize
const &)*arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxCaret
*arg1
= (wxCaret
*) 0 ;
5393 int arg2
= (int) True
;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "show", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5404 arg2
= (int)SWIG_As_int(obj1
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxCaret
*arg1
= (wxCaret
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5426 (char *) "self", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5449 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5451 return Py_BuildValue((char *)"");
5453 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)wxCaret_GetBlinkTime();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_From_int((int)result
);
5475 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5478 PyObject
* obj0
= 0 ;
5480 (char *) "milliseconds", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5484 arg1
= (int)SWIG_As_int(obj0
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 wxCaret_SetBlinkTime(arg1
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 Py_INCREF(Py_None
); resultobj
= Py_None
;
5500 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5503 wxBusyCursor
*result
;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "cursor", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 if (!wxPyCheckForApp()) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5529 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5557 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5559 return Py_BuildValue((char *)"");
5561 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxWindow
*arg1
= (wxWindow
*) NULL
;
5564 wxWindowDisabler
*result
;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "winToSkip", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 if (!wxPyCheckForApp()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5590 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "self", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5618 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5620 return Py_BuildValue((char *)"");
5622 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxString
*arg1
= 0 ;
5626 bool temp1
= False
;
5627 PyObject
* obj0
= 0 ;
5629 (char *) "message", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5634 arg1
= wxString_in_helper(obj0
);
5635 if (arg1
== NULL
) SWIG_fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5661 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5666 (char *) "self", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5689 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5691 return Py_BuildValue((char *)"");
5693 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxStopWatch
*result
;
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (wxStopWatch
*)new wxStopWatch();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5715 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5718 long arg2
= (long) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5722 (char *) "self",(char *) "t0", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 arg2
= (long)SWIG_As_long(obj1
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->Start(arg2
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= SWIG_From_long((long)result
);
5822 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5825 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5827 return Py_BuildValue((char *)"");
5829 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 int arg1
= (int) 9 ;
5832 int arg2
= (int) wxID_FILE1
;
5833 wxFileHistory
*result
;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5837 (char *) "maxFiles",(char *) "idBase", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 arg1
= (int)SWIG_As_int(obj0
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5846 arg2
= (int)SWIG_As_int(obj1
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5863 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5888 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5891 wxString
*arg2
= 0 ;
5892 bool temp2
= False
;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5896 (char *) "self",(char *) "file", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 arg2
= wxString_in_helper(obj1
);
5904 if (arg2
== NULL
) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 Py_INCREF(Py_None
); resultobj
= Py_None
;
5929 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "i", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 arg2
= (int)SWIG_As_int(obj1
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 (arg1
)->RemoveFileFromHistory(arg2
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 Py_INCREF(Py_None
); resultobj
= Py_None
;
5958 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_From_int((int)result
);
5984 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5987 wxMenu
*arg2
= (wxMenu
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5991 (char *) "self",(char *) "menu", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 (arg1
)->UseMenu(arg2
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6016 wxMenu
*arg2
= (wxMenu
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6020 (char *) "self",(char *) "menu", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 (arg1
)->RemoveMenu(arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 Py_INCREF(Py_None
); resultobj
= Py_None
;
6042 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6045 wxConfigBase
*arg2
= 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "config", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6059 PyErr_SetString(PyExc_TypeError
,"null reference");
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->Load(*arg2
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 Py_INCREF(Py_None
); resultobj
= Py_None
;
6076 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6079 wxConfigBase
*arg2
= 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "config", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6093 PyErr_SetString(PyExc_TypeError
,"null reference");
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 (arg1
)->Save(*arg2
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 Py_INCREF(Py_None
); resultobj
= Py_None
;
6110 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 (arg1
)->AddFilesToMenu();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 Py_INCREF(Py_None
); resultobj
= Py_None
;
6135 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6138 wxMenu
*arg2
= (wxMenu
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6142 (char *) "self",(char *) "menu", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->AddFilesToMenu(arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6164 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6172 (char *) "self",(char *) "i", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 arg2
= (int)SWIG_As_int(obj1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6200 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_From_int((int)result
);
6226 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6229 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6231 return Py_BuildValue((char *)"");
6233 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxString
*arg1
= 0 ;
6236 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6237 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6238 wxSingleInstanceChecker
*result
;
6239 bool temp1
= False
;
6240 bool temp2
= False
;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6244 (char *) "name",(char *) "path", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6249 arg1
= wxString_in_helper(obj0
);
6250 if (arg1
== NULL
) SWIG_fail
;
6255 arg2
= wxString_in_helper(obj1
);
6256 if (arg2
== NULL
) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6290 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxSingleInstanceChecker
*result
;
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6312 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6317 (char *) "self", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 Py_INCREF(Py_None
); resultobj
= Py_None
;
6337 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6340 wxString
*arg2
= 0 ;
6341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6344 bool temp2
= False
;
6345 bool temp3
= False
;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 PyObject
* obj2
= 0 ;
6350 (char *) "self",(char *) "name",(char *) "path", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 arg2
= wxString_in_helper(obj1
);
6358 if (arg2
== NULL
) SWIG_fail
;
6363 arg3
= wxString_in_helper(obj2
);
6364 if (arg3
== NULL
) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6400 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6406 (char *) "self", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6428 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6431 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6433 return Py_BuildValue((char *)"");
6435 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxWindow
*arg1
= (wxWindow
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 PyObject
* obj2
= 0 ;
6444 (char *) "window",(char *) "dc",(char *) "method", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6454 PyErr_SetString(PyExc_TypeError
,"null reference");
6457 arg3
= (int)SWIG_As_int(obj2
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (arg1
)->GetTip();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6530 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6536 (char *) "self", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (size_t)(arg1
)->GetCurrentTip();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6556 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6559 wxString
*arg2
= 0 ;
6561 bool temp2
= False
;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6565 (char *) "self",(char *) "tip", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 arg2
= wxString_in_helper(obj1
);
6573 if (arg2
== NULL
) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6604 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6607 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6609 return Py_BuildValue((char *)"");
6611 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6614 wxPyTipProvider
*result
;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "currentTip", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6621 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6637 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6640 PyObject
*arg2
= (PyObject
*) 0 ;
6641 PyObject
*arg3
= (PyObject
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 PyObject
* obj2
= 0 ;
6646 (char *) "self",(char *) "self",(char *) "_class", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6668 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6671 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6673 return Py_BuildValue((char *)"");
6675 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxWindow
*arg1
= (wxWindow
*) 0 ;
6678 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6679 bool arg3
= (bool) True
;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 PyObject
* obj2
= 0 ;
6685 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6694 arg3
= (bool)SWIG_As_bool(obj2
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 if (!wxPyCheckForApp()) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxString
*arg1
= 0 ;
6718 wxTipProvider
*result
;
6719 bool temp1
= False
;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "filename",(char *) "currentTip", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 arg1
= wxString_in_helper(obj0
);
6729 if (arg1
== NULL
) SWIG_fail
;
6732 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 if (!wxPyCheckForApp()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6757 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6760 int arg2
= (int) -1 ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6765 (char *) "owner",(char *) "id", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 arg2
= (int)SWIG_As_int(obj1
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 if (!wxPyCheckForApp()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6792 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6797 (char *) "self", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 Py_INCREF(Py_None
); resultobj
= Py_None
;
6817 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6820 PyObject
*arg2
= (PyObject
*) 0 ;
6821 PyObject
*arg3
= (PyObject
*) 0 ;
6822 int arg4
= (int) 1 ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 PyObject
* obj3
= 0 ;
6828 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6837 arg4
= (int)SWIG_As_int(obj3
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 Py_INCREF(Py_None
); resultobj
= Py_None
;
6854 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6857 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6858 int arg3
= (int) -1 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6863 (char *) "self",(char *) "owner",(char *) "id", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 arg3
= (int)SWIG_As_int(obj2
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->SetOwner(arg2
,arg3
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6892 wxEvtHandler
*result
;
6893 PyObject
* obj0
= 0 ;
6895 (char *) "self", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= wxPyMake_wxObject(result
, 0);
6917 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6920 int arg2
= (int) -1 ;
6921 bool arg3
= (bool) False
;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6925 PyObject
* obj2
= 0 ;
6927 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 arg2
= (int)SWIG_As_int(obj1
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 arg3
= (bool)SWIG_As_bool(obj2
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6957 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7010 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_From_int((int)result
);
7036 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7042 (char *) "self", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7070 (char *) "self", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_From_int((int)result
);
7090 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7093 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7095 return Py_BuildValue((char *)"");
7097 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 int arg1
= (int) 0 ;
7100 int arg2
= (int) 0 ;
7101 wxTimerEvent
*result
;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "timerid",(char *) "interval", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 arg1
= (int)SWIG_As_int(obj0
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 arg2
= (int)SWIG_As_int(obj1
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7131 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_From_int((int)result
);
7157 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7160 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7162 return Py_BuildValue((char *)"");
7164 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7165 PyObject
*resultobj
;
7167 wxTimerRunner
*result
;
7168 PyObject
* obj0
= 0 ;
7170 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7175 PyErr_SetString(PyExc_TypeError
,"null reference");
7179 if (!wxPyCheckForApp()) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7193 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7194 PyObject
*resultobj
;
7197 bool arg3
= (bool) False
;
7198 wxTimerRunner
*result
;
7199 PyObject
* obj0
= 0 ;
7200 PyObject
* obj1
= 0 ;
7201 PyObject
* obj2
= 0 ;
7203 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7208 PyErr_SetString(PyExc_TypeError
,"null reference");
7211 arg2
= (int)SWIG_As_int(obj1
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 arg3
= (bool)SWIG_As_bool(obj2
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 if (!wxPyCheckForApp()) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7232 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7237 argc
= PyObject_Length(args
);
7238 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7239 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7245 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7253 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7256 if ((argc
>= 2) && (argc
<= 3)) {
7260 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7268 _v
= SWIG_Check_int(argv
[1]);
7271 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7273 _v
= SWIG_Check_bool(argv
[2]);
7275 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7281 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7286 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "self", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 Py_INCREF(Py_None
); resultobj
= Py_None
;
7311 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7315 bool arg3
= (bool) False
;
7316 PyObject
* obj0
= 0 ;
7317 PyObject
* obj1
= 0 ;
7318 PyObject
* obj2
= 0 ;
7320 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7326 arg2
= (int)SWIG_As_int(obj1
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 arg3
= (bool)SWIG_As_bool(obj2
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->Start(arg2
,arg3
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7349 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7351 return Py_BuildValue((char *)"");
7353 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (wxLog
*)new wxLog();
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7375 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (bool)wxLog::IsEnabled();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7399 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 bool arg1
= (bool) True
;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "doIt", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7410 arg1
= (bool)SWIG_As_bool(obj0
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (bool)wxLog::EnableLogging(arg1
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7429 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7432 wxChar
*arg2
= (wxChar
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7436 PyObject
* obj2
= 0 ;
7438 (char *) "level",(char *) "szString",(char *) "t", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7442 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxLog
*arg1
= (wxLog
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "self", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 Py_INCREF(Py_None
); resultobj
= Py_None
;
7487 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 wxLog::FlushActive();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 Py_INCREF(Py_None
); resultobj
= Py_None
;
7508 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= (wxLog
*)wxLog::GetActiveTarget();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7530 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxLog
*arg1
= (wxLog
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7536 (char *) "pLogger", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7556 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 bool arg1
= (bool) True
;
7601 PyObject
* obj0
= 0 ;
7603 (char *) "bVerbose", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7608 arg1
= (bool)SWIG_As_bool(obj0
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 wxLog::SetVerbose(arg1
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 Py_INCREF(Py_None
); resultobj
= Py_None
;
7625 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "logLevel", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7634 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 wxLog::SetLogLevel(arg1
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 wxLog::DontCreateOnDemand();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 Py_INCREF(Py_None
); resultobj
= Py_None
;
7671 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "ulMask", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7680 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 wxLog::SetTraceMask(arg1
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxString
*arg1
= 0 ;
7699 bool temp1
= False
;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "str", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7707 arg1
= wxString_in_helper(obj0
);
7708 if (arg1
== NULL
) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 wxLog::AddTraceMask((wxString
const &)*arg1
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxString
*arg1
= 0 ;
7736 bool temp1
= False
;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "str", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7744 arg1
= wxString_in_helper(obj0
);
7745 if (arg1
== NULL
) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 wxLog::ClearTraceMasks();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 Py_INCREF(Py_None
); resultobj
= Py_None
;
7791 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxArrayString
*result
;
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7803 result
= (wxArrayString
*) &_result_ref
;
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= wxArrayString2PyList_helper(*result
);
7818 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxChar
*arg1
= (wxChar
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxLog::SetTimestamp((wxChar
const *)arg1
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (bool)wxLog::GetVerbose();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7867 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (wxTraceMask
)wxLog::GetTraceMask();
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7889 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxChar
*arg1
= (wxChar
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "mask", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7917 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (wxLogLevel
)wxLog::GetLogLevel();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7939 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (wxChar
*)wxLog::GetTimestamp();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7961 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= Log_TimeStamp();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7989 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxLog
*arg1
= (wxLog
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 wxLog_Destroy(arg1
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 Py_INCREF(Py_None
); resultobj
= Py_None
;
8014 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8017 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8019 return Py_BuildValue((char *)"");
8021 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxLogStderr
*result
;
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxLogStderr
*)new wxLogStderr();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8043 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8046 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8048 return Py_BuildValue((char *)"");
8050 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8053 wxLogTextCtrl
*result
;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "pTextCtrl", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8076 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8079 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8081 return Py_BuildValue((char *)"");
8083 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (wxLogGui
*)new wxLogGui();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8105 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8108 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8110 return Py_BuildValue((char *)"");
8112 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxFrame
*arg1
= (wxFrame
*) 0 ;
8115 wxString
*arg2
= 0 ;
8116 bool arg3
= (bool) True
;
8117 bool arg4
= (bool) True
;
8118 wxLogWindow
*result
;
8119 bool temp2
= False
;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8122 PyObject
* obj2
= 0 ;
8123 PyObject
* obj3
= 0 ;
8125 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 arg2
= wxString_in_helper(obj1
);
8133 if (arg2
== NULL
) SWIG_fail
;
8137 arg3
= (bool)SWIG_As_bool(obj2
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8141 arg4
= (bool)SWIG_As_bool(obj3
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8166 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8169 bool arg2
= (bool) True
;
8170 PyObject
* obj0
= 0 ;
8171 PyObject
* obj1
= 0 ;
8173 (char *) "self",(char *) "bShow", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8180 arg2
= (bool)SWIG_As_bool(obj1
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8197 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8201 PyObject
* obj0
= 0 ;
8203 (char *) "self", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= wxPyMake_wxObject(result
, 0);
8225 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8251 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8257 (char *) "self", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8279 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "bDoPass", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8292 arg2
= (bool)SWIG_As_bool(obj1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 (arg1
)->PassMessages(arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8311 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8313 return Py_BuildValue((char *)"");
8315 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxLog
*arg1
= (wxLog
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "logger", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (wxLogChain
*)new wxLogChain(arg1
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8341 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8344 wxLog
*arg2
= (wxLog
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "self",(char *) "logger", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 (arg1
)->SetLog(arg2
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8370 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "self",(char *) "bDoPass", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= (bool)SWIG_As_bool(obj1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->PassMessages(arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8405 (char *) "self", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (bool)(arg1
)->IsPassingMessages();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8427 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "self", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (wxLog
*)(arg1
)->GetOldLog();
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8453 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8456 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8458 return Py_BuildValue((char *)"");
8460 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 unsigned long result
;
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (unsigned long)wxSysErrorCode();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8482 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 unsigned long arg1
= (unsigned long) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "nErrCode", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8493 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= wxSysErrorMsg(arg1
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8516 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxString
*arg1
= 0 ;
8519 bool temp1
= False
;
8520 PyObject
* obj0
= 0 ;
8522 (char *) "msg", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8527 arg1
= wxString_in_helper(obj0
);
8528 if (arg1
== NULL
) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 wxLogFatalError((wxString
const &)*arg1
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8553 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxString
*arg1
= 0 ;
8556 bool temp1
= False
;
8557 PyObject
* obj0
= 0 ;
8559 (char *) "msg", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8564 arg1
= wxString_in_helper(obj0
);
8565 if (arg1
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxLogError((wxString
const &)*arg1
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8590 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxString
*arg1
= 0 ;
8593 bool temp1
= False
;
8594 PyObject
* obj0
= 0 ;
8596 (char *) "msg", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8601 arg1
= wxString_in_helper(obj0
);
8602 if (arg1
== NULL
) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxLogWarning((wxString
const &)*arg1
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxString
*arg1
= 0 ;
8630 bool temp1
= False
;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "msg", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8638 arg1
= wxString_in_helper(obj0
);
8639 if (arg1
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 wxLogMessage((wxString
const &)*arg1
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxString
*arg1
= 0 ;
8667 bool temp1
= False
;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "msg", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8675 arg1
= wxString_in_helper(obj0
);
8676 if (arg1
== NULL
) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 wxLogInfo((wxString
const &)*arg1
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxString
*arg1
= 0 ;
8704 bool temp1
= False
;
8705 PyObject
* obj0
= 0 ;
8707 (char *) "msg", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8712 arg1
= wxString_in_helper(obj0
);
8713 if (arg1
== NULL
) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxLogDebug((wxString
const &)*arg1
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 Py_INCREF(Py_None
); resultobj
= Py_None
;
8738 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8740 wxString
*arg1
= 0 ;
8741 bool temp1
= False
;
8742 PyObject
* obj0
= 0 ;
8744 (char *) "msg", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8749 arg1
= wxString_in_helper(obj0
);
8750 if (arg1
== NULL
) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 wxLogVerbose((wxString
const &)*arg1
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 Py_INCREF(Py_None
); resultobj
= Py_None
;
8775 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxString
*arg1
= 0 ;
8778 bool temp1
= False
;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "msg", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8786 arg1
= wxString_in_helper(obj0
);
8787 if (arg1
== NULL
) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 wxLogStatus((wxString
const &)*arg1
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8812 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxFrame
*arg1
= (wxFrame
*) 0 ;
8815 wxString
*arg2
= 0 ;
8816 bool temp2
= False
;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8820 (char *) "pFrame",(char *) "msg", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 arg2
= wxString_in_helper(obj1
);
8828 if (arg2
== NULL
) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 Py_INCREF(Py_None
); resultobj
= Py_None
;
8853 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxString
*arg1
= 0 ;
8856 bool temp1
= False
;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "msg", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8864 arg1
= wxString_in_helper(obj0
);
8865 if (arg1
== NULL
) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 wxLogSysError((wxString
const &)*arg1
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8891 PyObject
*resultobj
;
8892 unsigned long arg1
;
8893 wxString
*arg2
= 0 ;
8894 bool temp2
= False
;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8898 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8899 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 arg2
= wxString_in_helper(obj1
);
8903 if (arg2
== NULL
) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8929 PyObject
*resultobj
;
8930 wxString
*arg1
= 0 ;
8931 wxString
*arg2
= 0 ;
8932 bool temp1
= False
;
8933 bool temp2
= False
;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8937 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8939 arg1
= wxString_in_helper(obj0
);
8940 if (arg1
== NULL
) SWIG_fail
;
8944 arg2
= wxString_in_helper(obj1
);
8945 if (arg2
== NULL
) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8983 argc
= PyObject_Length(args
);
8984 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8985 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8990 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8994 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8997 return _wrap_LogTrace__SWIG_1(self
,args
);
9003 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9006 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9009 return _wrap_LogTrace__SWIG_0(self
,args
);
9014 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9019 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 unsigned long arg1
;
9022 wxString
*arg2
= 0 ;
9023 bool temp2
= False
;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9027 (char *) "level",(char *) "msg", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9031 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 arg2
= wxString_in_helper(obj1
);
9035 if (arg2
== NULL
) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9060 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxString
*arg1
= 0 ;
9063 wxString
*arg2
= 0 ;
9064 bool temp1
= False
;
9065 bool temp2
= False
;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9069 (char *) "title",(char *) "text", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9074 arg1
= wxString_in_helper(obj0
);
9075 if (arg1
== NULL
) SWIG_fail
;
9079 arg2
= wxString_in_helper(obj1
);
9080 if (arg2
== NULL
) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 Py_INCREF(Py_None
); resultobj
= Py_None
;
9113 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (wxLogNull
*)new wxLogNull();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9135 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 Py_INCREF(Py_None
); resultobj
= Py_None
;
9160 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9163 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9165 return Py_BuildValue((char *)"");
9167 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (wxPyLog
*)new wxPyLog();
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9189 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9192 PyObject
*arg2
= (PyObject
*) 0 ;
9193 PyObject
*arg3
= (PyObject
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 PyObject
* obj2
= 0 ;
9198 (char *) "self",(char *) "self",(char *) "_class", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 Py_INCREF(Py_None
); resultobj
= Py_None
;
9220 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9223 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9225 return Py_BuildValue((char *)"");
9227 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9230 int arg2
= (int) wxSIGTERM
;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj1
= 0 ;
9235 (char *) "pid",(char *) "sig", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9239 arg1
= (int)SWIG_As_int(obj0
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 arg2
= (int)SWIG_As_int(obj1
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_From_int((int)result
);
9259 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "pid", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9269 arg1
= (int)SWIG_As_int(obj0
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (bool)wxPyProcess::Exists(arg1
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxString
*arg1
= 0 ;
9290 int arg2
= (int) wxEXEC_ASYNC
;
9291 wxPyProcess
*result
;
9292 bool temp1
= False
;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "cmd",(char *) "flags", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9301 arg1
= wxString_in_helper(obj0
);
9302 if (arg1
== NULL
) SWIG_fail
;
9306 arg2
= (int)SWIG_As_int(obj1
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9331 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9334 int arg2
= (int) -1 ;
9335 wxPyProcess
*result
;
9336 PyObject
* obj0
= 0 ;
9337 PyObject
* obj1
= 0 ;
9339 (char *) "parent",(char *) "id", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9348 arg2
= (int)SWIG_As_int(obj1
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9365 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9368 PyObject
*arg2
= (PyObject
*) 0 ;
9369 PyObject
*arg3
= (PyObject
*) 0 ;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj2
= 0 ;
9374 (char *) "self",(char *) "self",(char *) "_class", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 Py_INCREF(Py_None
); resultobj
= Py_None
;
9396 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9405 (char *) "self",(char *) "pid",(char *) "status", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9411 arg2
= (int)SWIG_As_int(obj1
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9413 arg3
= (int)SWIG_As_int(obj2
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 (arg1
)->base_OnTerminate(arg2
,arg3
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 Py_INCREF(Py_None
); resultobj
= Py_None
;
9429 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9434 (char *) "self", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 Py_INCREF(Py_None
); resultobj
= Py_None
;
9454 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "self", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (bool)(arg1
)->IsRedirected();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9482 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9510 wxInputStream
*result
;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 wxPyInputStream
* _ptr
= NULL
;
9530 _ptr
= new wxPyInputStream(result
);
9532 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9540 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9543 wxInputStream
*result
;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 wxPyInputStream
* _ptr
= NULL
;
9563 _ptr
= new wxPyInputStream(result
);
9565 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9573 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9576 wxOutputStream
*result
;
9577 PyObject
* obj0
= 0 ;
9579 (char *) "self", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9599 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "self", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->CloseOutput();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9652 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "self", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9680 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9686 (char *) "self", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9708 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9711 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9713 return Py_BuildValue((char *)"");
9715 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 int arg1
= (int) 0 ;
9718 int arg2
= (int) 0 ;
9719 int arg3
= (int) 0 ;
9720 wxProcessEvent
*result
;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 PyObject
* obj2
= 0 ;
9725 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9730 arg1
= (int)SWIG_As_int(obj0
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9734 arg2
= (int)SWIG_As_int(obj1
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9738 arg3
= (int)SWIG_As_int(obj2
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9755 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9761 (char *) "self", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (int)(arg1
)->GetPid();
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_From_int((int)result
);
9781 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (int)(arg1
)->GetExitCode();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_From_int((int)result
);
9807 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9812 PyObject
* obj1
= 0 ;
9814 (char *) "self",(char *) "m_pid", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 arg2
= (int)SWIG_As_int(obj1
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9822 if (arg1
) (arg1
)->m_pid
= arg2
;
9824 Py_INCREF(Py_None
); resultobj
= Py_None
;
9831 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "self", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 result
= (int) ((arg1
)->m_pid
);
9845 resultobj
= SWIG_From_int((int)result
);
9852 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9859 (char *) "self",(char *) "m_exitcode", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 arg2
= (int)SWIG_As_int(obj1
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9867 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 result
= (int) ((arg1
)->m_exitcode
);
9890 resultobj
= SWIG_From_int((int)result
);
9897 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9900 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9902 return Py_BuildValue((char *)"");
9904 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxString
*arg1
= 0 ;
9907 int arg2
= (int) wxEXEC_ASYNC
;
9908 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9910 bool temp1
= False
;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9913 PyObject
* obj2
= 0 ;
9915 (char *) "command",(char *) "flags",(char *) "process", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9920 arg1
= wxString_in_helper(obj0
);
9921 if (arg1
== NULL
) SWIG_fail
;
9925 arg2
= (int)SWIG_As_int(obj1
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 if (!wxPyCheckForApp()) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_From_long((long)result
);
9955 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 int arg1
= (int) wxJOYSTICK1
;
9959 PyObject
* obj0
= 0 ;
9961 (char *) "joystick", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9966 arg1
= (int)SWIG_As_int(obj0
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9970 if (!wxPyCheckForApp()) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (wxJoystick
*)new wxJoystick(arg1
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9984 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 Py_INCREF(Py_None
); resultobj
= Py_None
;
10009 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (arg1
)->GetPosition();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 wxPoint
* resultptr
;
10030 resultptr
= new wxPoint((wxPoint
&) result
);
10031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10039 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (int)(arg1
)->GetZPosition();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_From_int((int)result
);
10065 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (int)(arg1
)->GetButtonState();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= SWIG_From_int((int)result
);
10091 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)(arg1
)->GetPOVPosition();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_From_int((int)result
);
10117 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)(arg1
)->GetPOVCTSPosition();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int((int)result
);
10143 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (int)(arg1
)->GetRudderPosition();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_From_int((int)result
);
10169 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (int)(arg1
)->GetUPosition();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_From_int((int)result
);
10195 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "self", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (int)(arg1
)->GetVPosition();
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_From_int((int)result
);
10221 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (int)(arg1
)->GetMovementThreshold();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int((int)result
);
10247 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self",(char *) "threshold", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 arg2
= (int)SWIG_As_int(obj1
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 (arg1
)->SetMovementThreshold(arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (bool)(arg1
)->IsOk();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (int)(arg1
)->GetNumberJoysticks();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int((int)result
);
10330 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)(arg1
)->GetManufacturerId();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_From_int((int)result
);
10356 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (int)(arg1
)->GetProductId();
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_From_int((int)result
);
10382 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (arg1
)->GetProductName();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10414 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (int)(arg1
)->GetXMin();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_From_int((int)result
);
10440 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (int)(arg1
)->GetYMin();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_From_int((int)result
);
10466 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (int)(arg1
)->GetZMin();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_From_int((int)result
);
10492 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (int)(arg1
)->GetXMax();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_From_int((int)result
);
10518 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (int)(arg1
)->GetYMax();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_From_int((int)result
);
10544 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (int)(arg1
)->GetZMax();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_From_int((int)result
);
10570 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10574 PyObject
* obj0
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (int)(arg1
)->GetNumberButtons();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= SWIG_From_int((int)result
);
10596 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (int)(arg1
)->GetNumberAxes();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_From_int((int)result
);
10622 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (int)(arg1
)->GetMaxButtons();
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_From_int((int)result
);
10648 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)(arg1
)->GetMaxAxes();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_From_int((int)result
);
10674 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (int)(arg1
)->GetPollingMin();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_From_int((int)result
);
10700 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (int)(arg1
)->GetPollingMax();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int((int)result
);
10726 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (int)(arg1
)->GetRudderMin();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_From_int((int)result
);
10752 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (int)(arg1
)->GetRudderMax();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= SWIG_From_int((int)result
);
10778 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (int)(arg1
)->GetUMin();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_From_int((int)result
);
10804 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (int)(arg1
)->GetUMax();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_From_int((int)result
);
10830 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (int)(arg1
)->GetVMin();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_From_int((int)result
);
10856 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (int)(arg1
)->GetVMax();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_From_int((int)result
);
10882 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (bool)(arg1
)->HasRudder();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10910 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= (bool)(arg1
)->HasZ();
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10938 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (bool)(arg1
)->HasU();
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10966 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)(arg1
)->HasV();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 result
= (bool)(arg1
)->HasPOV();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (bool)(arg1
)->HasPOV4Dir();
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11050 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11054 PyObject
* obj0
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)(arg1
)->HasPOVCTS();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11081 wxWindow
*arg2
= (wxWindow
*) 0 ;
11082 int arg3
= (int) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 arg3
= (int)SWIG_As_int(obj2
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)(arg1
)->ReleaseCapture();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11147 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11149 return Py_BuildValue((char *)"");
11151 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11154 wxPoint
*arg2
= (wxPoint
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "m_pos", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 if (arg1
) (arg1
)->m_pos
= *arg2
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11187 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11196 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "m_zPosition", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 arg2
= (int)SWIG_As_int(obj1
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11211 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 result
= (int) ((arg1
)->m_zPosition
);
11234 resultobj
= SWIG_From_int((int)result
);
11241 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "m_buttonChange", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 arg2
= (int)SWIG_As_int(obj1
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 result
= (int) ((arg1
)->m_buttonChange
);
11279 resultobj
= SWIG_From_int((int)result
);
11286 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "m_buttonState", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 arg2
= (int)SWIG_As_int(obj1
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11301 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11322 result
= (int) ((arg1
)->m_buttonState
);
11324 resultobj
= SWIG_From_int((int)result
);
11331 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "m_joyStick", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 arg2
= (int)SWIG_As_int(obj1
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11346 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11348 Py_INCREF(Py_None
); resultobj
= Py_None
;
11355 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11367 result
= (int) ((arg1
)->m_joyStick
);
11369 resultobj
= SWIG_From_int((int)result
);
11376 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11379 int arg2
= (int) 0 ;
11380 int arg3
= (int) wxJOYSTICK1
;
11381 int arg4
= (int) 0 ;
11382 wxJoystickEvent
*result
;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 PyObject
* obj3
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11393 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 arg2
= (int)SWIG_As_int(obj1
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 arg3
= (int)SWIG_As_int(obj2
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11405 arg4
= (int)SWIG_As_int(obj3
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11422 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11442 wxPoint
* resultptr
;
11443 resultptr
= new wxPoint((wxPoint
&) result
);
11444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11452 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_From_int((int)result
);
11478 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_From_int((int)result
);
11504 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_int((int)result
);
11530 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_From_int((int)result
);
11556 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "stick", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 arg2
= (int)SWIG_As_int(obj1
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetJoystick(arg2
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "state", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11598 arg2
= (int)SWIG_As_int(obj1
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 (arg1
)->SetButtonState(arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 Py_INCREF(Py_None
); resultobj
= Py_None
;
11614 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self",(char *) "change", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 arg2
= (int)SWIG_As_int(obj1
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->SetButtonChange(arg2
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11643 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11646 wxPoint
*arg2
= 0 ;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "pos", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "self",(char *) "zPos", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11688 arg2
= (int)SWIG_As_int(obj1
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->SetZPosition(arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11704 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11708 PyObject
* obj0
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "self", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11732 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11736 PyObject
* obj0
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11760 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11788 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11791 int arg2
= (int) wxJOY_BUTTON_ANY
;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "but", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 arg2
= (int)SWIG_As_int(obj1
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11825 int arg2
= (int) wxJOY_BUTTON_ANY
;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self",(char *) "but", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 arg2
= (int)SWIG_As_int(obj1
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11856 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11859 int arg2
= (int) wxJOY_BUTTON_ANY
;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "but", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 arg2
= (int)SWIG_As_int(obj1
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11890 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11895 return Py_BuildValue((char *)"");
11897 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11900 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11902 bool temp1
= False
;
11903 PyObject
* obj0
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "fileName", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11911 arg1
= wxString_in_helper(obj0
);
11912 if (arg1
== NULL
) SWIG_fail
;
11917 if (!wxPyCheckForApp()) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11939 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 PyObject
*arg1
= (PyObject
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "data", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11951 if (!wxPyCheckForApp()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxSound
*)new_wxSound(arg1
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11965 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxSound
*arg1
= (wxSound
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 Py_INCREF(Py_None
); resultobj
= Py_None
;
11990 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxSound
*arg1
= (wxSound
*) 0 ;
11993 wxString
*arg2
= 0 ;
11995 bool temp2
= False
;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "fileName", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 arg2
= wxString_in_helper(obj1
);
12007 if (arg2
== NULL
) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12034 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxSound
*arg1
= (wxSound
*) 0 ;
12037 PyObject
*arg2
= (PyObject
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "data", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12065 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxSound
*arg1
= (wxSound
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (bool)(arg1
)->IsOk();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12093 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxSound
*arg1
= (wxSound
*) 0 ;
12096 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "flags", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 if (!wxPyCheckForApp()) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxString
*arg1
= 0 ;
12131 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12133 bool temp1
= False
;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "filename",(char *) "flags", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12142 arg1
= wxString_in_helper(obj0
);
12143 if (arg1
== NULL
) SWIG_fail
;
12147 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12151 if (!wxPyCheckForApp()) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12175 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 char *kwnames
[] = {
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12183 if (!wxPyCheckForApp()) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12200 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12202 return Py_BuildValue((char *)"");
12204 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxString
*arg1
= 0 ;
12207 wxString
*arg2
= 0 ;
12208 wxString
*arg3
= 0 ;
12209 wxString
*arg4
= 0 ;
12210 wxFileTypeInfo
*result
;
12211 bool temp1
= False
;
12212 bool temp2
= False
;
12213 bool temp3
= False
;
12214 bool temp4
= False
;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 PyObject
* obj2
= 0 ;
12218 PyObject
* obj3
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12225 arg1
= wxString_in_helper(obj0
);
12226 if (arg1
== NULL
) SWIG_fail
;
12230 arg2
= wxString_in_helper(obj1
);
12231 if (arg2
== NULL
) SWIG_fail
;
12235 arg3
= wxString_in_helper(obj2
);
12236 if (arg3
== NULL
) SWIG_fail
;
12240 arg4
= wxString_in_helper(obj3
);
12241 if (arg4
== NULL
) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12290 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxArrayString
*arg1
= 0 ;
12293 wxFileTypeInfo
*result
;
12294 bool temp1
= False
;
12295 PyObject
* obj0
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "sArray", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12302 if (! PySequence_Check(obj0
)) {
12303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12306 arg1
= new wxArrayString
;
12308 int i
, len
=PySequence_Length(obj0
);
12309 for (i
=0; i
<len
; i
++) {
12310 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12312 PyObject
* str
= PyObject_Unicode(item
);
12314 PyObject
* str
= PyObject_Str(item
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12317 arg1
->Add(Py2wxString(str
));
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12331 if (temp1
) delete arg1
;
12336 if (temp1
) delete arg1
;
12342 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxFileTypeInfo
*result
;
12345 char *kwnames
[] = {
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12364 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12392 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12395 wxString
*arg2
= 0 ;
12396 int arg3
= (int) 0 ;
12397 bool temp2
= False
;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 arg2
= wxString_in_helper(obj1
);
12410 if (arg2
== NULL
) SWIG_fail
;
12414 arg3
= (int)SWIG_As_int(obj2
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 Py_INCREF(Py_None
); resultobj
= Py_None
;
12439 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12442 wxString
*arg2
= 0 ;
12443 bool temp2
= False
;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "shortDesc", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 arg2
= wxString_in_helper(obj1
);
12455 if (arg2
== NULL
) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 Py_INCREF(Py_None
); resultobj
= Py_None
;
12480 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12496 result
= (wxString
*) &_result_ref
;
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12506 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12515 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12531 result
= (wxString
*) &_result_ref
;
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12541 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12550 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12566 result
= (wxString
*) &_result_ref
;
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12576 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12585 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12601 result
= (wxString
*) &_result_ref
;
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12620 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12636 result
= (wxString
*) &_result_ref
;
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12646 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12655 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12658 wxArrayString
*result
;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12671 result
= (wxArrayString
*) &_result_ref
;
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= wxArrayString2PyList_helper(*result
);
12686 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_From_int((int)result
);
12712 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12728 result
= (wxString
*) &_result_ref
;
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12747 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= SWIG_From_int((int)result
);
12773 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12776 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12778 return Py_BuildValue((char *)"");
12780 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxFileTypeInfo
*arg1
= 0 ;
12783 wxFileType
*result
;
12784 PyObject
* obj0
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "ftInfo", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12793 if (arg1
== NULL
) {
12794 PyErr_SetString(PyExc_TypeError
,"null reference");
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12811 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxFileType
*arg1
= (wxFileType
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 Py_INCREF(Py_None
); resultobj
= Py_None
;
12836 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxFileType
*arg1
= (wxFileType
*) 0 ;
12840 PyObject
* obj0
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= result
;
12862 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxFileType
*arg1
= (wxFileType
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
;
12888 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxFileType
*arg1
= (wxFileType
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= result
;
12914 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxFileType
*arg1
= (wxFileType
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12940 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxFileType
*arg1
= (wxFileType
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
;
12966 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxFileType
*arg1
= (wxFileType
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= result
;
12992 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxFileType
*arg1
= (wxFileType
*) 0 ;
12995 wxString
*arg2
= 0 ;
12996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12999 bool temp2
= False
;
13000 bool temp3
= False
;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 PyObject
* obj2
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 arg2
= wxString_in_helper(obj1
);
13013 if (arg2
== NULL
) SWIG_fail
;
13018 arg3
= wxString_in_helper(obj2
);
13019 if (arg3
== NULL
) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
;
13053 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxFileType
*arg1
= (wxFileType
*) 0 ;
13056 wxString
*arg2
= 0 ;
13057 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13058 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13060 bool temp2
= False
;
13061 bool temp3
= False
;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 PyObject
* obj2
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 arg2
= wxString_in_helper(obj1
);
13074 if (arg2
== NULL
) SWIG_fail
;
13079 arg3
= wxString_in_helper(obj2
);
13080 if (arg3
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= result
;
13114 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxFileType
*arg1
= (wxFileType
*) 0 ;
13117 wxString
*arg2
= 0 ;
13118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13121 bool temp2
= False
;
13122 bool temp3
= False
;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 PyObject
* obj2
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13134 arg2
= wxString_in_helper(obj1
);
13135 if (arg2
== NULL
) SWIG_fail
;
13140 arg3
= wxString_in_helper(obj2
);
13141 if (arg3
== NULL
) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= result
;
13175 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxFileType
*arg1
= (wxFileType
*) 0 ;
13178 wxString
*arg2
= 0 ;
13179 wxString
*arg3
= 0 ;
13180 bool arg4
= (bool) True
;
13182 bool temp2
= False
;
13183 bool temp3
= False
;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 PyObject
* obj3
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 arg2
= wxString_in_helper(obj1
);
13197 if (arg2
== NULL
) SWIG_fail
;
13201 arg3
= wxString_in_helper(obj2
);
13202 if (arg3
== NULL
) SWIG_fail
;
13206 arg4
= (bool)SWIG_As_bool(obj3
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13241 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxFileType
*arg1
= (wxFileType
*) 0 ;
13244 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13245 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13246 int arg3
= (int) 0 ;
13248 bool temp2
= False
;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 PyObject
* obj2
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "cmd",(char *) "index", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg2
= wxString_in_helper(obj1
);
13262 if (arg2
== NULL
) SWIG_fail
;
13267 arg3
= (int)SWIG_As_int(obj2
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13294 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxFileType
*arg1
= (wxFileType
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)(arg1
)->Unassociate();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxString
*arg1
= 0 ;
13325 wxString
*arg2
= 0 ;
13326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13329 bool temp1
= False
;
13330 bool temp2
= False
;
13331 bool temp3
= False
;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 PyObject
* obj2
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13341 arg1
= wxString_in_helper(obj0
);
13342 if (arg1
== NULL
) SWIG_fail
;
13346 arg2
= wxString_in_helper(obj1
);
13347 if (arg2
== NULL
) SWIG_fail
;
13352 arg3
= wxString_in_helper(obj2
);
13353 if (arg3
== NULL
) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13401 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13404 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13406 return Py_BuildValue((char *)"");
13408 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13409 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13414 static PyObject
*_wrap_TheMimeTypesManager_get() {
13417 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13422 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxString
*arg1
= 0 ;
13425 wxString
*arg2
= 0 ;
13427 bool temp1
= False
;
13428 bool temp2
= False
;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "mimeType",(char *) "wildcard", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 arg1
= wxString_in_helper(obj0
);
13438 if (arg1
== NULL
) SWIG_fail
;
13442 arg2
= wxString_in_helper(obj1
);
13443 if (arg2
== NULL
) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13478 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxMimeTypesManager
*result
;
13481 char *kwnames
[] = {
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13500 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13503 int arg2
= (int) wxMAILCAP_ALL
;
13504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13506 bool temp3
= False
;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 PyObject
* obj2
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 arg2
= (int)SWIG_As_int(obj1
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13523 arg3
= wxString_in_helper(obj2
);
13524 if (arg3
== NULL
) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 (arg1
)->ClearData();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13578 wxString
*arg2
= 0 ;
13579 wxFileType
*result
;
13580 bool temp2
= False
;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "ext", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 arg2
= wxString_in_helper(obj1
);
13592 if (arg2
== NULL
) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13617 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13620 wxString
*arg2
= 0 ;
13621 wxFileType
*result
;
13622 bool temp2
= False
;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "mimeType", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 arg2
= wxString_in_helper(obj1
);
13634 if (arg2
== NULL
) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13659 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13662 wxString
*arg2
= 0 ;
13663 bool arg3
= (bool) False
;
13665 bool temp2
= False
;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 PyObject
* obj2
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13677 arg2
= wxString_in_helper(obj1
);
13678 if (arg2
== NULL
) SWIG_fail
;
13682 arg3
= (bool)SWIG_As_bool(obj2
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13712 wxString
*arg2
= 0 ;
13714 bool temp2
= False
;
13715 PyObject
* obj0
= 0 ;
13716 PyObject
* obj1
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self",(char *) "filename", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 arg2
= wxString_in_helper(obj1
);
13726 if (arg2
== NULL
) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13753 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= result
;
13779 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13782 wxFileTypeInfo
*arg2
= 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self",(char *) "ft", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13795 if (arg2
== NULL
) {
13796 PyErr_SetString(PyExc_TypeError
,"null reference");
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 Py_INCREF(Py_None
); resultobj
= Py_None
;
13813 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13816 wxFileTypeInfo
*arg2
= 0 ;
13817 wxFileType
*result
;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "ftInfo", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13830 if (arg2
== NULL
) {
13831 PyErr_SetString(PyExc_TypeError
,"null reference");
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13848 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13851 wxFileType
*arg2
= (wxFileType
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "ft", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (bool)(arg1
)->Unassociate(arg2
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13880 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 Py_INCREF(Py_None
); resultobj
= Py_None
;
13905 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13908 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13910 return Py_BuildValue((char *)"");
13912 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13913 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13918 static PyObject
*_wrap_ART_TOOLBAR_get() {
13923 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13925 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13932 static int _wrap_ART_MENU_set(PyObject
*) {
13933 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13938 static PyObject
*_wrap_ART_MENU_get() {
13943 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13945 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13952 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13953 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13958 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13963 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13965 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13972 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13973 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13978 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13983 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13985 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13992 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13993 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13998 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14003 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14005 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14012 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14013 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14018 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14023 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14025 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14032 static int _wrap_ART_BUTTON_set(PyObject
*) {
14033 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14038 static PyObject
*_wrap_ART_BUTTON_get() {
14043 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14045 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14052 static int _wrap_ART_OTHER_set(PyObject
*) {
14053 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14058 static PyObject
*_wrap_ART_OTHER_get() {
14063 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14065 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14072 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14073 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14078 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14083 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14085 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14092 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14093 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14098 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14103 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14105 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14112 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14113 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14118 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14123 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14125 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14132 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14133 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14138 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14143 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14145 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14152 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14153 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14158 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14163 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14165 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14172 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14173 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14178 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14183 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14185 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14192 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14193 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14198 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14203 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14205 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14212 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14213 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14218 static PyObject
*_wrap_ART_GO_BACK_get() {
14223 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14225 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14232 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14233 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14238 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14243 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14245 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14252 static int _wrap_ART_GO_UP_set(PyObject
*) {
14253 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14258 static PyObject
*_wrap_ART_GO_UP_get() {
14263 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14265 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14272 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14273 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14278 static PyObject
*_wrap_ART_GO_DOWN_get() {
14283 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14285 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14292 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14293 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14298 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14303 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14305 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14312 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14313 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14318 static PyObject
*_wrap_ART_GO_HOME_get() {
14323 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14325 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14332 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14333 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14338 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14343 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14345 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14352 static int _wrap_ART_PRINT_set(PyObject
*) {
14353 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14358 static PyObject
*_wrap_ART_PRINT_get() {
14363 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14365 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14372 static int _wrap_ART_HELP_set(PyObject
*) {
14373 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14378 static PyObject
*_wrap_ART_HELP_get() {
14383 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14385 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14392 static int _wrap_ART_TIP_set(PyObject
*) {
14393 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14398 static PyObject
*_wrap_ART_TIP_get() {
14403 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14405 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14412 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14413 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14418 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14423 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14425 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14432 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14433 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14438 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14443 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14445 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14452 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14453 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14458 static PyObject
*_wrap_ART_NEW_DIR_get() {
14463 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14465 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14472 static int _wrap_ART_FOLDER_set(PyObject
*) {
14473 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14478 static PyObject
*_wrap_ART_FOLDER_get() {
14483 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14485 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14492 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14493 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14498 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14503 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14505 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14512 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14513 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14518 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14523 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14525 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14532 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14533 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14538 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14543 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14545 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14552 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14553 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14558 static PyObject
*_wrap_ART_TICK_MARK_get() {
14563 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14565 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14572 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14573 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14578 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14583 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14585 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14592 static int _wrap_ART_ERROR_set(PyObject
*) {
14593 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14598 static PyObject
*_wrap_ART_ERROR_get() {
14603 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14605 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14612 static int _wrap_ART_QUESTION_set(PyObject
*) {
14613 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14618 static PyObject
*_wrap_ART_QUESTION_get() {
14623 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14625 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14632 static int _wrap_ART_WARNING_set(PyObject
*) {
14633 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14638 static PyObject
*_wrap_ART_WARNING_get() {
14643 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14645 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14652 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14653 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14658 static PyObject
*_wrap_ART_INFORMATION_get() {
14663 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14665 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14672 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14673 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14678 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14683 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14685 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14692 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxPyArtProvider
*result
;
14695 char *kwnames
[] = {
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14701 if (!wxPyCheckForApp()) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14715 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14718 PyObject
*arg2
= (PyObject
*) 0 ;
14719 PyObject
*arg3
= (PyObject
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 PyObject
* obj2
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "self",(char *) "_class", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 Py_INCREF(Py_None
); resultobj
= Py_None
;
14746 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "provider", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 wxPyArtProvider::PushProvider(arg1
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 Py_INCREF(Py_None
); resultobj
= Py_None
;
14771 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14774 char *kwnames
[] = {
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (bool)wxPyArtProvider::PopProvider();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14795 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "provider", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14823 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxString
*arg1
= 0 ;
14826 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14827 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14828 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14829 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14831 bool temp1
= False
;
14832 bool temp2
= False
;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 PyObject
* obj2
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "id",(char *) "client",(char *) "size", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14843 arg1
= wxString_in_helper(obj0
);
14844 if (arg1
== NULL
) SWIG_fail
;
14849 arg2
= wxString_in_helper(obj1
);
14850 if (arg2
== NULL
) SWIG_fail
;
14857 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14861 if (!wxPyCheckForApp()) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 wxBitmap
* resultptr
;
14870 resultptr
= new wxBitmap((wxBitmap
&) result
);
14871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14895 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxString
*arg1
= 0 ;
14898 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14899 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14900 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14901 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14903 bool temp1
= False
;
14904 bool temp2
= False
;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 PyObject
* obj2
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "id",(char *) "client",(char *) "size", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14915 arg1
= wxString_in_helper(obj0
);
14916 if (arg1
== NULL
) SWIG_fail
;
14921 arg2
= wxString_in_helper(obj1
);
14922 if (arg2
== NULL
) SWIG_fail
;
14929 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14933 if (!wxPyCheckForApp()) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 wxIcon
* resultptr
;
14942 resultptr
= new wxIcon((wxIcon
&) result
);
14943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14967 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 wxPyArtProvider_Destroy(arg1
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 Py_INCREF(Py_None
); resultobj
= Py_None
;
14992 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
14994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14995 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14997 return Py_BuildValue((char *)"");
14999 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15027 wxConfigBase
*result
;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "config", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15050 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 bool arg1
= (bool) True
;
15053 wxConfigBase
*result
;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "createOnDemand", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15061 arg1
= (bool)SWIG_As_bool(obj0
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15078 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxConfigBase
*result
;
15081 char *kwnames
[] = {
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (wxConfigBase
*)wxConfigBase::Create();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15100 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 char *kwnames
[] = {
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 wxConfigBase::DontCreateOnDemand();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15124 wxString
*arg2
= 0 ;
15125 bool temp2
= False
;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "path", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 arg2
= wxString_in_helper(obj1
);
15137 if (arg2
== NULL
) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 (arg1
)->SetPath((wxString
const &)*arg2
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 Py_INCREF(Py_None
); resultobj
= Py_None
;
15162 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15178 result
= (wxString
*) &_result_ref
;
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15188 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15197 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= result
;
15223 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self",(char *) "index", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 arg2
= (long)SWIG_As_long(obj1
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= result
;
15253 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
;
15279 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self",(char *) "index", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 arg2
= (long)SWIG_As_long(obj1
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= result
;
15309 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15312 bool arg2
= (bool) False
;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self",(char *) "recursive", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 arg2
= (bool)SWIG_As_bool(obj1
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15341 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15344 bool arg2
= (bool) False
;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "recursive", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",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
= (bool)SWIG_As_bool(obj1
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15373 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15376 wxString
*arg2
= 0 ;
15378 bool temp2
= False
;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self",(char *) "name", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 arg2
= wxString_in_helper(obj1
);
15390 if (arg2
== NULL
) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15417 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15420 wxString
*arg2
= 0 ;
15422 bool temp2
= False
;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "name", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15433 arg2
= wxString_in_helper(obj1
);
15434 if (arg2
== NULL
) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15461 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15464 wxString
*arg2
= 0 ;
15466 bool temp2
= False
;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self",(char *) "name", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 arg2
= wxString_in_helper(obj1
);
15478 if (arg2
== NULL
) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15508 wxString
*arg2
= 0 ;
15510 bool temp2
= False
;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self",(char *) "name", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15521 arg2
= wxString_in_helper(obj1
);
15522 if (arg2
== NULL
) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_From_int((int)result
);
15547 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15550 wxString
*arg2
= 0 ;
15551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15554 bool temp2
= False
;
15555 bool temp3
= False
;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 PyObject
* obj2
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 arg2
= wxString_in_helper(obj1
);
15568 if (arg2
== NULL
) SWIG_fail
;
15573 arg3
= wxString_in_helper(obj2
);
15574 if (arg3
== NULL
) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15614 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15617 wxString
*arg2
= 0 ;
15618 long arg3
= (long) 0 ;
15620 bool temp2
= False
;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 PyObject
* obj2
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 arg2
= wxString_in_helper(obj1
);
15633 if (arg2
== NULL
) SWIG_fail
;
15637 arg3
= (long)SWIG_As_long(obj2
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_From_long((long)result
);
15662 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15665 wxString
*arg2
= 0 ;
15666 double arg3
= (double) 0.0 ;
15668 bool temp2
= False
;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 arg2
= wxString_in_helper(obj1
);
15681 if (arg2
== NULL
) SWIG_fail
;
15685 arg3
= (double)SWIG_As_double(obj2
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_From_double((double)result
);
15710 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15713 wxString
*arg2
= 0 ;
15714 bool arg3
= (bool) False
;
15716 bool temp2
= False
;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 arg2
= wxString_in_helper(obj1
);
15729 if (arg2
== NULL
) SWIG_fail
;
15733 arg3
= (bool)SWIG_As_bool(obj2
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15760 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15763 wxString
*arg2
= 0 ;
15764 wxString
*arg3
= 0 ;
15766 bool temp2
= False
;
15767 bool temp3
= False
;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 PyObject
* obj2
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self",(char *) "key",(char *) "value", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 arg2
= wxString_in_helper(obj1
);
15780 if (arg2
== NULL
) SWIG_fail
;
15784 arg3
= wxString_in_helper(obj2
);
15785 if (arg3
== NULL
) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15820 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15823 wxString
*arg2
= 0 ;
15826 bool temp2
= False
;
15827 PyObject
* obj0
= 0 ;
15828 PyObject
* obj1
= 0 ;
15829 PyObject
* obj2
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "key",(char *) "value", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 arg2
= wxString_in_helper(obj1
);
15839 if (arg2
== NULL
) SWIG_fail
;
15842 arg3
= (long)SWIG_As_long(obj2
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15868 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15871 wxString
*arg2
= 0 ;
15874 bool temp2
= False
;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 PyObject
* obj2
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self",(char *) "key",(char *) "value", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 arg2
= wxString_in_helper(obj1
);
15887 if (arg2
== NULL
) SWIG_fail
;
15890 arg3
= (double)SWIG_As_double(obj2
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15916 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15919 wxString
*arg2
= 0 ;
15922 bool temp2
= False
;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 PyObject
* obj2
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self",(char *) "key",(char *) "value", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15934 arg2
= wxString_in_helper(obj1
);
15935 if (arg2
== NULL
) SWIG_fail
;
15938 arg3
= (bool)SWIG_As_bool(obj2
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15967 bool arg2
= (bool) False
;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self",(char *) "currentOnly", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15979 arg2
= (bool)SWIG_As_bool(obj1
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (bool)(arg1
)->Flush(arg2
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15998 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16001 wxString
*arg2
= 0 ;
16002 wxString
*arg3
= 0 ;
16004 bool temp2
= False
;
16005 bool temp3
= False
;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 PyObject
* obj2
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= wxString_in_helper(obj1
);
16018 if (arg2
== NULL
) SWIG_fail
;
16022 arg3
= wxString_in_helper(obj2
);
16023 if (arg3
== NULL
) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16058 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16061 wxString
*arg2
= 0 ;
16062 wxString
*arg3
= 0 ;
16064 bool temp2
= False
;
16065 bool temp3
= False
;
16066 PyObject
* obj0
= 0 ;
16067 PyObject
* obj1
= 0 ;
16068 PyObject
* obj2
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16077 arg2
= wxString_in_helper(obj1
);
16078 if (arg2
== NULL
) SWIG_fail
;
16082 arg3
= wxString_in_helper(obj2
);
16083 if (arg3
== NULL
) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16118 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16121 wxString
*arg2
= 0 ;
16122 bool arg3
= (bool) True
;
16124 bool temp2
= False
;
16125 PyObject
* obj0
= 0 ;
16126 PyObject
* obj1
= 0 ;
16127 PyObject
* obj2
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 arg2
= wxString_in_helper(obj1
);
16137 if (arg2
== NULL
) SWIG_fail
;
16141 arg3
= (bool)SWIG_As_bool(obj2
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16168 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16171 wxString
*arg2
= 0 ;
16173 bool temp2
= False
;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "key", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16184 arg2
= wxString_in_helper(obj1
);
16185 if (arg2
== NULL
) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16212 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (bool)(arg1
)->DeleteAll();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16240 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16243 bool arg2
= (bool) True
;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "doIt", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 arg2
= (bool)SWIG_As_bool(obj1
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->SetExpandEnvVars(arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16299 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16302 bool arg2
= (bool) True
;
16303 PyObject
* obj0
= 0 ;
16304 PyObject
* obj1
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self",(char *) "doIt", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 arg2
= (bool)SWIG_As_bool(obj1
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 (arg1
)->SetRecordDefaults(arg2
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 Py_INCREF(Py_None
); resultobj
= Py_None
;
16330 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16358 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16361 wxString
*arg2
= 0 ;
16363 bool temp2
= False
;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self",(char *) "str", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16374 arg2
= wxString_in_helper(obj1
);
16375 if (arg2
== NULL
) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16406 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16438 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16470 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16473 wxString
*arg2
= 0 ;
16474 bool temp2
= False
;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "appName", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 arg2
= wxString_in_helper(obj1
);
16486 if (arg2
== NULL
) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 (arg1
)->SetAppName((wxString
const &)*arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 Py_INCREF(Py_None
); resultobj
= Py_None
;
16511 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16514 wxString
*arg2
= 0 ;
16515 bool temp2
= False
;
16516 PyObject
* obj0
= 0 ;
16517 PyObject
* obj1
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "vendorName", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16526 arg2
= wxString_in_helper(obj1
);
16527 if (arg2
== NULL
) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self",(char *) "style", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 arg2
= (long)SWIG_As_long(obj1
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->SetStyle(arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= SWIG_From_long((long)result
);
16607 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16610 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16612 return Py_BuildValue((char *)"");
16614 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16617 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16618 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16619 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16622 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16624 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16626 bool temp1
= False
;
16627 bool temp2
= False
;
16628 bool temp3
= False
;
16629 bool temp4
= False
;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 PyObject
* obj2
= 0 ;
16633 PyObject
* obj3
= 0 ;
16634 PyObject
* obj4
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16642 arg1
= wxString_in_helper(obj0
);
16643 if (arg1
== NULL
) SWIG_fail
;
16649 arg2
= wxString_in_helper(obj1
);
16650 if (arg2
== NULL
) SWIG_fail
;
16656 arg3
= wxString_in_helper(obj2
);
16657 if (arg3
== NULL
) SWIG_fail
;
16663 arg4
= wxString_in_helper(obj3
);
16664 if (arg4
== NULL
) SWIG_fail
;
16669 arg5
= (long)SWIG_As_long(obj4
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16718 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxConfig
*arg1
= (wxConfig
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 Py_INCREF(Py_None
); resultobj
= Py_None
;
16743 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16746 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16748 return Py_BuildValue((char *)"");
16750 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16753 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16754 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16755 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16758 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16759 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16760 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16761 wxFileConfig
*result
;
16762 bool temp1
= False
;
16763 bool temp2
= False
;
16764 bool temp3
= False
;
16765 bool temp4
= False
;
16766 PyObject
* obj0
= 0 ;
16767 PyObject
* obj1
= 0 ;
16768 PyObject
* obj2
= 0 ;
16769 PyObject
* obj3
= 0 ;
16770 PyObject
* obj4
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16778 arg1
= wxString_in_helper(obj0
);
16779 if (arg1
== NULL
) SWIG_fail
;
16785 arg2
= wxString_in_helper(obj1
);
16786 if (arg2
== NULL
) SWIG_fail
;
16792 arg3
= wxString_in_helper(obj2
);
16793 if (arg3
== NULL
) SWIG_fail
;
16799 arg4
= wxString_in_helper(obj3
);
16800 if (arg4
== NULL
) SWIG_fail
;
16805 arg5
= (long)SWIG_As_long(obj4
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16854 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 Py_INCREF(Py_None
); resultobj
= Py_None
;
16879 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16882 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16884 return Py_BuildValue((char *)"");
16886 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16889 wxString
*arg2
= 0 ;
16890 wxConfigPathChanger
*result
;
16891 bool temp2
= False
;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "config",(char *) "entry", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16902 arg2
= wxString_in_helper(obj1
);
16903 if (arg2
== NULL
) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16928 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16969 result
= (wxString
*) &_result_ref
;
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16979 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16988 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
16990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16991 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16993 return Py_BuildValue((char *)"");
16995 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxString
*arg1
= 0 ;
16999 bool temp1
= False
;
17000 PyObject
* obj0
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "sz", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17007 arg1
= wxString_in_helper(obj0
);
17008 if (arg1
== NULL
) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17039 static int _wrap_DateFormatStr_set(PyObject
*) {
17040 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17045 static PyObject
*_wrap_DateFormatStr_get() {
17050 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17052 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17059 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17060 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17065 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17070 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17072 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17079 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17082 PyObject
* obj0
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "country", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17088 arg1
= (int)SWIG_As_int(obj0
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17107 char *kwnames
[] = {
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (int)wxDateTime::GetCountry();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_From_int((int)result
);
17126 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 int arg1
= (int) wxDateTime::Country_Default
;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "country", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17137 arg1
= (int)SWIG_As_int(obj0
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17156 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 int arg1
= (int) wxDateTime::Gregorian
;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "cal", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17167 arg1
= (int)SWIG_As_int(obj0
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_From_int((int)result
);
17184 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "year", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17194 arg1
= (int)SWIG_As_int(obj0
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= SWIG_From_int((int)result
);
17210 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 int arg1
= (int) wxDateTime::Gregorian
;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "cal", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17221 arg1
= (int)SWIG_As_int(obj0
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_From_int((int)result
);
17238 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 int arg1
= (int) wxDateTime::Inv_Year
;
17241 int arg2
= (int) wxDateTime::Gregorian
;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "year",(char *) "cal", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17251 arg1
= (int)SWIG_As_int(obj0
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 arg2
= (int)SWIG_As_int(obj1
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17274 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 int arg1
= (int) wxDateTime::Inv_Year
;
17278 PyObject
* obj0
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "year", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17285 arg1
= (int)SWIG_As_int(obj0
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (int)wxDateTime::GetCentury(arg1
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_From_int((int)result
);
17302 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17305 int arg2
= (int) wxDateTime::Gregorian
;
17307 PyObject
* obj0
= 0 ;
17308 PyObject
* obj1
= 0 ;
17309 char *kwnames
[] = {
17310 (char *) "year",(char *) "cal", NULL
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17314 arg1
= (int)SWIG_As_int(obj0
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 arg2
= (int)SWIG_As_int(obj1
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_From_int((int)result
);
17334 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17337 int arg2
= (int) wxDateTime::Inv_Year
;
17338 int arg3
= (int) wxDateTime::Gregorian
;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 PyObject
* obj2
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "month",(char *) "year",(char *) "cal", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17348 arg1
= (int)SWIG_As_int(obj0
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 arg2
= (int)SWIG_As_int(obj1
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 arg3
= (int)SWIG_As_int(obj2
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= SWIG_From_int((int)result
);
17372 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17375 int arg2
= (int) wxDateTime::Name_Full
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "month",(char *) "flags", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 arg1
= (int)SWIG_As_int(obj0
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 arg2
= (int)SWIG_As_int(obj1
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17410 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17413 int arg2
= (int) wxDateTime::Name_Full
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "weekday",(char *) "flags", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17422 arg1
= (int)SWIG_As_int(obj0
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 arg2
= (int)SWIG_As_int(obj1
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17448 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxString
*arg1
= (wxString
*) 0 ;
17451 wxString
*arg2
= (wxString
*) 0 ;
17452 bool temp1
= False
;
17453 bool temp2
= False
;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 arg1
= wxString_in_helper(obj0
);
17463 if (arg1
== NULL
) SWIG_fail
;
17467 arg2
= wxString_in_helper(obj1
);
17468 if (arg2
== NULL
) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 Py_INCREF(Py_None
); resultobj
= Py_None
;
17501 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 int arg1
= (int) wxDateTime::Inv_Year
;
17504 int arg2
= (int) wxDateTime::Country_Default
;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "year",(char *) "country", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 arg1
= (int)SWIG_As_int(obj0
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 arg2
= (int)SWIG_As_int(obj1
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17537 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 int arg1
= (int) wxDateTime::Inv_Year
;
17540 int arg2
= (int) wxDateTime::Country_Default
;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "year",(char *) "country", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 arg1
= (int)SWIG_As_int(obj0
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 arg2
= (int)SWIG_As_int(obj1
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 wxDateTime
* resultptr
;
17566 resultptr
= new wxDateTime((wxDateTime
&) result
);
17567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17575 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 int arg1
= (int) wxDateTime::Inv_Year
;
17578 int arg2
= (int) wxDateTime::Country_Default
;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "year",(char *) "country", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17588 arg1
= (int)SWIG_As_int(obj0
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 arg2
= (int)SWIG_As_int(obj1
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 wxDateTime
* resultptr
;
17604 resultptr
= new wxDateTime((wxDateTime
&) result
);
17605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17613 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17616 char *kwnames
[] = {
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= wxDateTime::Now();
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 wxDateTime
* resultptr
;
17630 resultptr
= new wxDateTime((wxDateTime
&) result
);
17631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17639 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17642 char *kwnames
[] = {
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= wxDateTime::UNow();
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 wxDateTime
* resultptr
;
17656 resultptr
= new wxDateTime((wxDateTime
&) result
);
17657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17665 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17668 char *kwnames
[] = {
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= wxDateTime::Today();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 wxDateTime
* resultptr
;
17682 resultptr
= new wxDateTime((wxDateTime
&) result
);
17683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17691 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxDateTime
*result
;
17694 char *kwnames
[] = {
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (wxDateTime
*)new wxDateTime();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17713 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17716 wxDateTime
*result
;
17717 PyObject
* obj0
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "timet", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17723 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (wxDateTime
*)new wxDateTime(arg1
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17739 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17742 wxDateTime
*result
;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "jdn", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17749 arg1
= (double)SWIG_As_double(obj0
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (wxDateTime
*)new wxDateTime(arg1
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17765 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17768 int arg2
= (int) 0 ;
17769 int arg3
= (int) 0 ;
17770 int arg4
= (int) 0 ;
17771 wxDateTime
*result
;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 PyObject
* obj2
= 0 ;
17775 PyObject
* obj3
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17781 arg1
= (int)SWIG_As_int(obj0
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 arg2
= (int)SWIG_As_int(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 arg3
= (int)SWIG_As_int(obj2
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 arg4
= (int)SWIG_As_int(obj3
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17809 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17812 int arg2
= (int) wxDateTime::Inv_Month
;
17813 int arg3
= (int) wxDateTime::Inv_Year
;
17814 int arg4
= (int) 0 ;
17815 int arg5
= (int) 0 ;
17816 int arg6
= (int) 0 ;
17817 int arg7
= (int) 0 ;
17818 wxDateTime
*result
;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 PyObject
* obj2
= 0 ;
17822 PyObject
* obj3
= 0 ;
17823 PyObject
* obj4
= 0 ;
17824 PyObject
* obj5
= 0 ;
17825 PyObject
* obj6
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17831 arg1
= (int)SWIG_As_int(obj0
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 arg2
= (int)SWIG_As_int(obj1
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17838 arg3
= (int)SWIG_As_int(obj2
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 arg4
= (int)SWIG_As_int(obj3
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17846 arg5
= (int)SWIG_As_int(obj4
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 arg6
= (int)SWIG_As_int(obj5
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17854 arg7
= (int)SWIG_As_int(obj6
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17871 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17899 wxDateTime
*result
;
17900 PyObject
* obj0
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17912 result
= (wxDateTime
*) &_result_ref
;
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17925 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17929 wxDateTime
*result
;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self",(char *) "timet", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17939 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17945 result
= (wxDateTime
*) &_result_ref
;
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17958 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17962 wxDateTime
*result
;
17963 PyObject
* obj0
= 0 ;
17964 PyObject
* obj1
= 0 ;
17965 char *kwnames
[] = {
17966 (char *) "self",(char *) "jdn", NULL
17969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17972 arg2
= (double)SWIG_As_double(obj1
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17978 result
= (wxDateTime
*) &_result_ref
;
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17991 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17995 int arg3
= (int) 0 ;
17996 int arg4
= (int) 0 ;
17997 int arg5
= (int) 0 ;
17998 wxDateTime
*result
;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 PyObject
* obj3
= 0 ;
18003 PyObject
* obj4
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 arg2
= (int)SWIG_As_int(obj1
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 arg3
= (int)SWIG_As_int(obj2
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 arg4
= (int)SWIG_As_int(obj3
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 arg5
= (int)SWIG_As_int(obj4
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18029 result
= (wxDateTime
*) &_result_ref
;
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18042 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
;
18044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18046 int arg3
= (int) wxDateTime::Inv_Month
;
18047 int arg4
= (int) wxDateTime::Inv_Year
;
18048 int arg5
= (int) 0 ;
18049 int arg6
= (int) 0 ;
18050 int arg7
= (int) 0 ;
18051 int arg8
= (int) 0 ;
18052 wxDateTime
*result
;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 PyObject
* obj2
= 0 ;
18056 PyObject
* obj3
= 0 ;
18057 PyObject
* obj4
= 0 ;
18058 PyObject
* obj5
= 0 ;
18059 PyObject
* obj6
= 0 ;
18060 PyObject
* obj7
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 arg2
= (int)SWIG_As_int(obj1
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 arg3
= (int)SWIG_As_int(obj2
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 arg4
= (int)SWIG_As_int(obj3
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 arg5
= (int)SWIG_As_int(obj4
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 arg6
= (int)SWIG_As_int(obj5
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 arg7
= (int)SWIG_As_int(obj6
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18091 arg8
= (int)SWIG_As_int(obj7
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18098 result
= (wxDateTime
*) &_result_ref
;
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18111 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18114 wxDateTime
*result
;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18127 result
= (wxDateTime
*) &_result_ref
;
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18140 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18144 wxDateTime
*result
;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self",(char *) "year", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18154 arg2
= (int)SWIG_As_int(obj1
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18160 result
= (wxDateTime
*) &_result_ref
;
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18173 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18177 wxDateTime
*result
;
18178 PyObject
* obj0
= 0 ;
18179 PyObject
* obj1
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self",(char *) "month", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18187 arg2
= (int)SWIG_As_int(obj1
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18193 result
= (wxDateTime
*) &_result_ref
;
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18206 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18210 wxDateTime
*result
;
18211 PyObject
* obj0
= 0 ;
18212 PyObject
* obj1
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self",(char *) "day", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 arg2
= (int)SWIG_As_int(obj1
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18226 result
= (wxDateTime
*) &_result_ref
;
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18239 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18243 wxDateTime
*result
;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "hour", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 arg2
= (int)SWIG_As_int(obj1
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18259 result
= (wxDateTime
*) &_result_ref
;
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18272 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18276 wxDateTime
*result
;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self",(char *) "minute", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 arg2
= (int)SWIG_As_int(obj1
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18292 result
= (wxDateTime
*) &_result_ref
;
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18305 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18309 wxDateTime
*result
;
18310 PyObject
* obj0
= 0 ;
18311 PyObject
* obj1
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self",(char *) "second", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18319 arg2
= (int)SWIG_As_int(obj1
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18325 result
= (wxDateTime
*) &_result_ref
;
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18338 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18342 wxDateTime
*result
;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "millisecond", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 arg2
= (int)SWIG_As_int(obj1
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18358 result
= (wxDateTime
*) &_result_ref
;
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18371 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18375 int arg3
= (int) wxDateTime::Monday_First
;
18376 wxDateTime
*result
;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 PyObject
* obj2
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 arg2
= (int)SWIG_As_int(obj1
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 arg3
= (int)SWIG_As_int(obj2
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18397 result
= (wxDateTime
*) &_result_ref
;
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18410 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18414 int arg3
= (int) wxDateTime::Monday_First
;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 PyObject
* obj2
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18426 arg2
= (int)SWIG_As_int(obj1
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 arg3
= (int)SWIG_As_int(obj2
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 wxDateTime
* resultptr
;
18441 resultptr
= new wxDateTime((wxDateTime
&) result
);
18442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18450 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18454 wxDateTime
*result
;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "weekday", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 arg2
= (int)SWIG_As_int(obj1
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18470 result
= (wxDateTime
*) &_result_ref
;
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18483 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "weekday", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 arg2
= (int)SWIG_As_int(obj1
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 wxDateTime
* resultptr
;
18508 resultptr
= new wxDateTime((wxDateTime
&) result
);
18509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18517 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18521 wxDateTime
*result
;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "weekday", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 arg2
= (int)SWIG_As_int(obj1
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18537 result
= (wxDateTime
*) &_result_ref
;
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18550 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "weekday", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 arg2
= (int)SWIG_As_int(obj1
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 wxDateTime
* resultptr
;
18575 resultptr
= new wxDateTime((wxDateTime
&) result
);
18576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18584 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18588 int arg3
= (int) 1 ;
18589 int arg4
= (int) wxDateTime::Inv_Month
;
18590 int arg5
= (int) wxDateTime::Inv_Year
;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 PyObject
* obj3
= 0 ;
18596 PyObject
* obj4
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18604 arg2
= (int)SWIG_As_int(obj1
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 arg3
= (int)SWIG_As_int(obj2
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 arg4
= (int)SWIG_As_int(obj3
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18615 arg5
= (int)SWIG_As_int(obj4
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18634 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18638 int arg3
= (int) wxDateTime::Inv_Month
;
18639 int arg4
= (int) wxDateTime::Inv_Year
;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 PyObject
* obj2
= 0 ;
18644 PyObject
* obj3
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 arg2
= (int)SWIG_As_int(obj1
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 arg3
= (int)SWIG_As_int(obj2
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18659 arg4
= (int)SWIG_As_int(obj3
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18678 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18682 int arg3
= (int) wxDateTime::Inv_Month
;
18683 int arg4
= (int) wxDateTime::Inv_Year
;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 PyObject
* obj2
= 0 ;
18688 PyObject
* obj3
= 0 ;
18689 char *kwnames
[] = {
18690 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18696 arg2
= (int)SWIG_As_int(obj1
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 arg3
= (int)SWIG_As_int(obj2
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18703 arg4
= (int)SWIG_As_int(obj3
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 wxDateTime
* resultptr
;
18715 resultptr
= new wxDateTime((wxDateTime
&) result
);
18716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18724 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18728 int arg3
= (int) wxDateTime::Mon
;
18729 int arg4
= (int) wxDateTime::Monday_First
;
18731 PyObject
* obj0
= 0 ;
18732 PyObject
* obj1
= 0 ;
18733 PyObject
* obj2
= 0 ;
18734 PyObject
* obj3
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 arg2
= (int)SWIG_As_int(obj1
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 arg3
= (int)SWIG_As_int(obj2
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18749 arg4
= (int)SWIG_As_int(obj3
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18768 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18772 int arg3
= (int) wxDateTime::Mon
;
18773 int arg4
= (int) wxDateTime::Monday_First
;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 PyObject
* obj3
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 arg2
= (int)SWIG_As_int(obj1
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 arg3
= (int)SWIG_As_int(obj2
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18793 arg4
= (int)SWIG_As_int(obj3
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18804 wxDateTime
* resultptr
;
18805 resultptr
= new wxDateTime((wxDateTime
&) result
);
18806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18814 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18817 int arg2
= (int) wxDateTime::Inv_Month
;
18818 int arg3
= (int) wxDateTime::Inv_Year
;
18819 wxDateTime
*result
;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 PyObject
* obj2
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "month",(char *) "year", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 arg2
= (int)SWIG_As_int(obj1
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 arg3
= (int)SWIG_As_int(obj2
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18842 result
= (wxDateTime
*) &_result_ref
;
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18855 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18858 int arg2
= (int) wxDateTime::Inv_Month
;
18859 int arg3
= (int) wxDateTime::Inv_Year
;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "month",(char *) "year", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 arg2
= (int)SWIG_As_int(obj1
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 arg3
= (int)SWIG_As_int(obj2
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 wxDateTime
* resultptr
;
18888 resultptr
= new wxDateTime((wxDateTime
&) result
);
18889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18897 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18901 wxDateTime
*result
;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "yday", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18911 arg2
= (int)SWIG_As_int(obj1
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18917 result
= (wxDateTime
*) &_result_ref
;
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18930 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "yday", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 arg2
= (int)SWIG_As_int(obj1
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (arg1
)->GetYearDay(arg2
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18954 wxDateTime
* resultptr
;
18955 resultptr
= new wxDateTime((wxDateTime
&) result
);
18956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18964 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (double)(arg1
)->GetJulianDayNumber();
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_From_double((double)result
);
18990 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18994 PyObject
* obj0
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (double)(arg1
)->GetJDN();
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_From_double((double)result
);
19016 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_From_double((double)result
);
19042 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (double)(arg1
)->GetMJD();
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_From_double((double)result
);
19068 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= (double)(arg1
)->GetRataDie();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= SWIG_From_double((double)result
);
19094 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19097 wxDateTime::TimeZone
*arg2
= 0 ;
19098 bool arg3
= (bool) False
;
19100 bool temp2
= False
;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19116 arg3
= (bool)SWIG_As_bool(obj2
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19127 wxDateTime
* resultptr
;
19128 resultptr
= new wxDateTime((wxDateTime
&) result
);
19129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19132 if (temp2
) delete arg2
;
19137 if (temp2
) delete arg2
;
19143 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19146 wxDateTime::TimeZone
*arg2
= 0 ;
19147 bool arg3
= (bool) False
;
19148 wxDateTime
*result
;
19149 bool temp2
= False
;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 PyObject
* obj2
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19161 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19165 arg3
= (bool)SWIG_As_bool(obj2
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19172 result
= (wxDateTime
*) &_result_ref
;
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19180 if (temp2
) delete arg2
;
19185 if (temp2
) delete arg2
;
19191 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19194 bool arg2
= (bool) False
;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "noDST", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 arg2
= (bool)SWIG_As_bool(obj1
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (arg1
)->ToGMT(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19217 wxDateTime
* resultptr
;
19218 resultptr
= new wxDateTime((wxDateTime
&) result
);
19219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19227 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19230 bool arg2
= (bool) False
;
19231 wxDateTime
*result
;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "noDST", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19242 arg2
= (bool)SWIG_As_bool(obj1
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19249 result
= (wxDateTime
*) &_result_ref
;
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19262 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19265 int arg2
= (int) wxDateTime::Country_Default
;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self",(char *) "country", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19277 arg2
= (int)SWIG_As_int(obj1
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_From_int((int)result
);
19294 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19322 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19348 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19351 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19352 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19354 bool temp2
= False
;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self",(char *) "tz", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_From_int((int)result
);
19379 if (temp2
) delete arg2
;
19384 if (temp2
) delete arg2
;
19390 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19393 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19394 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19396 bool temp2
= False
;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "tz", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_From_int((int)result
);
19421 if (temp2
) delete arg2
;
19426 if (temp2
) delete arg2
;
19432 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19435 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19436 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19438 bool temp2
= False
;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self",(char *) "tz", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19450 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= SWIG_From_int((int)result
);
19463 if (temp2
) delete arg2
;
19468 if (temp2
) delete arg2
;
19474 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19477 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19478 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19480 bool temp2
= False
;
19481 PyObject
* obj0
= 0 ;
19482 PyObject
* obj1
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self",(char *) "tz", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19492 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= SWIG_From_int((int)result
);
19505 if (temp2
) delete arg2
;
19510 if (temp2
) delete arg2
;
19516 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19519 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19520 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19522 bool temp2
= False
;
19523 PyObject
* obj0
= 0 ;
19524 PyObject
* obj1
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self",(char *) "tz", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19534 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_From_int((int)result
);
19547 if (temp2
) delete arg2
;
19552 if (temp2
) delete arg2
;
19558 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19561 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19562 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19564 bool temp2
= False
;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "tz", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19576 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_From_int((int)result
);
19589 if (temp2
) delete arg2
;
19594 if (temp2
) delete arg2
;
19600 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19603 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19604 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19606 bool temp2
= False
;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "tz", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_From_int((int)result
);
19631 if (temp2
) delete arg2
;
19636 if (temp2
) delete arg2
;
19642 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19645 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19646 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19648 bool temp2
= False
;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self",(char *) "tz", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_From_int((int)result
);
19673 if (temp2
) delete arg2
;
19678 if (temp2
) delete arg2
;
19684 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19687 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19688 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19690 bool temp2
= False
;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "tz", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= SWIG_From_int((int)result
);
19715 if (temp2
) delete arg2
;
19720 if (temp2
) delete arg2
;
19726 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19729 int arg2
= (int) wxDateTime::Monday_First
;
19730 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19731 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19733 bool temp3
= False
;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "flags",(char *) "tz", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 arg2
= (int)SWIG_As_int(obj1
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19750 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_From_int((int)result
);
19763 if (temp3
) delete arg3
;
19768 if (temp3
) delete arg3
;
19774 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19777 int arg2
= (int) wxDateTime::Monday_First
;
19778 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19779 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19781 bool temp3
= False
;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 PyObject
* obj2
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "flags",(char *) "tz", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19793 arg2
= (int)SWIG_As_int(obj1
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19798 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_From_int((int)result
);
19811 if (temp3
) delete arg3
;
19816 if (temp3
) delete arg3
;
19822 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19825 int arg2
= (int) wxDateTime::Country_Default
;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "country", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19837 arg2
= (int)SWIG_As_int(obj1
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19856 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19859 wxDateTime
*arg2
= 0 ;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self",(char *) "datetime", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19873 if (arg2
== NULL
) {
19874 PyErr_SetString(PyExc_TypeError
,"null reference");
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19893 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19896 wxDateTime
*arg2
= 0 ;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "datetime", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19910 if (arg2
== NULL
) {
19911 PyErr_SetString(PyExc_TypeError
,"null reference");
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19930 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19933 wxDateTime
*arg2
= 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "datetime", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19947 if (arg2
== NULL
) {
19948 PyErr_SetString(PyExc_TypeError
,"null reference");
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19970 wxDateTime
*arg2
= 0 ;
19971 wxDateTime
*arg3
= 0 ;
19973 PyObject
* obj0
= 0 ;
19974 PyObject
* obj1
= 0 ;
19975 PyObject
* obj2
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "t1",(char *) "t2", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19986 if (arg2
== NULL
) {
19987 PyErr_SetString(PyExc_TypeError
,"null reference");
19990 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19993 if (arg3
== NULL
) {
19994 PyErr_SetString(PyExc_TypeError
,"null reference");
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20013 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20016 wxDateTime
*arg2
= 0 ;
20017 wxDateTime
*arg3
= 0 ;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 PyObject
* obj2
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self",(char *) "t1",(char *) "t2", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20032 if (arg2
== NULL
) {
20033 PyErr_SetString(PyExc_TypeError
,"null reference");
20036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20039 if (arg3
== NULL
) {
20040 PyErr_SetString(PyExc_TypeError
,"null reference");
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20059 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20062 wxDateTime
*arg2
= 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "dt", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20076 if (arg2
== NULL
) {
20077 PyErr_SetString(PyExc_TypeError
,"null reference");
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20096 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20099 wxDateTime
*arg2
= 0 ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self",(char *) "dt", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20113 if (arg2
== NULL
) {
20114 PyErr_SetString(PyExc_TypeError
,"null reference");
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20133 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20136 wxDateTime
*arg2
= 0 ;
20137 wxTimeSpan
*arg3
= 0 ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 PyObject
* obj2
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "dt",(char *) "ts", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20152 if (arg2
== NULL
) {
20153 PyErr_SetString(PyExc_TypeError
,"null reference");
20156 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20159 if (arg3
== NULL
) {
20160 PyErr_SetString(PyExc_TypeError
,"null reference");
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20179 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20182 wxTimeSpan
*arg2
= 0 ;
20183 wxDateTime
*result
;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self",(char *) "diff", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20196 if (arg2
== NULL
) {
20197 PyErr_SetString(PyExc_TypeError
,"null reference");
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20204 result
= (wxDateTime
*) &_result_ref
;
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20217 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20220 wxDateSpan
*arg2
= 0 ;
20221 wxDateTime
*result
;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "diff", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20234 if (arg2
== NULL
) {
20235 PyErr_SetString(PyExc_TypeError
,"null reference");
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20242 result
= (wxDateTime
*) &_result_ref
;
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20255 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20258 wxTimeSpan
*arg2
= 0 ;
20259 wxDateTime
*result
;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "diff", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20272 if (arg2
== NULL
) {
20273 PyErr_SetString(PyExc_TypeError
,"null reference");
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20280 result
= (wxDateTime
*) &_result_ref
;
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20293 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20296 wxDateSpan
*arg2
= 0 ;
20297 wxDateTime
*result
;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "diff", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20310 if (arg2
== NULL
) {
20311 PyErr_SetString(PyExc_TypeError
,"null reference");
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20318 result
= (wxDateTime
*) &_result_ref
;
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20331 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20334 wxDateTime
*arg2
= 0 ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self",(char *) "dt", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20348 if (arg2
== NULL
) {
20349 PyErr_SetString(PyExc_TypeError
,"null reference");
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 wxTimeSpan
* resultptr
;
20361 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20370 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20371 PyObject
*resultobj
;
20372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20373 wxTimeSpan
*arg2
= 0 ;
20374 wxDateTime
*result
;
20375 PyObject
* obj0
= 0 ;
20376 PyObject
* obj1
= 0 ;
20378 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20380 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20384 if (arg2
== NULL
) {
20385 PyErr_SetString(PyExc_TypeError
,"null reference");
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20392 result
= (wxDateTime
*) &_result_ref
;
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20405 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20406 PyObject
*resultobj
;
20407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20408 wxDateSpan
*arg2
= 0 ;
20409 wxDateTime
*result
;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20413 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20415 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20419 if (arg2
== NULL
) {
20420 PyErr_SetString(PyExc_TypeError
,"null reference");
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20427 result
= (wxDateTime
*) &_result_ref
;
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20440 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20445 argc
= PyObject_Length(args
);
20446 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20447 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20453 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20463 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20471 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20479 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20489 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20497 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20502 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20507 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20508 PyObject
*resultobj
;
20509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20510 wxTimeSpan
*arg2
= 0 ;
20511 wxDateTime
*result
;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20515 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20517 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20521 if (arg2
== NULL
) {
20522 PyErr_SetString(PyExc_TypeError
,"null reference");
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20529 result
= (wxDateTime
*) &_result_ref
;
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20542 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20543 PyObject
*resultobj
;
20544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20545 wxDateSpan
*arg2
= 0 ;
20546 wxDateTime
*result
;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20550 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20552 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20556 if (arg2
== NULL
) {
20557 PyErr_SetString(PyExc_TypeError
,"null reference");
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20564 result
= (wxDateTime
*) &_result_ref
;
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20577 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20582 argc
= PyObject_Length(args
);
20583 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20584 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20600 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20608 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20616 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20626 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20634 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20639 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20644 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20645 PyObject
*resultobj
;
20646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20647 wxTimeSpan
*arg2
= 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20652 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20658 if (arg2
== NULL
) {
20659 PyErr_SetString(PyExc_TypeError
,"null reference");
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20670 wxDateTime
* resultptr
;
20671 resultptr
= new wxDateTime((wxDateTime
&) result
);
20672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20680 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20681 PyObject
*resultobj
;
20682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20683 wxDateSpan
*arg2
= 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20688 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20694 if (arg2
== NULL
) {
20695 PyErr_SetString(PyExc_TypeError
,"null reference");
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 wxDateTime
* resultptr
;
20707 resultptr
= new wxDateTime((wxDateTime
&) result
);
20708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20716 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20721 argc
= PyObject_Length(args
);
20722 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20723 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20729 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20739 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20747 return _wrap_DateTime___add____SWIG_0(self
,args
);
20755 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20765 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20773 return _wrap_DateTime___add____SWIG_1(self
,args
);
20778 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20783 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20784 PyObject
*resultobj
;
20785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20786 wxDateTime
*arg2
= 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20791 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20797 if (arg2
== NULL
) {
20798 PyErr_SetString(PyExc_TypeError
,"null reference");
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 wxTimeSpan
* resultptr
;
20810 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20819 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20820 PyObject
*resultobj
;
20821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20822 wxTimeSpan
*arg2
= 0 ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20827 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20833 if (arg2
== NULL
) {
20834 PyErr_SetString(PyExc_TypeError
,"null reference");
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20845 wxDateTime
* resultptr
;
20846 resultptr
= new wxDateTime((wxDateTime
&) result
);
20847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20855 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20856 PyObject
*resultobj
;
20857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 wxDateSpan
*arg2
= 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20863 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20869 if (arg2
== NULL
) {
20870 PyErr_SetString(PyExc_TypeError
,"null reference");
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 wxDateTime
* resultptr
;
20882 resultptr
= new wxDateTime((wxDateTime
&) result
);
20883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20891 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20896 argc
= PyObject_Length(args
);
20897 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20898 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20904 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20914 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20922 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20940 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20948 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20956 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20966 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20974 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20979 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20984 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
20985 PyObject
*resultobj
;
20986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20987 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20992 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21013 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21014 PyObject
*resultobj
;
21015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21016 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21021 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21042 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21043 PyObject
*resultobj
;
21044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21045 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21050 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21071 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21072 PyObject
*resultobj
;
21073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21074 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21079 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21100 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21101 PyObject
*resultobj
;
21102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21103 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21108 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21129 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21130 PyObject
*resultobj
;
21131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21132 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21134 PyObject
* obj0
= 0 ;
21135 PyObject
* obj1
= 0 ;
21137 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21158 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21161 wxString
*arg2
= 0 ;
21163 bool temp2
= False
;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self",(char *) "date", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 arg2
= wxString_in_helper(obj1
);
21175 if (arg2
== NULL
) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= SWIG_From_int((int)result
);
21200 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21203 wxString
*arg2
= 0 ;
21204 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21206 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21207 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21209 bool temp2
= False
;
21210 bool temp3
= False
;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 PyObject
* obj2
= 0 ;
21214 PyObject
* obj3
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 arg2
= wxString_in_helper(obj1
);
21224 if (arg2
== NULL
) SWIG_fail
;
21229 arg3
= wxString_in_helper(obj2
);
21230 if (arg3
== NULL
) SWIG_fail
;
21235 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21238 if (arg4
== NULL
) {
21239 PyErr_SetString(PyExc_TypeError
,"null reference");
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_From_int((int)result
);
21273 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21276 wxString
*arg2
= 0 ;
21278 bool temp2
= False
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "datetime", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 arg2
= wxString_in_helper(obj1
);
21290 if (arg2
== NULL
) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_From_int((int)result
);
21315 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21318 wxString
*arg2
= 0 ;
21320 bool temp2
= False
;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "date", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21331 arg2
= wxString_in_helper(obj1
);
21332 if (arg2
== NULL
) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_From_int((int)result
);
21357 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21360 wxString
*arg2
= 0 ;
21362 bool temp2
= False
;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21365 char *kwnames
[] = {
21366 (char *) "self",(char *) "time", NULL
21369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 arg2
= wxString_in_helper(obj1
);
21374 if (arg2
== NULL
) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_From_int((int)result
);
21399 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21402 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21403 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21404 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21405 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21407 bool temp2
= False
;
21408 bool temp3
= False
;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 PyObject
* obj2
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "format",(char *) "tz", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 arg2
= wxString_in_helper(obj1
);
21422 if (arg2
== NULL
) SWIG_fail
;
21428 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21451 if (temp3
) delete arg3
;
21460 if (temp3
) delete arg3
;
21466 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21498 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21530 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21562 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21594 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21597 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21599 return Py_BuildValue((char *)"");
21601 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21605 PyObject
* obj0
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "sec", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21611 arg1
= (long)SWIG_As_long(obj0
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= wxTimeSpan::Seconds(arg1
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 wxTimeSpan
* resultptr
;
21622 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21631 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21634 char *kwnames
[] = {
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= wxTimeSpan::Second();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 wxTimeSpan
* resultptr
;
21648 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21657 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21661 PyObject
* obj0
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "min", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21667 arg1
= (long)SWIG_As_long(obj0
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= wxTimeSpan::Minutes(arg1
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 wxTimeSpan
* resultptr
;
21678 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21687 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21690 char *kwnames
[] = {
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= wxTimeSpan::Minute();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 wxTimeSpan
* resultptr
;
21704 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21713 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "hours", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21723 arg1
= (long)SWIG_As_long(obj0
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= wxTimeSpan::Hours(arg1
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 wxTimeSpan
* resultptr
;
21734 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21743 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21746 char *kwnames
[] = {
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= wxTimeSpan::Hour();
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 wxTimeSpan
* resultptr
;
21760 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21769 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "days", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21779 arg1
= (long)SWIG_As_long(obj0
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= wxTimeSpan::Days(arg1
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21789 wxTimeSpan
* resultptr
;
21790 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21799 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21802 char *kwnames
[] = {
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= wxTimeSpan::Day();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 wxTimeSpan
* resultptr
;
21816 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21825 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21829 PyObject
* obj0
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "days", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21835 arg1
= (long)SWIG_As_long(obj0
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= wxTimeSpan::Weeks(arg1
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 wxTimeSpan
* resultptr
;
21846 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21855 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21858 char *kwnames
[] = {
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= wxTimeSpan::Week();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 wxTimeSpan
* resultptr
;
21872 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21881 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 long arg1
= (long) 0 ;
21884 long arg2
= (long) 0 ;
21885 long arg3
= (long) 0 ;
21886 long arg4
= (long) 0 ;
21887 wxTimeSpan
*result
;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 PyObject
* obj2
= 0 ;
21891 PyObject
* obj3
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21898 arg1
= (long)SWIG_As_long(obj0
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 arg2
= (long)SWIG_As_long(obj1
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 arg3
= (long)SWIG_As_long(obj2
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 arg4
= (long)SWIG_As_long(obj3
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21927 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 Py_INCREF(Py_None
); resultobj
= Py_None
;
21952 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21955 wxTimeSpan
*arg2
= 0 ;
21956 wxTimeSpan
*result
;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "diff", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21969 if (arg2
== NULL
) {
21970 PyErr_SetString(PyExc_TypeError
,"null reference");
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21977 result
= (wxTimeSpan
*) &_result_ref
;
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21990 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21993 wxTimeSpan
*arg2
= 0 ;
21994 wxTimeSpan
*result
;
21995 PyObject
* obj0
= 0 ;
21996 PyObject
* obj1
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "diff", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22007 if (arg2
== NULL
) {
22008 PyErr_SetString(PyExc_TypeError
,"null reference");
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22015 result
= (wxTimeSpan
*) &_result_ref
;
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22028 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22032 wxTimeSpan
*result
;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "n", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 arg2
= (int)SWIG_As_int(obj1
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22048 result
= (wxTimeSpan
*) &_result_ref
;
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22061 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22064 wxTimeSpan
*result
;
22065 PyObject
* obj0
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22077 result
= (wxTimeSpan
*) &_result_ref
;
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22090 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22110 wxTimeSpan
* resultptr
;
22111 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22120 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22123 wxTimeSpan
*arg2
= 0 ;
22124 wxTimeSpan
*result
;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "diff", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22133 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22137 if (arg2
== NULL
) {
22138 PyErr_SetString(PyExc_TypeError
,"null reference");
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22145 result
= (wxTimeSpan
*) &_result_ref
;
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22158 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22161 wxTimeSpan
*arg2
= 0 ;
22162 wxTimeSpan
*result
;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "diff", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22171 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22175 if (arg2
== NULL
) {
22176 PyErr_SetString(PyExc_TypeError
,"null reference");
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22183 result
= (wxTimeSpan
*) &_result_ref
;
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22196 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22200 wxTimeSpan
*result
;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self",(char *) "n", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22209 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22210 arg2
= (int)SWIG_As_int(obj1
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22216 result
= (wxTimeSpan
*) &_result_ref
;
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22229 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22232 wxTimeSpan
*result
;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22245 result
= (wxTimeSpan
*) &_result_ref
;
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22258 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22261 wxTimeSpan
*arg2
= 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "other", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22275 if (arg2
== NULL
) {
22276 PyErr_SetString(PyExc_TypeError
,"null reference");
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 wxTimeSpan
* resultptr
;
22288 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22297 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22300 wxTimeSpan
*arg2
= 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "other", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22314 if (arg2
== NULL
) {
22315 PyErr_SetString(PyExc_TypeError
,"null reference");
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 wxTimeSpan
* resultptr
;
22327 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22336 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "n", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 arg2
= (int)SWIG_As_int(obj1
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= wxTimeSpan___mul__(arg1
,arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22360 wxTimeSpan
* resultptr
;
22361 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22370 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "n", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 arg2
= (int)SWIG_As_int(obj1
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 wxTimeSpan
* resultptr
;
22395 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22404 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22407 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self",(char *) "other", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22436 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22439 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 PyObject
* obj1
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self",(char *) "other", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22468 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22471 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 PyObject
* obj1
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self",(char *) "other", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22500 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22503 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self",(char *) "other", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22532 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22535 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "other", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22564 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22567 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "other", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22596 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22624 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22652 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22680 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22683 wxTimeSpan
*arg2
= 0 ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self",(char *) "ts", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22697 if (arg2
== NULL
) {
22698 PyErr_SetString(PyExc_TypeError
,"null reference");
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22717 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22720 wxTimeSpan
*arg2
= 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self",(char *) "ts", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22734 if (arg2
== NULL
) {
22735 PyErr_SetString(PyExc_TypeError
,"null reference");
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22754 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
;
22756 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22757 wxTimeSpan
*arg2
= 0 ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self",(char *) "t", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22771 if (arg2
== NULL
) {
22772 PyErr_SetString(PyExc_TypeError
,"null reference");
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22791 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_From_int((int)result
);
22817 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_From_int((int)result
);
22843 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_From_int((int)result
);
22869 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_From_int((int)result
);
22895 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22915 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22916 hi
= PyLong_FromLong( (&result
)->GetHi() );
22917 lo
= PyLong_FromLong( (&result
)->GetLo() );
22918 shifter
= PyLong_FromLong(32);
22919 shifted
= PyNumber_Lshift(hi
, shifter
);
22920 resultobj
= PyNumber_Or(shifted
, lo
);
22923 Py_DECREF(shifter
);
22924 Py_DECREF(shifted
);
22932 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22953 hi
= PyLong_FromLong( (&result
)->GetHi() );
22954 lo
= PyLong_FromLong( (&result
)->GetLo() );
22955 shifter
= PyLong_FromLong(32);
22956 shifted
= PyNumber_Lshift(hi
, shifter
);
22957 resultobj
= PyNumber_Or(shifted
, lo
);
22960 Py_DECREF(shifter
);
22961 Py_DECREF(shifted
);
22969 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22972 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22973 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22975 bool temp2
= False
;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "format", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22987 arg2
= wxString_in_helper(obj1
);
22988 if (arg2
== NULL
) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23020 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23023 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23025 return Py_BuildValue((char *)"");
23027 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 int arg1
= (int) 0 ;
23030 int arg2
= (int) 0 ;
23031 int arg3
= (int) 0 ;
23032 int arg4
= (int) 0 ;
23033 wxDateSpan
*result
;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 PyObject
* obj3
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23044 arg1
= (int)SWIG_As_int(obj0
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23048 arg2
= (int)SWIG_As_int(obj1
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23052 arg3
= (int)SWIG_As_int(obj2
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23056 arg4
= (int)SWIG_As_int(obj3
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23073 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23098 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23102 PyObject
* obj0
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "days", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23108 arg1
= (int)SWIG_As_int(obj0
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= wxDateSpan::Days(arg1
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 wxDateSpan
* resultptr
;
23119 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23128 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23131 char *kwnames
[] = {
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= wxDateSpan::Day();
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 wxDateSpan
* resultptr
;
23145 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23154 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "weeks", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23164 arg1
= (int)SWIG_As_int(obj0
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= wxDateSpan::Weeks(arg1
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 wxDateSpan
* resultptr
;
23175 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23184 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23187 char *kwnames
[] = {
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= wxDateSpan::Week();
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23200 wxDateSpan
* resultptr
;
23201 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23210 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23214 PyObject
* obj0
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "mon", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23220 arg1
= (int)SWIG_As_int(obj0
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= wxDateSpan::Months(arg1
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23230 wxDateSpan
* resultptr
;
23231 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23240 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23243 char *kwnames
[] = {
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= wxDateSpan::Month();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23256 wxDateSpan
* resultptr
;
23257 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23266 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "years", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23276 arg1
= (int)SWIG_As_int(obj0
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= wxDateSpan::Years(arg1
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 wxDateSpan
* resultptr
;
23287 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23296 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23299 char *kwnames
[] = {
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 result
= wxDateSpan::Year();
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23312 wxDateSpan
* resultptr
;
23313 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23322 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23326 wxDateSpan
*result
;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "n", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23336 arg2
= (int)SWIG_As_int(obj1
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23342 result
= (wxDateSpan
*) &_result_ref
;
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23355 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23359 wxDateSpan
*result
;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "n", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 arg2
= (int)SWIG_As_int(obj1
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23375 result
= (wxDateSpan
*) &_result_ref
;
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23388 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23392 wxDateSpan
*result
;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "n", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 arg2
= (int)SWIG_As_int(obj1
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23408 result
= (wxDateSpan
*) &_result_ref
;
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23421 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23425 wxDateSpan
*result
;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "n", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 arg2
= (int)SWIG_As_int(obj1
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23441 result
= (wxDateSpan
*) &_result_ref
;
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23454 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_From_int((int)result
);
23480 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_From_int((int)result
);
23506 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_From_int((int)result
);
23532 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_From_int((int)result
);
23558 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= SWIG_From_int((int)result
);
23584 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
;
23586 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23587 wxDateSpan
*arg2
= 0 ;
23588 wxDateSpan
*result
;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self",(char *) "other", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23601 if (arg2
== NULL
) {
23602 PyErr_SetString(PyExc_TypeError
,"null reference");
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23609 result
= (wxDateSpan
*) &_result_ref
;
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23622 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23625 wxDateSpan
*arg2
= 0 ;
23626 wxDateSpan
*result
;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "other", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23639 if (arg2
== NULL
) {
23640 PyErr_SetString(PyExc_TypeError
,"null reference");
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23647 result
= (wxDateSpan
*) &_result_ref
;
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23660 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23663 wxDateSpan
*result
;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23676 result
= (wxDateSpan
*) &_result_ref
;
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23689 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23693 wxDateSpan
*result
;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "factor", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 arg2
= (int)SWIG_As_int(obj1
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23709 result
= (wxDateSpan
*) &_result_ref
;
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23722 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23725 wxDateSpan
*arg2
= 0 ;
23726 wxDateSpan
*result
;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self",(char *) "other", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23735 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23739 if (arg2
== NULL
) {
23740 PyErr_SetString(PyExc_TypeError
,"null reference");
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23747 result
= (wxDateSpan
*) &_result_ref
;
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23760 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23763 wxDateSpan
*arg2
= 0 ;
23764 wxDateSpan
*result
;
23765 PyObject
* obj0
= 0 ;
23766 PyObject
* obj1
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self",(char *) "other", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23773 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23777 if (arg2
== NULL
) {
23778 PyErr_SetString(PyExc_TypeError
,"null reference");
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23785 result
= (wxDateSpan
*) &_result_ref
;
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23798 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
;
23800 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23801 wxDateSpan
*result
;
23802 PyObject
* obj0
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23814 result
= (wxDateSpan
*) &_result_ref
;
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23827 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23831 wxDateSpan
*result
;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "factor", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23840 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23841 arg2
= (int)SWIG_As_int(obj1
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23847 result
= (wxDateSpan
*) &_result_ref
;
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23860 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23863 wxDateSpan
*arg2
= 0 ;
23865 PyObject
* obj0
= 0 ;
23866 PyObject
* obj1
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self",(char *) "other", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23877 if (arg2
== NULL
) {
23878 PyErr_SetString(PyExc_TypeError
,"null reference");
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 wxDateSpan
* resultptr
;
23890 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23899 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23902 wxDateSpan
*arg2
= 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self",(char *) "other", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23916 if (arg2
== NULL
) {
23917 PyErr_SetString(PyExc_TypeError
,"null reference");
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 wxDateSpan
* resultptr
;
23929 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23938 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "n", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 arg2
= (int)SWIG_As_int(obj1
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= wxDateSpan___mul__(arg1
,arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 wxDateSpan
* resultptr
;
23963 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23972 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "n", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23986 arg2
= (int)SWIG_As_int(obj1
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= wxDateSpan___rmul__(arg1
,arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 wxDateSpan
* resultptr
;
23997 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24006 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24009 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "other", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24038 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24041 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self",(char *) "other", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24070 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24073 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24075 return Py_BuildValue((char *)"");
24077 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24080 char *kwnames
[] = {
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (long)wxGetLocalTime();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= SWIG_From_long((long)result
);
24099 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24102 char *kwnames
[] = {
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (long)wxGetUTCTime();
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= SWIG_From_long((long)result
);
24121 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24124 char *kwnames
[] = {
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= (long)wxGetCurrentTime();
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_From_long((long)result
);
24143 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24146 char *kwnames
[] = {
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= wxGetLocalTimeMillis();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24159 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24160 hi
= PyLong_FromLong( (&result
)->GetHi() );
24161 lo
= PyLong_FromLong( (&result
)->GetLo() );
24162 shifter
= PyLong_FromLong(32);
24163 shifted
= PyNumber_Lshift(hi
, shifter
);
24164 resultobj
= PyNumber_Or(shifted
, lo
);
24167 Py_DECREF(shifter
);
24168 Py_DECREF(shifted
);
24176 static int _wrap_DefaultDateTime_set(PyObject
*) {
24177 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24182 static PyObject
*_wrap_DefaultDateTime_get() {
24185 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24190 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24193 wxDataFormat
*result
;
24194 PyObject
* obj0
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "type", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24200 arg1
= (int)SWIG_As_int(obj0
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24216 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxString
*arg1
= 0 ;
24219 wxDataFormat
*result
;
24220 bool temp1
= False
;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "format", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24228 arg1
= wxString_in_helper(obj0
);
24229 if (arg1
== NULL
) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24254 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 Py_INCREF(Py_None
); resultobj
= Py_None
;
24279 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24280 PyObject
*resultobj
;
24281 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24287 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 arg2
= (int)SWIG_As_int(obj1
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24308 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24309 PyObject
*resultobj
;
24310 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24316 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 arg2
= (int)SWIG_As_int(obj1
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24337 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24338 PyObject
*resultobj
;
24339 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24340 wxDataFormat
*arg2
= 0 ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24345 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24351 if (arg2
== NULL
) {
24352 PyErr_SetString(PyExc_TypeError
,"null reference");
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24371 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24376 argc
= PyObject_Length(args
);
24377 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24378 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24384 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24394 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24402 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24410 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24418 _v
= SWIG_Check_int(argv
[1]);
24420 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24425 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24430 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24431 PyObject
*resultobj
;
24432 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24433 wxDataFormat
*arg2
= 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24438 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24444 if (arg2
== NULL
) {
24445 PyErr_SetString(PyExc_TypeError
,"null reference");
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24464 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24469 argc
= PyObject_Length(args
);
24470 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24471 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24477 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24487 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24495 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24503 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24511 _v
= SWIG_Check_int(argv
[1]);
24513 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24518 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24523 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self",(char *) "format", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 arg2
= (int)SWIG_As_int(obj1
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 (arg1
)->SetType((wxDataFormatId
)arg2
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 Py_INCREF(Py_None
); resultobj
= Py_None
;
24552 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_From_int((int)result
);
24578 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= ((wxDataFormat
const *)arg1
)->GetId();
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24610 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24613 wxString
*arg2
= 0 ;
24614 bool temp2
= False
;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "format", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 arg2
= wxString_in_helper(obj1
);
24626 if (arg2
== NULL
) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 (arg1
)->SetId((wxString
const &)*arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 Py_INCREF(Py_None
); resultobj
= Py_None
;
24651 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24654 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24656 return Py_BuildValue((char *)"");
24658 static int _wrap_FormatInvalid_set(PyObject
*) {
24659 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24664 static PyObject
*_wrap_FormatInvalid_get() {
24667 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24672 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 Py_INCREF(Py_None
); resultobj
= Py_None
;
24697 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24700 int arg2
= (int) wxDataObject::Get
;
24701 SwigValueWrapper
< wxDataFormat
> result
;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "dir", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24712 arg2
= (int)SWIG_As_int(obj1
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 wxDataFormat
* resultptr
;
24724 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24733 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24736 int arg2
= (int) wxDataObject::Get
;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "dir", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 arg2
= (int)SWIG_As_int(obj1
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24765 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24768 wxDataFormat
*arg2
= 0 ;
24769 int arg3
= (int) wxDataObject::Get
;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "format",(char *) "dir", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24784 if (arg2
== NULL
) {
24785 PyErr_SetString(PyExc_TypeError
,"null reference");
24789 arg3
= (int)SWIG_As_int(obj2
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24808 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24810 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24811 wxDataFormat
*arg2
= 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self",(char *) "format", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24825 if (arg2
== NULL
) {
24826 PyErr_SetString(PyExc_TypeError
,"null reference");
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24843 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24846 int arg2
= (int) wxDataObject::Get
;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self",(char *) "dir", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 arg2
= (int)SWIG_As_int(obj1
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= result
;
24875 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24878 wxDataFormat
*arg2
= 0 ;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self",(char *) "format", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24892 if (arg2
== NULL
) {
24893 PyErr_SetString(PyExc_TypeError
,"null reference");
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
;
24910 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24913 wxDataFormat
*arg2
= 0 ;
24914 PyObject
*arg3
= (PyObject
*) 0 ;
24916 PyObject
* obj0
= 0 ;
24917 PyObject
* obj1
= 0 ;
24918 PyObject
* obj2
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "format",(char *) "data", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24929 if (arg2
== NULL
) {
24930 PyErr_SetString(PyExc_TypeError
,"null reference");
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24950 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
24952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24953 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24955 return Py_BuildValue((char *)"");
24957 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24960 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24961 wxDataObjectSimple
*result
;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "format", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24972 if (arg1
== NULL
) {
24973 PyErr_SetString(PyExc_TypeError
,"null reference");
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24991 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24994 wxDataFormat
*result
;
24995 PyObject
* obj0
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "self", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25007 result
= (wxDataFormat
*) &_result_ref
;
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25020 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25023 wxDataFormat
*arg2
= 0 ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self",(char *) "format", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25036 if (arg2
== NULL
) {
25037 PyErr_SetString(PyExc_TypeError
,"null reference");
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 Py_INCREF(Py_None
); resultobj
= Py_None
;
25054 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25080 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25084 PyObject
* obj0
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= result
;
25106 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25109 PyObject
*arg2
= (PyObject
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "data", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25137 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25140 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25142 return Py_BuildValue((char *)"");
25144 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25146 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25147 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25148 wxPyDataObjectSimple
*result
;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "format", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25159 if (arg1
== NULL
) {
25160 PyErr_SetString(PyExc_TypeError
,"null reference");
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25178 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
;
25180 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25181 PyObject
*arg2
= (PyObject
*) 0 ;
25182 PyObject
*arg3
= (PyObject
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 PyObject
* obj2
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "self",(char *) "_class", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 Py_INCREF(Py_None
); resultobj
= Py_None
;
25209 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25212 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25214 return Py_BuildValue((char *)"");
25216 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxDataObjectComposite
*result
;
25219 char *kwnames
[] = {
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25238 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25241 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25242 bool arg3
= (bool) False
;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 PyObject
* obj2
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25254 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25256 arg3
= (bool)SWIG_As_bool(obj2
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 (arg1
)->Add(arg2
,arg3
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 Py_INCREF(Py_None
); resultobj
= Py_None
;
25273 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25276 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25278 return Py_BuildValue((char *)"");
25280 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25283 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25284 wxTextDataObject
*result
;
25285 bool temp1
= False
;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "text", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25294 arg1
= wxString_in_helper(obj0
);
25295 if (arg1
== NULL
) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25321 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (size_t)(arg1
)->GetTextLength();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25347 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 result
= (arg1
)->GetText();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25379 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25382 wxString
*arg2
= 0 ;
25383 bool temp2
= False
;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "text", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 arg2
= wxString_in_helper(obj1
);
25395 if (arg2
== NULL
) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->SetText((wxString
const &)*arg2
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25423 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25425 return Py_BuildValue((char *)"");
25427 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25430 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25431 wxPyTextDataObject
*result
;
25432 bool temp1
= False
;
25433 PyObject
* obj0
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "text", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25441 arg1
= wxString_in_helper(obj0
);
25442 if (arg1
== NULL
) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25468 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25471 PyObject
*arg2
= (PyObject
*) 0 ;
25472 PyObject
*arg3
= (PyObject
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 PyObject
* obj2
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "self",(char *) "_class", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 Py_INCREF(Py_None
); resultobj
= Py_None
;
25499 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25502 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25504 return Py_BuildValue((char *)"");
25506 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25509 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25510 wxBitmapDataObject
*result
;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "bitmap", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25521 if (arg1
== NULL
) {
25522 PyErr_SetString(PyExc_TypeError
,"null reference");
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25540 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25560 wxBitmap
* resultptr
;
25561 resultptr
= new wxBitmap((wxBitmap
&) result
);
25562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25570 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25573 wxBitmap
*arg2
= 0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "bitmap", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25586 if (arg2
== NULL
) {
25587 PyErr_SetString(PyExc_TypeError
,"null reference");
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25607 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25609 return Py_BuildValue((char *)"");
25611 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25613 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25614 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25615 wxPyBitmapDataObject
*result
;
25616 PyObject
* obj0
= 0 ;
25617 char *kwnames
[] = {
25618 (char *) "bitmap", NULL
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25626 if (arg1
== NULL
) {
25627 PyErr_SetString(PyExc_TypeError
,"null reference");
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25645 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25648 PyObject
*arg2
= (PyObject
*) 0 ;
25649 PyObject
*arg3
= (PyObject
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 PyObject
* obj2
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "self",(char *) "self",(char *) "_class", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 Py_INCREF(Py_None
); resultobj
= Py_None
;
25676 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25679 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25681 return Py_BuildValue((char *)"");
25683 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxFileDataObject
*result
;
25686 char *kwnames
[] = {
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= (wxFileDataObject
*)new wxFileDataObject();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25705 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25708 wxArrayString
*result
;
25709 PyObject
* obj0
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25721 result
= (wxArrayString
*) &_result_ref
;
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= wxArrayString2PyList_helper(*result
);
25736 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25739 wxString
*arg2
= 0 ;
25740 bool temp2
= False
;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "filename", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 arg2
= wxString_in_helper(obj1
);
25752 if (arg2
== NULL
) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 (arg1
)->AddFile((wxString
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 Py_INCREF(Py_None
); resultobj
= Py_None
;
25777 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25780 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25782 return Py_BuildValue((char *)"");
25784 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25787 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25788 wxCustomDataObject
*result
;
25789 PyObject
* obj0
= 0 ;
25790 char *kwnames
[] = {
25791 (char *) "format", NULL
25794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25799 if (arg1
== NULL
) {
25800 PyErr_SetString(PyExc_TypeError
,"null reference");
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25818 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
;
25820 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25821 PyObject
*arg2
= (PyObject
*) 0 ;
25823 PyObject
* obj0
= 0 ;
25824 PyObject
* obj1
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self",(char *) "data", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25849 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
;
25851 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25853 PyObject
* obj0
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (size_t)(arg1
)->GetSize();
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25875 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25879 PyObject
* obj0
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= result
;
25901 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25904 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25906 return Py_BuildValue((char *)"");
25908 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxURLDataObject
*result
;
25911 char *kwnames
[] = {
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 result
= (wxURLDataObject
*)new wxURLDataObject();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25930 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25934 PyObject
* obj0
= 0 ;
25935 char *kwnames
[] = {
25936 (char *) "self", NULL
25939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (arg1
)->GetURL();
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25962 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25965 wxString
*arg2
= 0 ;
25966 bool temp2
= False
;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self",(char *) "url", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25977 arg2
= wxString_in_helper(obj1
);
25978 if (arg2
== NULL
) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->SetURL((wxString
const &)*arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
26003 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26006 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26008 return Py_BuildValue((char *)"");
26010 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxMetafileDataObject
*result
;
26013 char *kwnames
[] = {
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26032 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26035 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26037 return Py_BuildValue((char *)"");
26039 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
;
26043 PyObject
* obj0
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "res", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26049 arg1
= (int)SWIG_As_int(obj0
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26067 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxWindow
*arg1
= (wxWindow
*) 0 ;
26070 wxIcon
const &arg2_defvalue
= wxNullIcon
;
26071 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
26072 wxIcon
const &arg3_defvalue
= wxNullIcon
;
26073 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
26074 wxIcon
const &arg4_defvalue
= wxNullIcon
;
26075 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
26076 wxPyDropSource
*result
;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 PyObject
* obj2
= 0 ;
26080 PyObject
* obj3
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26092 if (arg2
== NULL
) {
26093 PyErr_SetString(PyExc_TypeError
,"null reference");
26098 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26101 if (arg3
== NULL
) {
26102 PyErr_SetString(PyExc_TypeError
,"null reference");
26107 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
26108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26110 if (arg4
== NULL
) {
26111 PyErr_SetString(PyExc_TypeError
,"null reference");
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26129 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
;
26131 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26132 PyObject
*arg2
= (PyObject
*) 0 ;
26133 PyObject
*arg3
= (PyObject
*) 0 ;
26135 PyObject
* obj0
= 0 ;
26136 PyObject
* obj1
= 0 ;
26137 PyObject
* obj2
= 0 ;
26138 PyObject
* obj3
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 arg4
= (int)SWIG_As_int(obj3
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 Py_INCREF(Py_None
); resultobj
= Py_None
;
26164 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 Py_INCREF(Py_None
); resultobj
= Py_None
;
26189 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26192 wxDataObject
*arg2
= 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "data", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26205 if (arg2
== NULL
) {
26206 PyErr_SetString(PyExc_TypeError
,"null reference");
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->SetData(*arg2
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 Py_INCREF(Py_None
); resultobj
= Py_None
;
26223 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26226 wxDataObject
*result
;
26227 PyObject
* obj0
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26249 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26253 wxCursor
*arg3
= 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 PyObject
* obj2
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "res",(char *) "cursor", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26264 arg2
= (int)SWIG_As_int(obj1
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26266 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26269 if (arg3
== NULL
) {
26270 PyErr_SetString(PyExc_TypeError
,"null reference");
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 Py_INCREF(Py_None
); resultobj
= Py_None
;
26287 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26289 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26290 int arg2
= (int) wxDrag_CopyOnly
;
26292 PyObject
* obj0
= 0 ;
26293 PyObject
* obj1
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self",(char *) "flags", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26302 arg2
= (int)SWIG_As_int(obj1
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 result
= (int)(arg1
)->DoDragDrop(arg2
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_From_int((int)result
);
26319 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26324 PyObject
* obj0
= 0 ;
26325 PyObject
* obj1
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self",(char *) "effect", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 arg2
= (int)SWIG_As_int(obj1
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26351 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26354 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26356 return Py_BuildValue((char *)"");
26358 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26361 wxPyDropTarget
*result
;
26362 PyObject
* obj0
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "dataObject", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26370 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26386 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26389 PyObject
*arg2
= (PyObject
*) 0 ;
26390 PyObject
*arg3
= (PyObject
*) 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 PyObject
* obj2
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self",(char *) "self",(char *) "_class", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 Py_INCREF(Py_None
); resultobj
= Py_None
;
26417 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 Py_INCREF(Py_None
); resultobj
= Py_None
;
26442 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
;
26444 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26445 wxDataObject
*result
;
26446 PyObject
* obj0
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26468 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26471 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "dataObject", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26482 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 (arg1
)->SetDataObject(arg2
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 Py_INCREF(Py_None
); resultobj
= Py_None
;
26497 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
;
26499 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 PyObject
* obj3
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26515 arg2
= (int)SWIG_As_int(obj1
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26517 arg3
= (int)SWIG_As_int(obj2
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26519 arg4
= (int)SWIG_As_int(obj3
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_From_int((int)result
);
26535 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 PyObject
* obj2
= 0 ;
26545 PyObject
* obj3
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26553 arg2
= (int)SWIG_As_int(obj1
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26555 arg3
= (int)SWIG_As_int(obj2
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26557 arg4
= (int)SWIG_As_int(obj3
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_From_int((int)result
);
26573 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->base_OnLeave();
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 Py_INCREF(Py_None
); resultobj
= Py_None
;
26598 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
;
26600 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 PyObject
* obj2
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "x",(char *) "y", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26614 arg2
= (int)SWIG_As_int(obj1
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26616 arg3
= (int)SWIG_As_int(obj2
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26634 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26638 PyObject
* obj0
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 result
= (bool)(arg1
)->GetData();
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26662 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26665 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26667 return Py_BuildValue((char *)"");
26669 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxPyTextDropTarget
*result
;
26672 char *kwnames
[] = {
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26691 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26694 PyObject
*arg2
= (PyObject
*) 0 ;
26695 PyObject
*arg3
= (PyObject
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 PyObject
* obj2
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "self",(char *) "_class", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 Py_INCREF(Py_None
); resultobj
= Py_None
;
26722 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 PyObject
* obj2
= 0 ;
26732 PyObject
* obj3
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26740 arg2
= (int)SWIG_As_int(obj1
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26742 arg3
= (int)SWIG_As_int(obj2
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26744 arg4
= (int)SWIG_As_int(obj3
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_From_int((int)result
);
26760 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 PyObject
* obj2
= 0 ;
26770 PyObject
* obj3
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26778 arg2
= (int)SWIG_As_int(obj1
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26780 arg3
= (int)SWIG_As_int(obj2
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26782 arg4
= (int)SWIG_As_int(obj3
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 resultobj
= SWIG_From_int((int)result
);
26798 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 (arg1
)->base_OnLeave();
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 Py_INCREF(Py_None
); resultobj
= Py_None
;
26823 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self",(char *) "x",(char *) "y", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
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
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26859 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
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_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_From_int((int)result
);
26897 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26900 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26902 return Py_BuildValue((char *)"");
26904 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
;
26906 wxPyFileDropTarget
*result
;
26907 char *kwnames
[] = {
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26926 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26929 PyObject
*arg2
= (PyObject
*) 0 ;
26930 PyObject
*arg3
= (PyObject
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 PyObject
* obj1
= 0 ;
26933 PyObject
* obj2
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self",(char *) "self",(char *) "_class", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 Py_INCREF(Py_None
); resultobj
= Py_None
;
26957 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 PyObject
* obj2
= 0 ;
26967 PyObject
* obj3
= 0 ;
26968 char *kwnames
[] = {
26969 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26975 arg2
= (int)SWIG_As_int(obj1
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26977 arg3
= (int)SWIG_As_int(obj2
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26979 arg4
= (int)SWIG_As_int(obj3
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_From_int((int)result
);
26995 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
;
26997 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 PyObject
* obj2
= 0 ;
27005 PyObject
* obj3
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27013 arg2
= (int)SWIG_As_int(obj1
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27015 arg3
= (int)SWIG_As_int(obj2
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27017 arg4
= (int)SWIG_As_int(obj3
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= SWIG_From_int((int)result
);
27033 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
;
27035 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27036 PyObject
* obj0
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 (arg1
)->base_OnLeave();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 Py_INCREF(Py_None
); resultobj
= Py_None
;
27058 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27064 PyObject
* obj0
= 0 ;
27065 PyObject
* obj1
= 0 ;
27066 PyObject
* obj2
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "x",(char *) "y", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 arg2
= (int)SWIG_As_int(obj1
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27076 arg3
= (int)SWIG_As_int(obj2
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27094 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 PyObject
* obj2
= 0 ;
27104 PyObject
* obj3
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27112 arg2
= (int)SWIG_As_int(obj1
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27114 arg3
= (int)SWIG_As_int(obj2
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27116 arg4
= (int)SWIG_As_int(obj3
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_From_int((int)result
);
27132 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27135 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27137 return Py_BuildValue((char *)"");
27139 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxClipboard
*result
;
27142 char *kwnames
[] = {
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (wxClipboard
*)new wxClipboard();
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27161 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 Py_INCREF(Py_None
); resultobj
= Py_None
;
27186 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (bool)(arg1
)->Open();
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27217 PyObject
* obj0
= 0 ;
27218 char *kwnames
[] = {
27219 (char *) "self", NULL
27222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 Py_INCREF(Py_None
); resultobj
= Py_None
;
27239 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27243 PyObject
* obj0
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27267 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27270 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 char *kwnames
[] = {
27275 (char *) "self",(char *) "data", NULL
27278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27282 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 result
= (bool)(arg1
)->AddData(arg2
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27299 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
;
27301 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27302 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27304 PyObject
* obj0
= 0 ;
27305 PyObject
* obj1
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self",(char *) "data", NULL
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27314 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (bool)(arg1
)->SetData(arg2
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27334 wxDataFormat
*arg2
= 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "format", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27348 if (arg2
== NULL
) {
27349 PyErr_SetString(PyExc_TypeError
,"null reference");
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27368 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27371 wxDataObject
*arg2
= 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self",(char *) "data", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27385 if (arg2
== NULL
) {
27386 PyErr_SetString(PyExc_TypeError
,"null reference");
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (bool)(arg1
)->GetData(*arg2
);
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27405 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
;
27407 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27408 PyObject
* obj0
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 Py_INCREF(Py_None
); resultobj
= Py_None
;
27430 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (bool)(arg1
)->Flush();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27458 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27461 bool arg2
= (bool) True
;
27462 PyObject
* obj0
= 0 ;
27463 PyObject
* obj1
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "primary", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 arg2
= (bool)SWIG_As_bool(obj1
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 (arg1
)->UsePrimarySelection(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxClipboard
*result
;
27492 char *kwnames
[] = {
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (wxClipboard
*)wxClipboard::Get();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27511 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27514 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27516 return Py_BuildValue((char *)"");
27518 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27521 wxClipboardLocker
*result
;
27522 PyObject
* obj0
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "clipboard", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27546 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 Py_INCREF(Py_None
); resultobj
= Py_None
;
27571 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27599 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27602 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27604 return Py_BuildValue((char *)"");
27606 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 int arg1
= (int) 0 ;
27609 int arg2
= (int) 0 ;
27610 int arg3
= (int) 0 ;
27611 int arg4
= (int) 0 ;
27612 wxVideoMode
*result
;
27613 PyObject
* obj0
= 0 ;
27614 PyObject
* obj1
= 0 ;
27615 PyObject
* obj2
= 0 ;
27616 PyObject
* obj3
= 0 ;
27617 char *kwnames
[] = {
27618 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27623 arg1
= (int)SWIG_As_int(obj0
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 arg2
= (int)SWIG_As_int(obj1
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27631 arg3
= (int)SWIG_As_int(obj2
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 arg4
= (int)SWIG_As_int(obj3
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27652 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
;
27654 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27680 wxVideoMode
*arg2
= 0 ;
27682 PyObject
* obj0
= 0 ;
27683 PyObject
* obj1
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "self",(char *) "other", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27694 if (arg2
== NULL
) {
27695 PyErr_SetString(PyExc_TypeError
,"null reference");
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27714 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
;
27716 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27718 PyObject
* obj0
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= SWIG_From_int((int)result
);
27740 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 char *kwnames
[] = {
27746 (char *) "self", NULL
27749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_From_int((int)result
);
27766 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27770 PyObject
* obj0
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_From_int((int)result
);
27792 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
;
27794 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27820 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27823 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self",(char *) "other", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27852 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
;
27854 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27855 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 PyObject
* obj1
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self",(char *) "other", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27884 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self",(char *) "w", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27897 arg2
= (int)SWIG_As_int(obj1
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27899 if (arg1
) (arg1
)->w
= arg2
;
27901 Py_INCREF(Py_None
); resultobj
= Py_None
;
27908 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27920 result
= (int) ((arg1
)->w
);
27922 resultobj
= SWIG_From_int((int)result
);
27929 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self",(char *) "h", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27942 arg2
= (int)SWIG_As_int(obj1
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27944 if (arg1
) (arg1
)->h
= arg2
;
27946 Py_INCREF(Py_None
); resultobj
= Py_None
;
27953 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
;
27955 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27965 result
= (int) ((arg1
)->h
);
27967 resultobj
= SWIG_From_int((int)result
);
27974 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27978 PyObject
* obj0
= 0 ;
27979 PyObject
* obj1
= 0 ;
27980 char *kwnames
[] = {
27981 (char *) "self",(char *) "bpp", NULL
27984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27987 arg2
= (int)SWIG_As_int(obj1
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27989 if (arg1
) (arg1
)->bpp
= arg2
;
27991 Py_INCREF(Py_None
); resultobj
= Py_None
;
27998 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28000 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28010 result
= (int) ((arg1
)->bpp
);
28012 resultobj
= SWIG_From_int((int)result
);
28019 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "self",(char *) "refresh", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28032 arg2
= (int)SWIG_As_int(obj1
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28034 if (arg1
) (arg1
)->refresh
= arg2
;
28036 Py_INCREF(Py_None
); resultobj
= Py_None
;
28043 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
;
28045 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 result
= (int) ((arg1
)->refresh
);
28057 resultobj
= SWIG_From_int((int)result
);
28064 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28067 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28069 return Py_BuildValue((char *)"");
28071 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28072 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28077 static PyObject
*_wrap_DefaultVideoMode_get() {
28080 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28085 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 size_t arg1
= (size_t) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "index", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28096 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (wxDisplay
*)new wxDisplay(arg1
);
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28113 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
;
28115 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28131 Py_INCREF(Py_None
); resultobj
= Py_None
;
28138 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
;
28141 char *kwnames
[] = {
28145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (size_t)wxDisplay::GetCount();
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28160 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxPoint
*arg1
= 0 ;
28165 PyObject
* obj0
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "pt", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28173 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_From_int((int)result
);
28189 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
;
28191 wxWindow
*arg1
= (wxWindow
*) 0 ;
28193 PyObject
* obj0
= 0 ;
28194 char *kwnames
[] = {
28195 (char *) "window", NULL
28198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (int)Display_GetFromWindow(arg1
);
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_From_int((int)result
);
28215 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28243 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28263 wxRect
* resultptr
;
28264 resultptr
= new wxRect((wxRect
&) result
);
28265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28273 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
;
28275 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28277 PyObject
* obj0
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= ((wxDisplay
const *)arg1
)->GetName();
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28305 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28307 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "self", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28333 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28336 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28337 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28339 PyObject
* obj0
= 0 ;
28340 PyObject
* obj1
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "self",(char *) "mode", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28352 if (arg2
== NULL
) {
28353 PyErr_SetString(PyExc_TypeError
,"null reference");
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= result
;
28371 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28374 wxVideoMode result
;
28375 PyObject
* obj0
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self", NULL
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28391 wxVideoMode
* resultptr
;
28392 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28401 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28404 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28405 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "self",(char *) "mode", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28420 if (arg2
== NULL
) {
28421 PyErr_SetString(PyExc_TypeError
,"null reference");
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28441 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->ResetMode();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 Py_INCREF(Py_None
); resultobj
= Py_None
;
28466 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28469 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28471 return Py_BuildValue((char *)"");
28473 static PyMethodDef SwigMethods
[] = {
28474 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28481 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28487 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28488 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28502 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28503 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28505 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28506 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28509 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28511 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28512 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28513 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28514 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28516 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28517 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28519 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28520 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28521 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28522 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28523 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28524 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28525 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28526 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28527 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28537 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28538 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28543 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28545 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28549 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
28552 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28553 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28554 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
28560 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28562 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
28576 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28578 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28579 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
28581 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28582 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28583 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
28584 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28585 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28586 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
28587 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28588 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
28593 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28598 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28602 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28603 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28605 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
28607 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28609 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28610 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28611 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28612 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
28613 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28614 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28615 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28616 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28617 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
28619 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28620 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
28622 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28623 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28624 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28625 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28626 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28627 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28628 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28629 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28630 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28631 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28632 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28633 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28634 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28635 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
28636 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
28639 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
28640 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28642 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
28643 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28644 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28645 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28646 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28647 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28648 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28649 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28650 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28651 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28652 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28653 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28654 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28657 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28659 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28661 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28662 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28663 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28664 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28667 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28668 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28669 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
28670 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
28672 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28673 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
28674 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
28676 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28677 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28678 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28679 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28680 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28681 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28682 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
28683 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
28689 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28690 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28691 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28693 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28694 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28695 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28696 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28697 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28698 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28699 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28700 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28701 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
28702 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28703 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28704 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28705 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28706 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
28707 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28708 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28709 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
28710 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28711 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28712 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28713 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28714 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28715 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28716 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28717 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28718 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28719 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28720 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28721 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28722 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28723 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28724 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28725 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28726 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
28727 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28728 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28729 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28730 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28731 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28732 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28733 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28734 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
28735 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28736 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28737 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28738 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28739 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28740 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28741 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28742 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28743 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28744 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28745 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28746 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28747 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28748 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28749 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28750 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28751 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28752 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28753 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28754 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28755 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28756 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28757 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28758 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28759 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28760 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28761 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28762 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28763 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28764 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28765 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28766 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28767 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28768 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28769 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28770 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28771 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28772 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28773 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28774 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28775 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28776 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28777 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28778 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28779 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28780 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
28781 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28782 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28783 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28784 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28785 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28786 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28787 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28788 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28789 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28790 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28791 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28792 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28793 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28794 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28795 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28796 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28797 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28798 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28799 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28800 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28801 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28802 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28803 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28804 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28805 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28806 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28807 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28808 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
28809 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28810 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28811 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28812 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28813 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28814 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28815 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28816 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28817 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28818 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
28819 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28820 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28821 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28822 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28823 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28824 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28825 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28826 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28827 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28828 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28829 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28830 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28831 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28832 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28833 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28834 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
28835 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28836 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28837 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28838 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28839 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28840 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28841 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28842 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28843 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28844 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28845 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28846 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28847 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28848 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28849 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28850 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
28851 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28852 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28853 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28854 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28855 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28856 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28857 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28858 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28859 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28860 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28861 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28862 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28863 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28864 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
28865 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28866 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28867 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28868 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28869 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28870 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28871 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28872 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28873 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
28874 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28875 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28876 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28877 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28878 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28879 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28880 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28881 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28882 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28883 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28884 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28885 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28886 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28887 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28888 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28889 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28890 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28891 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28892 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28893 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28894 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28895 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28896 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28897 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28898 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28899 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28900 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28901 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28902 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28903 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28904 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28905 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28906 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28907 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28908 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28909 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28910 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28911 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28912 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28913 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28914 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28915 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28916 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
28917 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28918 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28919 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
28920 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28921 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28922 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
28923 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28924 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28925 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28926 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
28927 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28928 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28929 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28930 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28931 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28932 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28933 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28934 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28935 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28936 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28937 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28938 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28939 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28940 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28941 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28942 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28943 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28944 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28945 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28946 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28947 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28948 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28949 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28950 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28951 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28952 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28953 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28954 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28955 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28956 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28957 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28958 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28959 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28960 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28961 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28962 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28963 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28964 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28965 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28966 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28967 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28968 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28969 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28970 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28971 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28972 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28973 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28974 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28975 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28976 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28977 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28978 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28979 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28982 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28984 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28985 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28986 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28987 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28988 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28996 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28997 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28998 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29002 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29004 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29005 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29006 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29008 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29009 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29010 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29011 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29012 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29013 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29014 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29019 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29020 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29021 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29022 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29023 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29024 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29025 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29026 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29027 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29028 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29029 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29031 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29033 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29034 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29036 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29037 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29038 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29039 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29040 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29041 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29042 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29043 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29044 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29045 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29053 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29054 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29055 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29056 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29057 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29058 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29059 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29065 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29074 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29075 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29078 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29079 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29081 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29082 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29084 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29090 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29091 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29092 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29102 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29118 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29122 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29126 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29127 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29132 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29141 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29148 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29151 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29154 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29159 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29162 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29166 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29169 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29173 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29178 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29182 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29184 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29194 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29205 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29213 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29221 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29235 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29239 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29257 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29271 { NULL
, NULL
, 0, NULL
}
29275 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29277 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29280 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29281 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29283 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29284 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29286 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29287 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29289 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29290 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29292 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29293 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29295 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29296 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29298 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29299 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29301 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29302 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29304 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29305 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29307 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29310 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29311 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29313 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29314 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29316 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29319 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29320 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29322 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29323 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29325 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29326 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29328 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29329 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29331 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29332 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29334 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29335 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29337 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29338 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29340 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29341 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29343 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29344 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29346 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29347 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29349 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29350 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29352 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29353 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29355 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29356 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29358 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29359 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29361 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29362 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29364 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29367 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29368 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29370 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29371 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29373 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29374 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29376 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29377 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29379 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29380 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29382 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29383 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29385 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29386 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29388 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29389 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29391 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29392 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29394 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29395 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29397 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29398 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29400 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29401 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29403 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29404 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29406 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29407 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29409 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29410 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29412 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29413 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29415 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29416 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29418 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29419 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29421 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29422 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29424 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29425 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29427 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29428 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29430 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29431 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29433 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29434 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29436 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29437 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29439 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29440 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29442 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29443 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29445 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29446 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29448 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29449 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29451 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29452 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29454 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29455 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29457 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29458 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29460 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29461 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29463 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29464 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29466 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29467 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29469 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29472 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29473 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29475 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29476 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29478 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29479 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29481 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29482 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29484 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29485 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29487 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29488 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29490 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29491 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29493 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29494 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29496 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29497 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29499 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29500 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29502 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29503 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29505 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29508 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29509 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29511 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29512 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29514 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29515 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29517 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29518 return (void *)((wxObject
*) ((wxSizer
*) x
));
29520 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29521 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29523 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29524 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29526 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29529 static void *_p_wxEventTo_p_wxObject(void *x
) {
29530 return (void *)((wxObject
*) ((wxEvent
*) x
));
29532 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29533 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29535 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29536 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29538 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29539 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29541 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29542 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29544 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29545 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29547 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29550 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29551 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29553 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29554 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29556 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29557 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29559 static void *_p_wxControlTo_p_wxObject(void *x
) {
29560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29562 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29563 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29565 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29566 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29568 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29569 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29571 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29572 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29574 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29575 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29577 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29578 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29580 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29583 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29584 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29586 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29587 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29589 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29590 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29592 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29593 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29595 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29598 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29599 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29601 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29602 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29604 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29605 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29607 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29608 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29610 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29611 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29613 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29614 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29616 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29619 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29620 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29622 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29625 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29626 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29628 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29631 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29632 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29634 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29635 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29637 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29638 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29640 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29641 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29643 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29646 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29647 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29649 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29650 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29652 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29653 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29655 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29656 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29658 static void *_p_wxImageTo_p_wxObject(void *x
) {
29659 return (void *)((wxObject
*) ((wxImage
*) x
));
29661 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29662 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29664 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29665 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29667 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29668 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29670 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29673 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29674 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29676 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29677 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29679 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29682 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29683 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29685 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29688 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29689 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29691 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29692 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29694 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29695 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29697 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29698 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29700 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29701 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29703 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29704 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29706 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29707 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29709 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29710 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29712 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29713 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29715 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29718 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29719 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29721 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29722 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29724 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29725 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29727 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29730 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29731 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29733 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29736 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29739 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29740 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29742 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29743 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29745 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29746 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29748 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29749 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29751 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29752 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29754 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29755 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29757 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29758 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29760 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29761 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29763 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29764 return (void *)((wxWindow
*) ((wxControl
*) x
));
29766 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29767 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29769 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29770 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29772 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29773 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29775 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29776 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29778 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}};
29779 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}};
29780 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}};
29781 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}};
29782 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}};
29783 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}};
29784 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}};
29785 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}};
29786 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}};
29787 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}};
29788 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}};
29789 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}};
29790 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}};
29791 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}};
29792 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}};
29793 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}};
29794 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}};
29795 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}};
29796 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}};
29797 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}};
29798 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}};
29799 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}};
29800 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}};
29801 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}};
29802 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}};
29803 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}};
29804 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}};
29805 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}};
29806 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}};
29807 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}};
29808 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}};
29809 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}};
29810 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}};
29811 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}};
29812 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}};
29813 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}};
29814 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}};
29815 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}};
29816 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}};
29817 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}};
29818 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}};
29819 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}};
29820 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}};
29821 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}};
29822 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}};
29823 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}};
29824 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}};
29825 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}};
29826 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}};
29827 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}};
29828 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}};
29829 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}};
29830 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}};
29831 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}};
29832 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}};
29833 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}};
29834 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}};
29835 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}};
29836 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}};
29837 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}};
29838 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}};
29839 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}};
29840 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}};
29841 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}};
29842 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}};
29843 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}};
29844 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}};
29845 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}};
29846 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}};
29847 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}};
29848 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}};
29849 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}};
29850 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}};
29851 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}};
29852 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}};
29853 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}};
29854 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}};
29855 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}};
29856 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}};
29857 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}};
29858 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}};
29859 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}};
29860 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}};
29861 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}};
29862 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}};
29864 static swig_type_info
*swig_types_initial
[] = {
29865 _swigt__p_wxLogChain
,
29866 _swigt__p_wxMutexGuiLocker
,
29867 _swigt__p_wxFileHistory
,
29869 _swigt__p_wxDateTime__TimeZone
,
29872 _swigt__p_wxConfigBase
,
29873 _swigt__p_wxDisplay
,
29874 _swigt__p_wxFileType
,
29875 _swigt__p_wxLogGui
,
29877 _swigt__p_wxDataFormat
,
29878 _swigt__p_wxTimerEvent
,
29882 _swigt__p_wxClipboard
,
29883 _swigt__p_wxStopWatch
,
29885 _swigt__p_wxClipboardLocker
,
29887 _swigt__p_wxLogStderr
,
29888 _swigt__p_wxLogTextCtrl
,
29889 _swigt__p_wxTextCtrl
,
29890 _swigt__p_wxBusyCursor
,
29891 _swigt__p_wxPyBitmapDataObject
,
29892 _swigt__p_wxPyTextDataObject
,
29893 _swigt__p_wxBitmapDataObject
,
29894 _swigt__p_wxTextDataObject
,
29895 _swigt__p_wxDataObject
,
29896 _swigt__p_wxFileDataObject
,
29897 _swigt__p_wxCustomDataObject
,
29898 _swigt__p_wxURLDataObject
,
29899 _swigt__p_wxMetafileDataObject
,
29901 _swigt__p_wxTimerRunner
,
29902 _swigt__p_wxLogWindow
,
29903 _swigt__p_wxTimeSpan
,
29904 _swigt__p_wxArrayString
,
29905 _swigt__p_wxWindowDisabler
,
29906 _swigt__p_wxToolTip
,
29907 _swigt__p_wxDataObjectComposite
,
29908 _swigt__p_wxFileConfig
,
29909 _swigt__p_wxSystemSettings
,
29910 _swigt__p_wxVideoMode
,
29911 _swigt__p_wxPyDataObjectSimple
,
29912 _swigt__p_wxDataObjectSimple
,
29913 _swigt__p_wxEvtHandler
,
29916 _swigt__p_wxSingleInstanceChecker
,
29917 _swigt__p_wxFileTypeInfo
,
29920 _swigt__p_wxMimeTypesManager
,
29921 _swigt__p_wxPyArtProvider
,
29922 _swigt__p_wxPyTipProvider
,
29923 _swigt__p_wxTipProvider
,
29924 _swigt__p_wxJoystick
,
29925 _swigt__p_wxSystemOptions
,
29927 _swigt__p_wxJoystickEvent
,
29928 _swigt__p_wxCursor
,
29929 _swigt__p_wxObject
,
29930 _swigt__p_wxOutputStream
,
29931 _swigt__p_wxDateTime
,
29932 _swigt__p_wxPyDropSource
,
29933 _swigt__p_wxWindow
,
29934 _swigt__p_wxString
,
29935 _swigt__p_wxPyProcess
,
29936 _swigt__p_wxBitmap
,
29937 _swigt__p_wxConfig
,
29939 _swigt__p_wxBusyInfo
,
29940 _swigt__p_wxPyDropTarget
,
29941 _swigt__p_wxPyTextDropTarget
,
29942 _swigt__p_wxPyFileDropTarget
,
29943 _swigt__p_wxProcessEvent
,
29945 _swigt__p_wxLogNull
,
29946 _swigt__p_wxColour
,
29947 _swigt__p_wxConfigPathChanger
,
29948 _swigt__p_wxPyTimer
,
29949 _swigt__p_wxDateSpan
,
29954 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29956 static swig_const_info swig_const_table
[] = {
29957 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29958 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29959 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29960 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29961 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29962 {0, 0, 0, 0.0, 0, 0}};
29971 SWIGEXPORT(void) SWIG_init(void) {
29972 static PyObject
*SWIG_globals
= 0;
29973 static int typeinit
= 0;
29976 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29977 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29978 d
= PyModule_GetDict(m
);
29981 for (i
= 0; swig_types_initial
[i
]; i
++) {
29982 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29986 SWIG_InstallConstants(d
,swig_const_table
);
29988 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
29989 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
29990 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
29991 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
29992 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
29993 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
29994 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
29995 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
29996 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
29997 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
29998 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
29999 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30000 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30001 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30002 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30003 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30004 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30005 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30006 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30007 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30008 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30009 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30010 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30011 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30012 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30013 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30014 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30015 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30016 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30017 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30018 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30019 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30020 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30021 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30022 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30023 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30024 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30025 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30026 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30027 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30028 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30029 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30030 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30031 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30032 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30033 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30034 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30035 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30036 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30037 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30038 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30039 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30040 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30041 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30042 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30043 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30044 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30045 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30046 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30047 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30048 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30049 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30050 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30051 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30052 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30053 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30054 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30055 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30056 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30057 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30058 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30059 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30060 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30061 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30062 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30063 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30064 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30065 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30066 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30067 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30068 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30069 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30070 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30071 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30072 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30073 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30074 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30075 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30076 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30077 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30078 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30079 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30080 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30081 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30082 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30083 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30084 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30085 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30086 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30087 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30089 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30091 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30092 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30093 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30094 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30095 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30096 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30097 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30098 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30099 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30100 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30101 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30102 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30103 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30104 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30105 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30106 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30107 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30108 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30109 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30110 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30111 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30112 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30113 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30114 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30115 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30116 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30117 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30118 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30119 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30120 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30121 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30122 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30123 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30124 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30125 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30126 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30127 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30128 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30129 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30130 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30131 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30132 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30133 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30134 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30135 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30136 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30137 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30138 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30139 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30140 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30142 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30144 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30145 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30146 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30147 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30148 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30149 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30150 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30151 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30152 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30153 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30154 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30155 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30156 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30157 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30158 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30159 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30160 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30161 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30162 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30163 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30164 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30165 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30166 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30167 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30168 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30169 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30170 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30171 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30172 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30173 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30174 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30175 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30176 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30177 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30178 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30179 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30180 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30181 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30182 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30183 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30184 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30185 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30186 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30187 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30188 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30189 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30190 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30191 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30192 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30193 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30194 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30195 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30196 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30197 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30198 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30199 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30200 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30201 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30202 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30204 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30206 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30207 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30208 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30209 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30210 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30211 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30212 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30213 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30214 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30215 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30216 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30217 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30218 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30219 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30220 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30221 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30222 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30223 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30224 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30225 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30226 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30227 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30228 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30229 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30230 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30231 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30232 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30233 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30234 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30235 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30236 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30237 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30238 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30239 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30240 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30241 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30242 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30243 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30244 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30245 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30246 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30247 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30248 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30249 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30250 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30251 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30252 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30253 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30254 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30255 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30256 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30257 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30258 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30259 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30260 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30261 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30262 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30263 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30264 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30265 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30266 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30267 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30268 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30269 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30270 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30271 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30272 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30273 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30274 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30275 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30276 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30277 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30278 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30279 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30280 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30281 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30282 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30283 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30284 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30285 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30286 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30287 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30288 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30289 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30290 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30291 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30292 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30293 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30294 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30295 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30296 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30297 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30298 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30299 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30300 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30301 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30302 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30303 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30304 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30305 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30306 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30307 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30308 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30309 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30310 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30311 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30312 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30313 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30314 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30315 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30316 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30317 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30318 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30319 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30320 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30321 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30322 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30323 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30324 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30325 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30326 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30327 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30328 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30329 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30330 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30331 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30332 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30333 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30334 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30335 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30336 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30337 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30338 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30339 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30340 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30341 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30342 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30343 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30344 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30345 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30346 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30347 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30348 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30349 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30350 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30351 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30352 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30353 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30354 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30355 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30356 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30357 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30358 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30359 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30360 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30361 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30362 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30363 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30364 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30365 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30366 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30367 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30368 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30369 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30370 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30371 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30372 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30373 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30374 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30375 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30376 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30377 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30378 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30379 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30380 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30381 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30382 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30383 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30384 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30385 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30386 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
30387 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
30388 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
30389 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
30390 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
30391 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
30392 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
30393 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30394 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
30395 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
30396 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
30397 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
30398 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
30399 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
30400 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
30401 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
30402 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
30403 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
30404 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
30405 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
30407 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30408 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30409 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30410 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30412 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);